From 52d1cae0fb84a9a8d3f6f1c779570110c7251a6e Mon Sep 17 00:00:00 2001 From: Benjamin Chausse Date: Sat, 20 Jan 2024 03:53:51 -0500 Subject: Remove unused code from setbg --- .local/bin/setbg | 2 -- 1 file changed, 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:")" -- cgit v1.2.3