fix(scripts): inline wp to ctl
This commit is contained in:
parent
3f403a7de9
commit
ac719903c0
2 changed files with 4 additions and 2 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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 {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue