mirror of
https://github.com/dnlbauer/dotfiles.git
synced 2026-09-11 22:15:28 +00:00
autoxrandr in i3
This commit is contained in:
6
.config/i3/autoxrandr
Executable file
6
.config/i3/autoxrandr
Executable file
@@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
for output in $(xrandr | grep '\Wconnected' | awk '{ print $1 }'); do
|
||||
if [[ $output =~ ^eDP.*$ ]]; then
|
||||
xrandr --dpi 150
|
||||
fi
|
||||
done
|
||||
Reference in New Issue
Block a user