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,7 +27,11 @@ 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 {
config.programs = lib.mkIf cfg.enable {
wlogout = {
enable = true;
};
foot = {
enable = true;
settings = {
main = {
@@ -41,4 +45,5 @@ in
};
};
};
};
}

View File

@@ -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''