i3:monitor-setup: Place primary monitor left
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
if [ 1 -lt "$(xrandr -q | grep " connected" | wc -l)" ]; then
|
if [ 1 -lt "$(xrandr -q | grep " connected" | wc -l)" ]; then
|
||||||
# scale second monitor to 3200x1800 and put to the left
|
# scale second monitor to 3200x1800 and put to the left
|
||||||
xrandr --output eDP1 --auto --pos 3200x0 --primary --output DP1 --auto --scale-from 3200x1800 --pos 0x0 --fb 6400x1800
|
xrandr --output eDP1 --auto --pos 0x0 --primary --output DP1 --auto --scale-from 3200x1800 --pos 3200x0 --fb 6400x1800
|
||||||
feh --bg-scale --no-fehbg "$HOME"/pics/wallpapers/wallpaper
|
feh --bg-scale --no-fehbg "$HOME"/pics/wallpapers/wallpaper
|
||||||
killall -q polybar
|
killall -q polybar
|
||||||
while pgrep -x polybar >/dev/null; do sleep 1; done
|
while pgrep -x polybar >/dev/null; do sleep 1; done
|
||||||
|
|||||||
Reference in New Issue
Block a user