aboutsummaryrefslogtreecommitdiff
path: root/dotfiles/.local/bin/menudisplay
diff options
context:
space:
mode:
Diffstat (limited to 'dotfiles/.local/bin/menudisplay')
-rwxr-xr-xdotfiles/.local/bin/menudisplay14
1 files changed, 0 insertions, 14 deletions
diff --git a/dotfiles/.local/bin/menudisplay b/dotfiles/.local/bin/menudisplay
deleted file mode 100755
index e42ec42..0000000
--- a/dotfiles/.local/bin/menudisplay
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/bin/sh
-
-# Source settings from .bemenurc
-. ~/.config/bemenurc
-
-display=$(swaymsg -t get_outputs | grep -E "name" | sed "s/^.*\"name\": \"//g;s/\",$//g;" | bemenu -p "Select output: " --tf="$BEMENU_TF" --tb="$BEMENU_NB" --fb="$BEMENU_NB" --fn="$BEMENU_FN" --nb="$BEMENU_NB" --nf="$BEMENU_NF" --hf="$BEMENU_HF" --hb="$BEMENU_HB" --monitor="$BEMENU_MONITOR")
-
-if [ -z $display ]; then
- exit 0
-fi
-
-action=$(printf "enable\ndisable\n" | bemenu -p "Choose action: " --tf="$BEMENU_TF" --tb="$BEMENU_NB" --fb="$BEMENU_NB" --fn="$BEMENU_FN" --nb="$BEMENU_NB" --nf="$BEMENU_NF" --hf="$BEMENU_HF" --hb="$BEMENU_HB" --monitor="$BEMENU_MONITOR")
-
-swaymsg output $display $action