Compare commits

...

2 commits

2 changed files with 6 additions and 3 deletions

View file

@ -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 &

View file

@ -41,6 +41,9 @@ set timeoutlen=500 " By default timeoutlen is 1000 ms
set formatoptions-=cro " Stop newline continution of comments
"set clipboard=unnamedplus " Copy paste between vim and everything else
set autochdir " Your working directory will always be the same as your working directory
set swapfile " Save swapfiles to ~/.cache instead of littering source dir
set dir=~/.cache/nvim
au! BufWritePost $MYVIMRC source % " auto source when writing to init.vim alternatively you can run :source $MYVIMRC