mirror of
https://codeberg.org/andyscott/dotfiles.git
synced 2024-11-08 13:30:47 -05:00
Suspend on some machines after 1 hour inactivity
This commit is contained in:
parent
1ce6bebd27
commit
48177ecef0
1 changed files with 3 additions and 3 deletions
|
@ -72,12 +72,12 @@ xsettingsd &
|
|||
$HOME/.local/bin/pipewire-launcher &
|
||||
{{- end }}
|
||||
{{- if (or (eq .chezmoi.hostname "helix") (eq .chezmoi.hostname "triangulum")) }}
|
||||
xidlehook --not-when-fullscreen --timer 120 "killall -q redshift && xrandr --output eDP-1 --brightness .1" "xrandr --output eDP-1 --brightness 1 && redshift -r & disown" --timer 480 "xset s activate" "xrandr --output eDP-1 --brightness 1 && redshift -r & disown" &
|
||||
cbatticon -u 20 -i standard -c "systemctl hibernate" &
|
||||
xidlehook --not-when-audio --not-when-fullscreen --timer 120 "killall -q redshift && xrandr --output eDP-1 --brightness .1" "xrandr --output eDP-1 --brightness 1 && redshift -r & disown" --timer 480 "xset s activate" "xrandr --output eDP-1 --brightness 1 && redshift -r & disown" --timer 3600 "loginctl suspend" "xrandr --output eDP-1 --brightness 1 && redshift -r & disown" &
|
||||
cbatticon -u 20 -i standard -c "loginctl suspend" &
|
||||
$HOME/.local/bin/tint2-launcher &
|
||||
{{- end }}
|
||||
{{- if eq .chezmoi.hostname "hydrus"}}
|
||||
xidlehook --not-when-fullscreen --timer 360 "xset s activate" "" &
|
||||
xidlehook --not-when-audio --not-when-fullscreen --timer 360 "xset s activate" "" &
|
||||
$HOME/.local/bin/dual-polybar-launcher &
|
||||
{{- end }}
|
||||
sh ~/.fehbg &
|
||||
|
|
Loading…
Reference in a new issue