diff --git a/nix/modules/hyprland/home.nix b/nix/modules/hyprland/home.nix index c4bac10..5c5b5ba 100644 --- a/nix/modules/hyprland/home.nix +++ b/nix/modules/hyprland/home.nix @@ -27,17 +27,22 @@ in inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.xdg-desktop-portal-hyprland; }; # TODO, split this into its own module; - config.programs.foot = lib.mkIf cfg.enable { - enable = true; - settings = { - main = { - term = "xterm-256color"; + config.programs = lib.mkIf cfg.enable { + wlogout = { + enable = true; + }; + foot = { + enable = true; + settings = { + main = { + term = "xterm-256color"; - font = "CaskaydiaCove Nerd Font Mono:size=12"; - }; + font = "CaskaydiaCove Nerd Font Mono:size=12"; + }; - mouse = { - hide-when-typing = "yes"; + mouse = { + hide-when-typing = "yes"; + }; }; }; }; diff --git a/nix/modules/hyprland/settings.nix b/nix/modules/hyprland/settings.nix index 9e9d50a..dd45608 100644 --- a/nix/modules/hyprland/settings.nix +++ b/nix/modules/hyprland/settings.nix @@ -110,6 +110,7 @@ "$mainMod, right, movefocus, r" "$mainMod, up, movefocus, u" "$mainMod, down, movefocus, d" + "$mainMod, L, exec, wlogout" ( "$mainMod, S, exec, " + ''wayfreeze --after-freeze-cmd 'grim -g "$(slurp -d)" - | wl-copy -t image/png;killall wayfreeze' --hide-cursor''