Fixing theme switch hanging on emacs
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -140,8 +140,6 @@
|
||||
|
||||
# Enable touchpad support (enabled default in most desktopManager).
|
||||
libinput.enable = true;
|
||||
|
||||
emacs.enable = true;
|
||||
};
|
||||
|
||||
# Configure keymap in X11
|
||||
|
||||
Reference in New Issue
Block a user