added wleave to powerbutton

This commit is contained in:
Adrian Gunnar Lauterer 2024-11-26 11:07:35 +01:00
parent e488d6af8e
commit 9fec5b56e8
2 changed files with 8 additions and 4 deletions

View File

@ -47,6 +47,8 @@ in
#swaybg #swaybg
swww swww
wleave
#bar applets and notifications #bar applets and notifications
waybar waybar
networkmanagerapplet networkmanagerapplet
@ -272,6 +274,7 @@ in {
#"ctrl+space" = "exec xkb_switch_layout next"; #TODO:verify #"ctrl+space" = "exec xkb_switch_layout next"; #TODO:verify
"${cfg.config.modifier}+tab" = "${menu}"; "${cfg.config.modifier}+tab" = "${menu}";
"Alt+tab" = "workspace back_and_forth"; "Alt+tab" = "workspace back_and_forth";
"XF86PowerOff" = "exec ${pkgs.wleave}/bin/wleave";
}; };
}; };
@ -280,8 +283,8 @@ in {
xkb_capslock disabled xkb_capslock disabled
xkb_numlock enabled xkb_numlock enabled
xkb_layout us,no xkb_layout us,no,jp
xkb_options , xkb_options ,,
xkb_options grp:win_space_toggle xkb_options grp:win_space_toggle
xkb_numlock enabled # enable numlock when logging in xkb_numlock enabled # enable numlock when logging in
} }

View File

@ -70,10 +70,11 @@ imports =
#}; #};
}; };
services.logind.powerKey = "ignore";
services.desktopManager.plasma6.enable = true; services.desktopManager.plasma6.enable = true;
services.desktopManager.plasma6.enableQt5Integration = true; services.desktopManager.plasma6.enableQt5Integration = true;