mirror of
https://github.com/tiyn/dotfiles.git
synced 2025-03-28 05:57:45 +01:00
sxhkd: bugfixed monitor script
This commit is contained in:
parent
c6b9ffcc69
commit
97e54e74c5
@ -3,8 +3,8 @@
|
||||
# toggle external monitor
|
||||
# by lukesmithxyz, checkout github.com/lukesmithxyz/voidrice
|
||||
|
||||
[ -z "$INTERNAL_MONITOR" ] && intern="LVDS1" || intern="$EXTERNAL_MONITOR"
|
||||
[ -z "$EXTERNAL_MONITOR" ] && extern="HDMI2" || extern="$INTERNAL_MONITOR"
|
||||
[ -z "$INTERNAL_MONITOR" ] && intern="LVDS1" || intern="$INTERNAL_MONITOR"
|
||||
[ -z "$EXTERNAL_MONITOR" ] && extern="HDMI2" || extern="$EXTERNAL_MONITOR"
|
||||
|
||||
case "$1" in
|
||||
toggle) (xrandr | grep "$extern disconnected")
|
||||
|
Loading…
x
Reference in New Issue
Block a user