fix(scripts): inline wp to ctl

This commit is contained in:
Barrett Ruth 2026-02-14 22:47:13 -05:00
parent 3f403a7de9
commit ac719903c0
Signed by: barrett
GPG key ID: A6C96C9349D2FC81
2 changed files with 4 additions and 2 deletions

View file

@ -59,6 +59,8 @@ input {
exec-once = dunst exec-once = dunst
exec-once = wl-paste --watch cliphist store exec-once = wl-paste --watch cliphist store
exec-once = [ -f "${XDG_PICTURES_DIR:-$HOME/Pictures}/Screensavers/wallpaper.jpg" ] || ctl wallpaper wall
exec-once = [ -f "${XDG_PICTURES_DIR:-$HOME/Pictures}/Screensavers/lock.jpg" ] || ctl wallpaper lock
exec-once = hyprpaper exec-once = hyprpaper
exec-once = hypridle exec-once = hypridle
exec-once = hypr windowrules exec-once = hypr windowrules

View file

@ -85,13 +85,13 @@ in
xdg.configFile."hypr/hypridle.conf".text = '' xdg.configFile."hypr/hypridle.conf".text = ''
general { general {
lock_cmd = wp lock && hyprlock lock_cmd = ctl wallpaper lock && hyprlock
after_sleep_cmd = hyprctl dispatch dpms on after_sleep_cmd = hyprctl dispatch dpms on
} }
listener { listener {
timeout = 300 timeout = 300
on-timeout = wp lock && hyprlock on-timeout = ctl wallpaper lock && hyprlock
} }
listener { listener {