blob: daa920422460ea43b431afed6f5524e4c9a1bc66 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#!/bin/sh
COUNT="$(pgrep -U "$(whoami)" -f "$(basename $0)" | wc -l)"
if [ "${COUNT:-0}" -lt "3" ]; then
hyprctl dispatch exec "[workspace special:spterm;float;noanim] foot -a \"$(basename $0)\" -w '960x540'"
hyprctl dispatch togglespecialworkspace spterm
sleep 0.1
fi
hyprctl dispatch togglespecialworkspace spterm
|