diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2025-03-23 13:31:20 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2025-03-23 13:31:20 +0800 |
| commit | 855c664984abae2ccdb14bcf9640a55237c3bc09 (patch) | |
| tree | eecd5b81898f9a815fe593c24cb40b73485f48e3 | |
| parent | ac31c5ed1cc6a91f3556019912de863f87bc5e1d (diff) | |
style: hypr
| -rw-r--r-- | dot-config/hypr/hypridle.conf | 29 | ||||
| -rw-r--r-- | dot-config/hypr/hyprland.conf | 9 |
2 files changed, 21 insertions, 17 deletions
diff --git a/dot-config/hypr/hypridle.conf b/dot-config/hypr/hypridle.conf index fe20628f..b4ec0411 100644 --- a/dot-config/hypr/hypridle.conf +++ b/dot-config/hypr/hypridle.conf @@ -1,9 +1,14 @@ general { - lock_cmd = pidof hyprlock || $HOME/scripts/hyprlock # avoid starting multiple hyprlock instances. before_sleep_cmd = loginctl lock-session # lock before suspend. - # unlock_cmd = killall -q -s SIGUSR1 hyprlock - unlock_cmd = killall -q -s SIGUSR1 hyprlock && $HOME/scripts/hypridle.sh --stopidle - before_sleep_cmd = loginctl lock-session # lock before suspend. - after_sleep_cmd = $HOME/scripts/hypridle.sh --stopidle; hyprctl dispatch dpms on # to avoid having to press a key twice to turn on the display. + lock_cmd = pidof hyprlock || hyprlock # avoid starting multiple hyprlock instances. before_sleep_cmd = loginctl lock-session # lock before suspend. + on_lock_cmd = $HOME/scripts/hypridle.sh --idle + unlock_cmd = killall -q -s SIGUSR1 hyprlock + on_unlock_cmd = $HOME/scripts/hypridle.sh --stopidle + + before_sleep_cmd = loginctl lock-session # lock before suspend. + after_sleep_cmd = $HOME/scripts/hypridle.sh --stopidle; hyprctl dispatch dpms on # to avoid having to press a key twice to turn on the display. + + ignore_dbus_inhibit = true + ignore_systemd_inhibit = true } # listener { @@ -12,15 +17,15 @@ general { # } listener { - timeout = 900000 # 15min - on-timeout = loginctl lock-session - on-resume = $HOME/scripts/hypridle.sh --stopidle + timeout = 900000 # 15min + on-timeout = loginctl lock-session + on-resume = $HOME/scripts/hypridle.sh --stopidle } listener { - timeout = 1800000 # 30min - # on-timeout = hyprctl dispatch dpms off - on-timeout = systemctl suspend - on-resume = hyprctl dispatch dpms on + timeout = 1800000 # 30min + # on-timeout = hyprctl dispatch dpms off + on-timeout = systemctl suspend + on-resume = hyprctl dispatch dpms on } diff --git a/dot-config/hypr/hyprland.conf b/dot-config/hypr/hyprland.conf index 67abcbc3..3e062f3a 100644 --- a/dot-config/hypr/hyprland.conf +++ b/dot-config/hypr/hyprland.conf @@ -87,7 +87,7 @@ decoration { rounding_power = 10 # Change transparency of focused and unfocused windows - active_opacity = 0.95 + # active_opacity = 0.95 inactive_opacity = 0.85 fullscreen_opacity = 1.0 @@ -223,10 +223,10 @@ render { ctm_animation = 1 } -opengl { +# opengl { # nvidia_anti_flicker = false # force_introspection = 0 -} +# } ############# ### INPUT ### @@ -394,9 +394,8 @@ debug { # overlay = true # show fps # suppress_errors = true error_position = 1 + full_cm_proto = true } -experimental:wide_color_gamut = true experimental:xx_color_management_v4 = true -# experimental:hdr = true |
