feat(config): enhance hypridle lock command and modus visual settings

This commit is contained in:
sankalp committed 2026-07-14 18:46:18 +05:45
1 parent 6f2d0bf444
commit 6a5287d039
2 files changed
+18 -11

No files matched your search

+1 -1
View File
@@ -1,5 +1,5 @@
general {
lock_cmd = pidof lock || uv run --directory /home/sankalp/Projects/dev/Modus python3 /home/sankalp/Projects/dev/Modus/src/lock.py
lock_cmd = pidof lock || uv run --directory $HOME/.config/Modus python3 $HOME/.config/Modus/src/lock.py
before_sleep_cmd = loginctl lock-session # lock before suspend.
after_sleep_cmd = hyprctl dispatch dpms on # to avoid having to press a key twice to turn on the display.
}
+17 -10
View File
@@ -74,24 +74,31 @@ hl.config({
decoration = {
blur = {
enabled = true,
size = 5,
noise = 0,
contrast = 1,
size = 10,
noise = 0.05,
contrast = 0.89,
brightness = 1,
vibrancy = 0.1696,
passes = 2,
popups_ignorealpha = true,
popups = true,
vibrancy = 0.5,
vibrancy_darkness = 0.5,
passes = 3,
ignore_opacity = false,
new_optimizations = true,
xray = true,
},
active_opacity = 0.9,
inactive_opacity = 0.9,
rounding = 14,
rounding_power = 2.5,
shadow = {
enabled = false,
range = 10,
render_power = 2,
enabled = true,
range = 20,
offset = { 0, 2 },
render_power = 10,
color = "rgba(0, 0, 0, 0.25)",
},
dim_inactive = true,
dim_strength = 0.05,
dim_special = 0.2,
},
animations = {
enabled = true,