aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-x.local/share/bin/mode6
1 files changed, 2 insertions, 4 deletions
diff --git a/.local/share/bin/mode b/.local/share/bin/mode
index 5e49f82..60683b6 100755
--- a/.local/share/bin/mode
+++ b/.local/share/bin/mode
@@ -297,10 +297,9 @@ reload_gtk() {
# reloading, and i don't like having it running constantly because it fucks
# up fcitx5 and xbindkeys
(
- xfsettingsd &
- PID=$!
+ fork xfsettingsd
sleep 1
- kill $PID
+ killall xfsettingsd
)
}
@@ -332,7 +331,6 @@ reload_apps() {
reload_polybar
reload_dunst
- return
reload_terms
reload_fcitx5
reload_gtk