aboutsummaryrefslogtreecommitdiff
path: root/dotfiles/.local/bin/rofidisplay
diff options
context:
space:
mode:
authorYaroslav de la Peña Smirnov <yps@yaroslavps.com>2023-09-20 17:00:08 +0300
committerYaroslav de la Peña Smirnov <yps@yaroslavps.com>2023-09-20 17:00:08 +0300
commit5b1f986741723d46c9b9f125fcacb3558dc47fbf (patch)
tree1782dc36cf66aab4b49360e4d85e18a4cff6b540 /dotfiles/.local/bin/rofidisplay
parentb04e179521f550e6b2ebfaa65e948cf5f9031738 (diff)
downloadswayrice-5b1f986741723d46c9b9f125fcacb3558dc47fbf.tar.gz
swayrice-5b1f986741723d46c9b9f125fcacb3558dc47fbf.zip
rofidisplay: fix semi-broken display menu
Diffstat (limited to 'dotfiles/.local/bin/rofidisplay')
-rwxr-xr-xdotfiles/.local/bin/rofidisplay2
1 files changed, 1 insertions, 1 deletions
diff --git a/dotfiles/.local/bin/rofidisplay b/dotfiles/.local/bin/rofidisplay
index 9d1e5ec..77efa5b 100755
--- a/dotfiles/.local/bin/rofidisplay
+++ b/dotfiles/.local/bin/rofidisplay
@@ -4,7 +4,7 @@ if [ "$ROFI_RETV" != 0 ]; then
swaymsg output $1 toggle > /dev/null
fi
-displays="$(swaymsg -t get_outputs | grep -E "name" |
+displays="$(swaymsg -t get_outputs | grep -E \"name\" |
sed "s/^.*\"name\": \"//g;s/\",$//g;")"
echo -ne "\0no-custom\x1ftrue\n"