diff options
| author | Mitsuo Tokumori <[email protected]> | 2023-11-26 19:17:06 -0500 |
|---|---|---|
| committer | Mitsuo Tokumori <[email protected]> | 2023-11-26 19:17:06 -0500 |
| commit | a29ea164e03df5a504235b3f681dfecfa7a0348b (patch) | |
| tree | c46d4ce276d1c49933fe0fd3b1de5766076639ad /local/bin/laptop-xrandr.sh | |
| parent | 1bca69b29026facb245678b691a4fb441bb4ab0d (diff) | |
| download | dotfiles-a29ea164e03df5a504235b3f681dfecfa7a0348b.tar.gz dotfiles-a29ea164e03df5a504235b3f681dfecfa7a0348b.tar.bz2 dotfiles-a29ea164e03df5a504235b3f681dfecfa7a0348b.zip | |
Rename laptopo xrandr script
Diffstat (limited to 'local/bin/laptop-xrandr.sh')
| -rwxr-xr-x | local/bin/laptop-xrandr.sh | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/local/bin/laptop-xrandr.sh b/local/bin/laptop-xrandr.sh new file mode 100755 index 0000000..d3c5c49 --- /dev/null +++ b/local/bin/laptop-xrandr.sh @@ -0,0 +1,19 @@ +#!/bin/bash + +# See https://wiki.archlinux.org/title/Multihead + +# Didn't know how to get the screen name, this works for now +#screen=$(xrandr | grep "primary" | awk '{ print $1 }') +# But now how do I get the rest? And the correct order? Maybe it's better just +# to define "hardcoded" functions and just call them. + +simple_2_monitor() { + # enable + xrandr --output eDP --auto \ + --output HDMI-A-0 --auto --right-of eDP + # disable + #xrandr --output eDP --auto \ + # --output HDMI-A-0 --off +} + +simple_2_monitor |
