blob: 28eef72969013d8e9420ab4ea2deefacc23f835d (
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:sptrmc;float;noanim] foot -a \"$(basename $0)\" -w '960x540' tremc"
hyprctl dispatch togglespecialworkspace sptrmc
sleep 0.03
fi
hyprctl dispatch togglespecialworkspace sptrmc
|