qol(hyprland): added wlogout

This commit is contained in:
2025-12-02 09:53:17 +00:00
parent d35846dc52
commit 61d1f56636
2 changed files with 15 additions and 9 deletions

View File

@@ -27,17 +27,22 @@ in
inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.xdg-desktop-portal-hyprland; inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.xdg-desktop-portal-hyprland;
}; };
# TODO, split this into its own module; # TODO, split this into its own module;
config.programs.foot = lib.mkIf cfg.enable { config.programs = lib.mkIf cfg.enable {
enable = true; wlogout = {
settings = { enable = true;
main = { };
term = "xterm-256color"; foot = {
enable = true;
settings = {
main = {
term = "xterm-256color";
font = "CaskaydiaCove Nerd Font Mono:size=12"; font = "CaskaydiaCove Nerd Font Mono:size=12";
}; };
mouse = { mouse = {
hide-when-typing = "yes"; hide-when-typing = "yes";
};
}; };
}; };
}; };

View File

@@ -110,6 +110,7 @@
"$mainMod, right, movefocus, r" "$mainMod, right, movefocus, r"
"$mainMod, up, movefocus, u" "$mainMod, up, movefocus, u"
"$mainMod, down, movefocus, d" "$mainMod, down, movefocus, d"
"$mainMod, L, exec, wlogout"
( (
"$mainMod, S, exec, " "$mainMod, S, exec, "
+ ''wayfreeze --after-freeze-cmd 'grim -g "$(slurp -d)" - | wl-copy -t image/png;killall wayfreeze' --hide-cursor'' + ''wayfreeze --after-freeze-cmd 'grim -g "$(slurp -d)" - | wl-copy -t image/png;killall wayfreeze' --hide-cursor''