Dynamically set monitor resolution in xinitrc
This commit is contained in:
parent
fd3b526dd4
commit
3208a040a5
1 changed files with 4 additions and 0 deletions
|
@ -51,4 +51,8 @@ if command -v protonvpn >/dev/null 2>&1; then
|
||||||
sudo protonvpn c -f
|
sudo protonvpn c -f
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
for monitor in $(xrandr --listactivemonitors | awk '{print $4}'); do
|
||||||
|
xrandr --output "$monitor" --mode 1920x1080
|
||||||
|
done
|
||||||
|
|
||||||
exec i3
|
exec i3
|
||||||
|
|
Loading…
Add table
Reference in a new issue