diff options
Diffstat (limited to '.config/scripts/settings.sh')
| -rw-r--r-- | .config/scripts/settings.sh | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/.config/scripts/settings.sh b/.config/scripts/settings.sh index 2a2c467..6c21fb0 100644 --- a/.config/scripts/settings.sh +++ b/.config/scripts/settings.sh @@ -32,14 +32,14 @@ case "$choice" in hyprctl reload > /dev/null killall dunst && dunst & - + if pgrep -x "btop" > /dev/null; then pkill -x "btop" - sleep 0.2 + sleep 0.1 kitty btop & fi - sleep 0.2 + sleep 0.1 notify-send "toggled" "rounded" else sed -i '/@dynamic_rounding/c\ rounding = 0 # @dynamic_rounding' "$HYPR_CONF" @@ -54,14 +54,14 @@ case "$choice" in hyprctl reload > /dev/null killall dunst && dunst & - + if pgrep -x "btop" > /dev/null; then pkill -x "btop" - sleep 0.2 + sleep 0.1 kitty btop & fi - sleep 0.2 + sleep 0.1 notify-send "toggled" "sharp" fi ;; |
