From 0c53bbd2a25214f88ca2097e989cc936565963f5 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Fri, 4 Apr 2025 18:03:40 +1100 Subject: [PATCH] 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 --- hyprland/execs.conf | 6 ------ hyprland/keybinds.conf | 4 ++-- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/hyprland/execs.conf b/hyprland/execs.conf index bf90c12..57eec0b 100644 --- a/hyprland/execs.conf +++ b/hyprland/execs.conf @@ -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 diff --git a/hyprland/keybinds.conf b/hyprland/keybinds.conf index 5e7a408..6696566 100644 --- a/hyprland/keybinds.conf +++ b/hyprland/keybinds.conf @@ -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