flattening and cleaning up various configurations and executables
This commit is contained in:
15
bin/xorg-activate-default
Executable file
15
bin/xorg-activate-default
Executable file
@ -0,0 +1,15 @@
|
||||
#!/bin/zsh
|
||||
_HOSTNAME=$(hostnamectl --static)
|
||||
|
||||
case $_HOSTNAME in
|
||||
butterfree ) DEFAULT=undock ;;
|
||||
altaria ) DEFAULT=hdmi4k ;;
|
||||
umbreon ) DEFAULT=undock ;;
|
||||
esac
|
||||
|
||||
LAYOUT="$DOTWRYN/bin/$_HOSTNAME/$DEFAULT"
|
||||
|
||||
[ -f $LAYOUT ] && {
|
||||
until xrandr -q >/dev/null 2>&1; do sleep .1; done
|
||||
$LAYOUT
|
||||
}
|
Reference in New Issue
Block a user