This repository has been archived on 2024-04-07. You can view files and clone it, but cannot push or open issues or pull requests.
dotfiles/dotfiles/sway/daemons

69 lines
1.8 KiB
Plaintext
Raw Normal View History

2020-12-01 20:10:22 +01:00
# {{@@ header() @@}}
# _____ ____ _ _ _
# / __\ \ /\ / / _` | | | |
# \__ \\ V V / (_| | |_| |
# |___/ \_/\_/ \__,_|\__, |
# |___/
###############################################################
# User Programs
###############################################################
# kde connect
exec /usr/lib/kdeconnectd
exec kdeconnect-indicator
# Telegram
exec telegram-desktop-bin || telegram-desktop
# Music Player Daemon
exec_always pidof mpd || mpd --no-daemon
exec_always pidof -x mpDris2 || sleep 5s && mpDris2
# Syncthing, sync folders between stuff
exec pidof syncthing || syncthing -no-browser
2021-06-26 16:56:34 +02:00
# Unlock gpg-agent
2021-06-26 19:50:48 +02:00
exec_always _gpg-unlock
2020-12-01 20:10:22 +01:00
###############################################################
# System Daemons
###############################################################
# start dbusd just in case
2021-04-16 06:58:02 +02:00
exec _start_dbus-daemon
2021-06-23 07:08:40 +02:00
exec_always pidof gsd-xsettings || /usr/lib/gsd-xsettings
2020-12-01 20:10:22 +01:00
2021-03-31 00:58:56 +02:00
# pipewire and desktop-portal for screen sharing
exec_always pidof pipewire || pipewire
exec_always pidof pipewire-media-session || pipewire-media-session
exec_always pidof xdg-desktop-portal || /usr/lib/xdg-desktop-portal
2021-06-23 07:54:56 +02:00
# Wake up pulseaudio
exec_always pactl set-sink-volume @DEFAULT_SINK@ +0%
2020-12-01 20:10:22 +01:00
#Notification Daemon
exec_always pidof mako || mako
# Block device Mounter to /run/media/<username>
exec udiskie
# gesture daemon
2021-03-30 20:59:00 +02:00
exec_always pidof -x fusuma || fusuma
2020-12-01 20:10:22 +01:00
# Blue light filter
# exec /usr/lib/geoclue-2.0/demos/agent
exec_always pidof gammastep || gammastep -l -30:-50
2020-12-01 20:10:22 +01:00
# Screen manager
exec_always _sway_displays
2020-12-01 20:10:22 +01:00
# Set minimum brightness to 1 instead of 0
# not exactly a daemon
exec light -N 1
###############################################################
# Idle
###############################################################
# Idle daemon
exec_always _sway_idle
2020-12-01 20:10:22 +01:00
2020-12-01 20:30:44 +01:00
# vim: ft=i3