diff --git a/hosts/duskfall/configuration.nix b/hosts/duskfall/configuration.nix index 32fce15d..f281ce87 100644 --- a/hosts/duskfall/configuration.nix +++ b/hosts/duskfall/configuration.nix @@ -41,7 +41,7 @@ # style stylix = { enable = true; - theme = "ayu-dark"; + theme = "io"; }; }; diff --git a/hosts/duskfall/home.nix b/hosts/duskfall/home.nix index 3fea033c..988aaafb 100644 --- a/hosts/duskfall/home.nix +++ b/hosts/duskfall/home.nix @@ -43,6 +43,10 @@ wayland.windowManager.hyprland = lib.mkIf config.userSettings.hyprland.enable { settings = { + animations = { + enabled = "no"; + }; + monitor = [ "eDP-1,1920x1080@60,0x0,1" ]; diff --git a/hosts/zenith/home.nix b/hosts/zenith/home.nix index 912d83af..7e70fffa 100644 --- a/hosts/zenith/home.nix +++ b/hosts/zenith/home.nix @@ -46,6 +46,10 @@ wayland.windowManager.hyprland = lib.mkIf config.userSettings.hyprland.enable { settings = { + animations = { + enabled = "no"; + }; + bind = [ ''SUPER,E,exec,if hyprctl clients | grep qutegmail; then echo "scratch_mail respawn not needed"; else qutebrowser --qt-flag enable-gpu-rasterization --qt-flag enable-native-gpu-memory-buffers --qt-flag num-raster-threads=4 -B ~/.browser/Teaching :'set input.mode_override passthrough -u mail.google.com' :'set window.title_format qutegmail' :'set tabs.show never' :'set statusbar.show never' https://mail.google.com; fi'' "SUPER,E,togglespecialworkspace,scratch_email" @@ -76,5 +80,24 @@ enable = lib.mkForce false; startInBackground = lib.mkForce false; }; + + home.file.".config/hypr/hypridle.conf".text = lib.mkForce '' + general { + lock_cmd = pgrep hyprlock || hyprlock + before_sleep_cmd = loginctl lock-session + ignore_dbus_inhibit = false + } + + listener { + timeout = 3000 # in seconds + on-timeout = loginctl lock-session + } + listener { + timeout = 3015 # in seconds + on-timeout = systemctl suspend + on-resume = hyprctl dispatch dpms on + } + ''; + }; } diff --git a/modules/user/hyprland/default.nix b/modules/user/hyprland/default.nix index 6708c274..0b9201fe 100644 --- a/modules/user/hyprland/default.nix +++ b/modules/user/hyprland/default.nix @@ -557,18 +557,12 @@ appearance: ignore_dbus_inhibit = false } - #listener { - # timeout = 150 # in seconds - # on-timeout = hyprctl dispatch dpms off - # on-resume = hyprctl dispatch dpms on - #} listener { timeout = 165 # in seconds on-timeout = loginctl lock-session } listener { timeout = 180 # in seconds - #timeout = 5400 # in seconds on-timeout = systemctl suspend on-resume = hyprctl dispatch dpms on }