aboutsummaryrefslogtreecommitdiff
path: root/dotfiles
diff options
context:
space:
mode:
authorYaroslav <contact@yaroslavps.com>2020-07-28 21:50:15 +0300
committerYaroslav <contact@yaroslavps.com>2020-07-28 21:50:15 +0300
commit1964c7a58ca805cca2a7507568d23643ad20a544 (patch)
tree499794c05061308ab70eecd9166dbba7b2cb31de /dotfiles
parent828a6cd2fc3f8a0769215241a3c68d07f954ab43 (diff)
downloadswayrice-1964c7a58ca805cca2a7507568d23643ad20a544.tar.gz
swayrice-1964c7a58ca805cca2a7507568d23643ad20a544.zip
terminal dropdown: fix after broken by sway update
Diffstat (limited to 'dotfiles')
-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'