summaryrefslogtreecommitdiff
path: root/spblue
diff options
context:
space:
mode:
Diffstat (limited to 'spblue')
-rwxr-xr-xspblue6
1 files changed, 5 insertions, 1 deletions
diff --git a/spblue b/spblue
index 9017b2b..f3fea15 100755
--- a/spblue
+++ b/spblue
@@ -4,5 +4,9 @@ COUNT="$(pgrep -U "$(whoami)" -f "$(basename $0)" | wc -l)"
echo "$COUNT"
if [ "${COUNT:-0}" -lt "3" ]; then
- exec foot -a "$(basename $0)" -w "960x540" bluetoothctl
+ hyprctl dispatch exec "[workspace special:spblue;float;noanim] foot -a \"$(basename $0)\" -w '960x540' bluetoothctl"
+ hyprctl dispatch togglespecialworkspace spblue
+ sleep 0.03
fi
+
+hyprctl dispatch togglespecialworkspace spblue