dotfiles/sway/config.d/autostart

44 lines
1.1 KiB
Plaintext
Raw Normal View History

2019-05-04 05:47:36 +00:00
### Start Nextcloud.
exec --no-startup-id nextcloud
2019-05-04 05:47:36 +00:00
2020-06-02 00:13:05 +00:00
### ProtonMail Bridge
exec --no-startup-id protonmail-bridge
2019-05-04 05:47:36 +00:00
### Make things a little easier easier on the eyes.
exec --no-startup-id redshift
2019-05-04 05:47:36 +00:00
### Notifications
# https://github.com/emersion/mako
2020-05-19 17:30:29 +00:00
exec --no-startup-id mako 2>&1 >/tmp/mako.log
2020-04-26 02:08:30 +00:00
### ydotool
exec --no-startup-id ydotoold
2020-04-26 02:08:30 +00:00
2019-10-06 01:36:46 +00:00
### Autotiling
# https://github.com/nwg-piotr/autotiling
exec --no-startup-id autotiling
2019-10-06 05:36:31 +00:00
### 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' \
2019-10-06 05:36:31 +00:00
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 --no-startup-id wl-paste -t text --watch clipman store
# vim: ft=cfg
# -*- mode: conf-space -*-