dotfiles/sway/config.d/autostart

48 lines
1.3 KiB
Plaintext
Raw Normal View History

2019-05-04 05:47:36 +00:00
### Start Nextcloud.
exec --no-startup-id nextcloud 2>&1 >/tmp/nextcloud.log
2019-05-04 05:47:36 +00:00
2020-06-02 00:13:05 +00:00
### ProtonMail Bridge
exec --no-startup-id protonmail-bridge 2>&1 >/tmp/mail.log
2020-06-02 00:13:05 +00:00
2019-05-04 05:47:36 +00:00
### Make things a little easier easier on the eyes.
exec --no-startup-id redshift 2>&1 >/tmp/redshift.log
2019-05-04 05:47:36 +00:00
### Clipboard manager
exec --no-startup-id $scripts/clipboard daemon 2>&1 >/tmp/clipboardmanager.log
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
###
exec --no-startup-id SchubsiGo 2>&1 >/tmp/SchubsiGo.log
2020-04-26 02:08:30 +00:00
### ydotool
exec --no-startup-id ydotoold 2>&1 >/tmp/ydotoold.log
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
}
# vim: ft=cfg
# -*- mode: conf-space -*-