mirror of
https://codeberg.org/andyscott/dotfiles.git
synced 2024-11-09 14:00: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 &
|
$HOME/.local/bin/pipewire-launcher &
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- if (or (eq .chezmoi.hostname "helix") (eq .chezmoi.hostname "triangulum")) }}
|
{{- 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" &
|
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 "systemctl hibernate" &
|
cbatticon -u 20 -i standard -c "loginctl suspend" &
|
||||||
$HOME/.local/bin/tint2-launcher &
|
$HOME/.local/bin/tint2-launcher &
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- if eq .chezmoi.hostname "hydrus"}}
|
{{- 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 &
|
$HOME/.local/bin/dual-polybar-launcher &
|
||||||
{{- end }}
|
{{- end }}
|
||||||
sh ~/.fehbg &
|
sh ~/.fehbg &
|
||||||
|
|
Loading…
Reference in a new issue