dotfiles/sway/config.d/autostart
James Patrick a97cb96f87 Added support for clipman.
super + alt => rofi clip history
super + alt + shift => rofi delete clip history
2020-04-25 23:09:44 -04:00

40 lines
981 B
Plaintext

### Start Nextcloud.
exec nextcloud
### Make things a little easier easier on the eyes.
exec redshift
### Notifications
# https://github.com/emersion/mako
exec mako
### ydotool
exec ydotoold
### Autotiling
# https://github.com/nwg-piotr/autotiling
exec --no-startup-id autotiling
### Idle configuration
exec swayidle -w \
timeout 280 notify-send "鈴 sleeping in 20 seconds" -t 5000 -c 'sleep' \
timeout 285 'light -O && let "a = $(light -G) / 2" && light -S $a '\
resume 'light -I' \
timeout 300 'swaylock-fancy' \
timeout 600 'swaymsg "output * dpms off"' \
resume 'swaymsg "output * dpms on"' \
before-sleep 'swaylock-fancy'
# wob configuration
exec_always {
killall -q wob || true
mkfifo /tmp/wobpipe
tail -f /tmp/wobpipe | ~/.config/sway/scripts/sanitize_wob | wob
}
### Clipboard manager
# https://github.com/yory8/clipman
exec wl-paste -t text --watch clipman store
# vim: ft=cfg