scwrypts v3 refactor

This commit is contained in:
2023-06-27 16:53:59 -06:00
parent 02ed7d615a
commit 1a64551465
57 changed files with 590 additions and 501 deletions

View File

@ -1,14 +1,5 @@
#!/bin/zsh
_HOSTNAME=$(hostnamectl --static)
case $_HOSTNAME in
butterfree ) DEFAULT=undock ;;
altaria ) DEFAULT=hdmi4k ;;
umbreon ) DEFAULT=undock ;;
esac
LAYOUT="$DOTWRYN/bin/$_HOSTNAME/$DEFAULT"
LAYOUT="$DOTWRYN/bin/$(hostnamectl --static)/default"
[ -f $LAYOUT ] && {
until xrandr -q >/dev/null 2>&1; do sleep .1; done
$LAYOUT