summaryrefslogtreecommitdiff
path: root/spmutt
diff options
context:
space:
mode:
Diffstat (limited to 'spmutt')
-rwxr-xr-xspmutt6
1 files changed, 5 insertions, 1 deletions
diff --git a/spmutt b/spmutt
index 90988e2..fbae957 100755
--- a/spmutt
+++ b/spmutt
@@ -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" neomutt
+ hyprctl dispatch exec "[workspace special:spmutt;float;noanim] foot -a \"$(basename $0)\" -w '960x540' neomutt"
+ hyprctl dispatch togglespecialworkspace spmutt
+ sleep 0.03
fi
+
+hyprctl dispatch togglespecialworkspace spmutt