summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Chausse <benjamin@chausse.xyz>2024-01-20 03:53:51 -0500
committerBenjamin Chausse <benjamin@chausse.xyz>2024-01-20 03:53:51 -0500
commit52d1cae0fb84a9a8d3f6f1c779570110c7251a6e (patch)
tree4568dd2f2b51e8e6eb8c78fdb20367ddb9e8fd3b
parentd49c79933e7b85a24238f6f373261de1d71d7072 (diff)
Remove unused code from setbg
-rwxr-xr-x.local/bin/setbg2
1 files changed, 0 insertions, 2 deletions
diff --git a/.local/bin/setbg b/.local/bin/setbg
index 6608d7a..bfde81e 100755
--- a/.local/bin/setbg
+++ b/.local/bin/setbg
@@ -7,8 +7,6 @@
displays=$(xrandr | grep " connected" | sed 's/^\([a-Z,0-9,-]*\).*/\1/')
-# selected="$(echo "$displays" | dmenu -w "$(xdotool getactivewindow)" -p "󰍹 Select monitor:")"
-
# Same as above but use dmenu only if there are multiple displays
if [ "$(echo "$displays" | wc -l)" -gt 1 ]; then
selected="$(echo "$displays" | dmenu -w "$(xdotool getactivewindow)" -p "󰍹 Select monitor:")"