mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2025-12-06 09:07:21 +01:00
feat[client]: use wlogout instead of custom calls
This commit is contained in:
parent
1a55a41d4d
commit
1c692101b9
2 changed files with 34 additions and 32 deletions
|
|
@ -13746,8 +13746,9 @@ Currently, I am too lazy to explain every option here, but most of it is very se
|
||||||
"${modifier}+Shift+p" = "exec pass-fuzzel --type";
|
"${modifier}+Shift+p" = "exec pass-fuzzel --type";
|
||||||
"${modifier}+Shift+o" = "exec pass-fuzzel --otp --type";
|
"${modifier}+Shift+o" = "exec pass-fuzzel --otp --type";
|
||||||
"${modifier}+Ctrl+p" = "exec 1password --quick-acces";
|
"${modifier}+Ctrl+p" = "exec 1password --quick-acces";
|
||||||
"${modifier}+Escape" = "mode $exit";
|
# "${modifier}+Escape" = "mode $exit";
|
||||||
"${modifier}+Shift+Escape" = "exec kitty -o confirm_os_window_close=0 btm";
|
"${modifier}+Shift+Escape" = "exec kitty -o confirm_os_window_close=0 btm";
|
||||||
|
"${modifier}+Escape" = "exec wlogout";
|
||||||
"${modifier}+h" = "exec hyprpicker | wl-copy";
|
"${modifier}+h" = "exec hyprpicker | wl-copy";
|
||||||
"${modifier}+s" = "exec grim -g \"$(slurp)\" -t png - | wl-copy -t image/png";
|
"${modifier}+s" = "exec grim -g \"$(slurp)\" -t png - | wl-copy -t image/png";
|
||||||
"${modifier}+Shift+s" = "exec slurp | grim -g - Pictures/Screenshots/$(date +'screenshot_%Y-%m-%d-%H%M%S.png')";
|
"${modifier}+Shift+s" = "exec slurp | grim -g - Pictures/Screenshots/$(date +'screenshot_%Y-%m-%d-%H%M%S.png')";
|
||||||
|
|
@ -13988,23 +13989,23 @@ Currently, I am too lazy to explain every option here, but most of it is very se
|
||||||
swayfxSettings = config.swarselsystems.swayfxConfig;
|
swayfxSettings = config.swarselsystems.swayfxConfig;
|
||||||
in
|
in
|
||||||
"
|
"
|
||||||
set $exit \"exit: [s]leep, [l]ock, [p]oweroff, [r]eboot, [u]ser logout\"
|
|
||||||
|
|
||||||
mode $exit {
|
|
||||||
bindsym --to-code {
|
|
||||||
s exec \"systemctl suspend\", mode \"default\"
|
|
||||||
h exec \"systemctl hibernate\", mode \"default\"
|
|
||||||
l exec \"swaylock --screenshots --clock --effect-blur 7x5 --effect-vignette 0.5:0.5 --fade-in 0.2 --daemonize\", mode \"default\
|
|
||||||
p exec \"systemctl poweroff\"
|
|
||||||
r exec \"systemctl reboot\"
|
|
||||||
u exec \"swaymsg exit\"
|
|
||||||
|
|
||||||
Return mode \"default\"
|
|
||||||
Escape mode \"default\"
|
|
||||||
${modifier}+Escape mode \"default\"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
# exec_always autotiling
|
# exec_always autotiling
|
||||||
|
# set $exit \"exit: [s]leep, [l]ock, [p]oweroff, [r]eboot, [u]ser logout\"
|
||||||
|
|
||||||
|
# mode $exit {
|
||||||
|
# bindsym --to-code {
|
||||||
|
# s exec \"systemctl suspend\", mode \"default\"
|
||||||
|
# h exec \"systemctl hibernate\", mode \"default\"
|
||||||
|
# l exec \"swaylock --screenshots --clock --effect-blur 7x5 --effect-vignette 0.5:0.5 --fade-in 0.2 --daemonize\", mode \"default\
|
||||||
|
# p exec \"systemctl poweroff\"
|
||||||
|
# r exec \"systemctl reboot\"
|
||||||
|
# u exec \"swaymsg exit\"
|
||||||
|
|
||||||
|
# Return mode \"default\"
|
||||||
|
# Escape mode \"default\"
|
||||||
|
# ${modifier}+Escape mode \"default\"
|
||||||
|
# }
|
||||||
|
# }
|
||||||
|
|
||||||
exec systemctl --user import-environment
|
exec systemctl --user import-environment
|
||||||
# exec swayidle -w
|
# exec swayidle -w
|
||||||
|
|
|
||||||
|
|
@ -149,8 +149,9 @@ in
|
||||||
"${modifier}+Shift+p" = "exec pass-fuzzel --type";
|
"${modifier}+Shift+p" = "exec pass-fuzzel --type";
|
||||||
"${modifier}+Shift+o" = "exec pass-fuzzel --otp --type";
|
"${modifier}+Shift+o" = "exec pass-fuzzel --otp --type";
|
||||||
"${modifier}+Ctrl+p" = "exec 1password --quick-acces";
|
"${modifier}+Ctrl+p" = "exec 1password --quick-acces";
|
||||||
"${modifier}+Escape" = "mode $exit";
|
# "${modifier}+Escape" = "mode $exit";
|
||||||
"${modifier}+Shift+Escape" = "exec kitty -o confirm_os_window_close=0 btm";
|
"${modifier}+Shift+Escape" = "exec kitty -o confirm_os_window_close=0 btm";
|
||||||
|
"${modifier}+Escape" = "exec wlogout";
|
||||||
"${modifier}+h" = "exec hyprpicker | wl-copy";
|
"${modifier}+h" = "exec hyprpicker | wl-copy";
|
||||||
"${modifier}+s" = "exec grim -g \"$(slurp)\" -t png - | wl-copy -t image/png";
|
"${modifier}+s" = "exec grim -g \"$(slurp)\" -t png - | wl-copy -t image/png";
|
||||||
"${modifier}+Shift+s" = "exec slurp | grim -g - Pictures/Screenshots/$(date +'screenshot_%Y-%m-%d-%H%M%S.png')";
|
"${modifier}+Shift+s" = "exec slurp | grim -g - Pictures/Screenshots/$(date +'screenshot_%Y-%m-%d-%H%M%S.png')";
|
||||||
|
|
@ -392,22 +393,22 @@ in
|
||||||
in
|
in
|
||||||
"
|
"
|
||||||
# exec_always autotiling
|
# exec_always autotiling
|
||||||
set $exit \"exit: [s]leep, [l]ock, [p]oweroff, [r]eboot, [u]ser logout\"
|
# set $exit \"exit: [s]leep, [l]ock, [p]oweroff, [r]eboot, [u]ser logout\"
|
||||||
|
|
||||||
mode $exit {
|
# mode $exit {
|
||||||
bindsym --to-code {
|
# bindsym --to-code {
|
||||||
s exec \"systemctl suspend\", mode \"default\"
|
# s exec \"systemctl suspend\", mode \"default\"
|
||||||
h exec \"systemctl hibernate\", mode \"default\"
|
# h exec \"systemctl hibernate\", mode \"default\"
|
||||||
l exec \"swaylock --screenshots --clock --effect-blur 7x5 --effect-vignette 0.5:0.5 --fade-in 0.2 --daemonize\", mode \"default\
|
# l exec \"swaylock --screenshots --clock --effect-blur 7x5 --effect-vignette 0.5:0.5 --fade-in 0.2 --daemonize\", mode \"default\
|
||||||
p exec \"systemctl poweroff\"
|
# p exec \"systemctl poweroff\"
|
||||||
r exec \"systemctl reboot\"
|
# r exec \"systemctl reboot\"
|
||||||
u exec \"swaymsg exit\"
|
# u exec \"swaymsg exit\"
|
||||||
|
|
||||||
Return mode \"default\"
|
# Return mode \"default\"
|
||||||
Escape mode \"default\"
|
# Escape mode \"default\"
|
||||||
${modifier}+Escape mode \"default\"
|
# ${modifier}+Escape mode \"default\"
|
||||||
}
|
# }
|
||||||
}
|
# }
|
||||||
|
|
||||||
exec systemctl --user import-environment
|
exec systemctl --user import-environment
|
||||||
# exec swayidle -w
|
# exec swayidle -w
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue