Added srandrd for thurstybook
This commit is contained in:
parent
80cc5b6757
commit
28c51f20c1
|
@ -0,0 +1,8 @@
|
|||
#!/bin/bash
|
||||
|
||||
|
||||
case "$SRANDRD_ACTION" in
|
||||
"HDMI1 connected") xrandr --output HDMI1 --auto --right-of eDP1;;
|
||||
"HDMI1 disconnected") xrandr --output HDMI1 --off;;
|
||||
esac
|
||||
|
7
.xinitrc
7
.xinitrc
|
@ -38,6 +38,13 @@ export SSH_AUTH_SOCK
|
|||
# Automatically lock after 30 minutes using slock
|
||||
xautolock -time 30 -locker i3lock -b -d -c 000000 -e -f
|
||||
|
||||
# Thurstybook-specific config:
|
||||
if [[ "$HOSTNAME" == "thurstybook" ]]; then
|
||||
# start srandrd
|
||||
srandrd ~/.config/srandrd.conf
|
||||
fi
|
||||
|
||||
|
||||
if [[ "$HOSTNAME" == "dtarch" ]]; then
|
||||
# Set VGA1 to be right of HDMI1
|
||||
xrandr --output VGA1 --auto --right-of HDMI1
|
||||
|
|
Loading…
Reference in New Issue