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