execs: use systemd services for shell and safeeyes

So no need to autostart (use systemctl --user enable caelestia-shell.service instead)
Also change binds to correctly restart shell
This commit is contained in:
2 * r + 2 * t 2025-04-04 18:03:40 +11:00
parent 65b6a6fc22
commit 0c53bbd2a2
2 changed files with 2 additions and 8 deletions

View file

@ -2,9 +2,6 @@
exec-once = gnome-keyring-daemon --start --components=secrets
exec-once = /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
# Shell
exec-once = uwsm app -- caelestia shell
# Clipboard history
exec-once = wl-paste --type text --watch cliphist store
exec-once = wl-paste --type image --watch cliphist store
@ -35,6 +32,3 @@ exec-once = ~/.config/hypr/scripts/monitor-hyprlock.fish
# Reload hyprland when config changes (to regenerate everything)
exec-once = ~/.config/hypr/scripts/monitor-config.fish
# SafeEyes
exec-once = uwsm app -- ags run -d ~/.local/share/caelestia/safeeyes

View file

@ -117,8 +117,8 @@ bind = Ctrl+Super, Slash, exec, pkill fuzzel || fuzzel --launch-prefix='uwsm app
# Shell keybinds
bindr = Ctrl+Super, R, exec, caelestia shell reload-css
bindr = Ctrl+Super+Shift, R, exec, caelestia shell -q; uwsm app -- caelestia shell
bindr = Ctrl+Super+Alt, R, exec, hyprctl reload; caelestia shell -q; uwsm app -- caelestia shell
bindr = Ctrl+Super+Shift, R, exec, systemctl --user restart caelestia-shell.service
bindr = Ctrl+Super+Alt, R, exec, hyprctl reload; systemctl --user restart caelestia-shell.service
bindir = Super, Super_L, exec, caelestia shell -t launcher
bind = Super, A, exec, caelestia shell toggle sidebar