diff options
| author | kj_sh604 | 2025-11-09 00:40:17 -0500 |
|---|---|---|
| committer | kj_sh604 | 2025-11-09 00:40:17 -0500 |
| commit | 2eb1f07e6031a84650e93c5292a16ca20fa22d61 (patch) | |
| tree | 2c5dedfbba4dac0292295bdbf05e4f589f2e2e96 /.local/bin/awesome-xrandr | |
| parent | 77949a068755ee72d7b5eaf5570cd2cd34a8d222 (diff) | |
feat: return back to awesomeWM
Diffstat (limited to '.local/bin/awesome-xrandr')
| -rwxr-xr-x | .local/bin/awesome-xrandr | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/.local/bin/awesome-xrandr b/.local/bin/awesome-xrandr new file mode 100755 index 0000000..c7f1d19 --- /dev/null +++ b/.local/bin/awesome-xrandr @@ -0,0 +1,8 @@ +#!/bin/sh + +DEFAULT_SCREEN="eDP1" +for SCREEN in $(xrandr | grep "connected" | awk '{ print$1 }' | grep -v "$DEFAULT_SCREEN"); do + xrandr --output "$SCREEN" --off +done +xrandr --output "$DEFAULT_SCREEN" --primary --auto --pos 0x0 --rotate normal +xrandr --output "$DEFAULT_SCREEN" --panning 0x0 |
