refactor(hypr): launch programs via systemd-run

This commit is contained in:
Price Hiller 2024-02-24 23:44:36 -06:00
parent bae5249233
commit b6cd4f203c
Signed by: Price
GPG Key ID: C3FADDE7A8534BEB

View File

@ -4,14 +4,14 @@ source = ~/.config/hypr/wm/bindings.conf
source = ~/.config/hypr/wm/appearance.conf
source = ~/.config/hypr/wm/monitors.conf
source = ~/.config/hypr/wm/window-rules.conf
exec-once = udiskie --tray
exec-once = blueman-applet
exec-once = slimbookbattery --minimize
exec = clight-gui --tray
exec = systemd-run --user --unit=udiskie udiskie --tray || systemctl --user restart udiskie
exec = systemd-run --user --unit=blueman-applet blueman-applet || systemctl --user restart blueman-applet
exec = systemd-run --user --unit=slimbookbattery slimbookbattery --minimize || systemctl --user restart slimbookbattery
exec = systemd-run --user --unit=clight-gui clight-gui --tray || systemctl --user restart clight-gui
exec = systemd-run --user --unit=events-monitor ~/.config/hypr/scripts/launchers/events-monitor.bash || systemctl --user restart events-monitor
exec = systemd-run --user --unit=wallpapers ~/.config/hypr/scripts/launchers/launch-swww.bash || systemctl --user restart wallpapers
exec-once = xwaylandvideobridge
exec = systemd-run --user --unit=xwaylandvideobridge xwaylandvideobridge || systemctl --user restart xwaylandvideobridge
exec = systemd-run --user --unit=polkit-agent /usr/lib/polkit-kde-authentication-agent-1 || systemctl --user restart polkit-agent
exec-once = systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP PATH
exec-once = /usr/lib/polkit-kde-authentication-agent-1
exec-once = systemctl --user start compositor.target
exec-once = swaylock