flattening and cleaning up various configurations and executables

This commit is contained in:
2022-08-22 16:40:57 -06:00
parent e0594ebfb7
commit 26571b5dfc
32 changed files with 189 additions and 85 deletions

18
bin/butterfree/undock Executable file
View File

@ -0,0 +1,18 @@
#!/bin/zsh
source ${0:a:h}/xorg.zsh
[ ! $NATIVE_MONITOR ] && {
NOTIFY "Must specify NATIVE_MONITOR"
return
}
xrandr \
--output $NATIVE_MONITOR \
--primary \
--mode "2560x1440" \
--rotate normal \
--pos 0x0 \
&& DISCONNECT_OTHER undock \
|| NOTIFY "Native monitor '$PRIMARY_MONITOR' unresponsive"
xset +dpms && xset s blank && xset s on \
&& notify-send 'DPMS' 'enabled screen blank'