diff options
-rw-r--r-- | .config/hypr/hyprland.conf | 2 | ||||
-rwxr-xr-x | .local/bin/reloadsingbox | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf index 89dfa18..ecf1051 100644 --- a/.config/hypr/hyprland.conf +++ b/.config/hypr/hyprland.conf @@ -12,7 +12,7 @@ exec-once = hyprpaper exec-once = dunst exec-once = hypridle exec-once = gpg-agent --daemon -exec-once = sing-box run -c /mnt/ssd/settings/config.json +exec-once = reloadsingbox exec-once = sleep 2 && waybar env = QT_SCREEN_SCALE_FACTORS,1;1 diff --git a/.local/bin/reloadsingbox b/.local/bin/reloadsingbox new file mode 100755 index 0000000..731c618 --- /dev/null +++ b/.local/bin/reloadsingbox @@ -0,0 +1,3 @@ +#!/bin/sh +killall sing-box +setsid -f sing-box -c /mnt/ssd/settings/config.json run |