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