summaryrefslogtreecommitdiffstats
path: root/.scripts/i3cmds/displayselect
diff options
context:
space:
mode:
Diffstat (limited to '.scripts/i3cmds/displayselect')
-rwxr-xr-x.scripts/i3cmds/displayselect9
1 files changed, 3 insertions, 6 deletions
diff --git a/.scripts/i3cmds/displayselect b/.scripts/i3cmds/displayselect
index 0bd612e..2c3133f 100755
--- a/.scripts/i3cmds/displayselect
+++ b/.scripts/i3cmds/displayselect
@@ -68,9 +68,6 @@ case "$chosen" in
*) xrandr --output "$chosen" --auto --scale 1.0x1.0 $(echo "$screens" | grep -v "$chosen" | awk '{print "--output", $1, "--off"}' | tr '\n' ' ') ;;
esac
-# Fix feh background if screen size/arangement has changed.
-feh --bg-scale "$HOME/.config/wall.png"
-# Re-remap keys if keyboard added (for laptop bases)
-remaps
-# Restart dunst to ensure proper location on screen
-pgrep -x dunst >/dev/null && killall dunst && setsid dunst &
+setbg # Fix background if screen size/arangement has changed.
+remaps # Re-remap keys if keyboard added (for laptop bases)
+pgrep -x dunst >/dev/null && killall dunst && setsid dunst & # Restart dunst to ensure proper location on screen