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

66 lines
1.7 KiB
Plaintext

# {{@@ 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
###############################################################
# System Daemons
###############################################################
# start dbusd just in case
exec _start_dbus-daemon
# 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
#Notification Daemon
exec_always pidof mako || mako
# Block device Mounter to /run/media/<username>
exec udiskie
# gesture daemon
exec_always pidof -x fusuma || fusuma
# Blue light filter
exec /usr/lib/geoclue-2.0/demos/agent
exec_always pidof redshift || redshift
# Screen manager
exec_always _sway_displays
# Set minimum brightness to 1 instead of 0
# not exactly a daemon
exec light -N 1
###############################################################
# Idle
###############################################################
# Prevent the screen from locking if fullscreen
for_window [title=.*] inhibit_idle fullscreen
# Idle daemon
exec_always _sway_idle
# vim: ft=i3