Adds / tweaks a bunch of scripts

This commit is contained in:
Jonathan Hodgson 2024-02-18 19:30:08 +00:00
parent 887f479d1f
commit 285165913d
13 changed files with 112 additions and 30 deletions

View file

@ -7,7 +7,7 @@ externalScreen="$(xrandr | grep -Eo '^.* connected' | grep -v "$laptopScreen" |
externalResolution="$(xrandr | grep -A 1 "^$externalScreen" | sed -n 2p | awk '{print $1}')"
pkill compton
echo xrandr --output "$laptopScreen" --primary --mode "$laptopResolution" --pos 0x0 --rotate normal --output "$externalScreen" --mode "$externalResolution" --pos "${laptopResolution%x*}x0" --rotate normal
xrandr --output "$laptopScreen" --primary --mode "$laptopResolution" --pos 0x0 --rotate normal --output "$externalScreen" --mode "$externalResolution" --pos "${laptopResolution%x*}x0" --rotate normal
/usr/bin/compton --config "$HOME/.config/picom/picom.conf" & disown
# xrandr --output "$laptopScreen" --primary --mode 1920x1080 --pos 0x0 --rotate normal --output HDMI-2 --mode 1920x1080 --pos 1920x0 --rotate normal