diff options
author | awy <awy@awy.one> | 2025-01-26 23:50:57 +0300 |
---|---|---|
committer | awy <awy@awy.one> | 2025-01-26 23:50:57 +0300 |
commit | 7d9f2e4584d8109f817d0fb84d3a900733df9bcc (patch) | |
tree | e6477d28cf213ee4876669c268cfc34ddb63a07d | |
parent | 36fe0571994c1cc94e256f0f3608fcf0b7bf2d3b (diff) |
update
-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 |