diff --git a/home/laptop.nix b/home/laptop.nix index 529b423..57e9822 100644 --- a/home/laptop.nix +++ b/home/laptop.nix @@ -51,6 +51,7 @@ git-ignore nurl prefetch-npm-deps + figlet # Utils fd diff --git a/home/system/hyprland/default.nix b/home/system/hyprland/default.nix index 3bb3045..d986b10 100644 --- a/home/system/hyprland/default.nix +++ b/home/system/hyprland/default.nix @@ -142,10 +142,13 @@ misc = { disable_hyprland_logo = true; disable_splash_rendering = true; + disable_autoreload = true; focus_on_activate = true; new_window_takes_over_fullscreen = 2; }; + opengl = { nvidia_anti_flicker = false; }; + input = { kb_layout = config.var.keyboardLayout; @@ -162,6 +165,8 @@ }; }; + windowrule = [ "animation popin,^(wlogout)$" ]; + windowrulev2 = [ "float, class:peaclock" "move 2% 78%, class:peaclock" diff --git a/home/system/wlogout/default.nix b/home/system/wlogout/default.nix index 8b6ca3c..f6ec622 100644 --- a/home/system/wlogout/default.nix +++ b/home/system/wlogout/default.nix @@ -3,6 +3,18 @@ programs.wlogout = { enable = true; layout = [ + { + label = "shutdown"; + action = "systemctl poweroff"; + text = "Shutdown"; + keybind = "s"; + } + { + label = "reboot"; + action = "systemctl reboot"; + text = "Reboot"; + keybind = "r"; + } { label = "lock"; action = "${pkgs.hyprlock}/bin/hyprlock"; @@ -21,31 +33,19 @@ text = "Exit"; keybind = "e"; } - { - label = "shutdown"; - action = "systemctl poweroff"; - text = "Shutdown"; - keybind = "s"; - } { label = "suspend"; action = "systemctl suspend"; text = "Suspend"; keybind = "u"; } - { - label = "reboot"; - action = "systemctl reboot"; - text = "Reboot"; - keybind = "r"; - } ]; style = '' * { font-family: "${config.var.theme.font}"; background-image: none; - transition: 20ms; + transition: 20ms; } window {