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;
};
# 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";
};
};
};
};

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