diff --git a/home/gunalx/sway.nix b/home/gunalx/sway.nix index 6a0bc55..b71f9e4 100644 --- a/home/gunalx/sway.nix +++ b/home/gunalx/sway.nix @@ -47,6 +47,8 @@ in #swaybg swww + wleave + #bar applets and notifications waybar networkmanagerapplet @@ -272,6 +274,7 @@ in { #"ctrl+space" = "exec xkb_switch_layout next"; #TODO:verify "${cfg.config.modifier}+tab" = "${menu}"; "Alt+tab" = "workspace back_and_forth"; + "XF86PowerOff" = "exec ${pkgs.wleave}/bin/wleave"; }; }; @@ -280,8 +283,8 @@ in { xkb_capslock disabled xkb_numlock enabled - xkb_layout us,no - xkb_options , + xkb_layout us,no,jp + xkb_options ,, xkb_options grp:win_space_toggle xkb_numlock enabled # enable numlock when logging in } diff --git a/profiles/desktop.nix b/profiles/desktop.nix index 9f98ce7..ec8b092 100644 --- a/profiles/desktop.nix +++ b/profiles/desktop.nix @@ -70,10 +70,11 @@ imports = #}; - - }; + + services.logind.powerKey = "ignore"; + services.desktopManager.plasma6.enable = true; services.desktopManager.plasma6.enableQt5Integration = true;