mirror of
https://github.com/adrlau/nix-dotfiles.git
synced 2025-01-22 08:24:46 +01:00
added wleave to powerbutton
This commit is contained in:
parent
e488d6af8e
commit
9fec5b56e8
@ -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
|
||||||
}
|
}
|
||||||
|
@ -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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user