Fixing theme switch hanging on emacs

This commit is contained in:
2026-04-10 00:34:25 +02:00
parent 7a5423b912
commit e609e76141
2 changed files with 4 additions and 6 deletions

View File

@@ -89,13 +89,13 @@ switch_waybar() {
update() {
#kitty
pgrep -x kitty >/dev/null && kill -SIGUSR1 $(pgrep -x kitty)
pidof kitty >/dev/null && kill -SIGUSR1 $(pidof kitty)
#waybar
pgrep -x waybar >/dev/null && kill -SIGUSR2 $(pgrep -x waybar)
pidof waybar >/dev/null && kill -SIGUSR2 $(pidof waybar)
#swaync
pgrep -x swaync >/dev/null && swaync-client --reload-css
swaync-client --reload-css
#swayosd
killall swayosd-server
@@ -123,7 +123,7 @@ switch_swaync "$SELECTED"
switch_swayosd "$SELECTED"
switch_fuzzel "$SELECTED"
switch_emacs "$SELECTED"
update
update && echo test
'';
home.file.".config/hypr/hyprland/scripts/themeswitch.sh".force = true;

View File

@@ -140,8 +140,6 @@
# Enable touchpad support (enabled default in most desktopManager).
libinput.enable = true;
emacs.enable = true;
};
# Configure keymap in X11