aboutsummaryrefslogtreecommitdiff
path: root/dotfiles/.local/bin/ddquakemite
diff options
context:
space:
mode:
Diffstat (limited to 'dotfiles/.local/bin/ddquakemite')
-rwxr-xr-xdotfiles/.local/bin/ddquakemite2
1 files changed, 1 insertions, 1 deletions
diff --git a/dotfiles/.local/bin/ddquakemite b/dotfiles/.local/bin/ddquakemite
index ae73235..f449a5f 100755
--- a/dotfiles/.local/bin/ddquakemite
+++ b/dotfiles/.local/bin/ddquakemite
@@ -1,7 +1,7 @@
#!/bin/sh
if ! [ -z "$(swaymsg -t get_tree | grep 'quakemite')" ]; then
- if [ -z "$(swaymsg -t get_tree | grep -A 42 'quakemite' | tail -n 1 | grep 'true')" ]; then
+ if [ -z "$(swaymsg -t get_tree | grep -A 46 'quakemite' | tail -n 1 | grep 'true')" ]; then
swaymsg '[title="quakemite"] scratchpad show'
else
swaymsg '[title="quakemite"] move scratchpad'