Merge pull request #30 from ns-ian/clamshell-patch
Remove angle brackets from laptop display name
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
# Clamshell Mode
|
# Clamshell Mode
|
||||||
set $laptop <eDP-1>
|
set $laptop eDP-1
|
||||||
bindswitch --reload --locked lid:on output $laptop disable
|
bindswitch --reload --locked lid:on output $laptop disable
|
||||||
bindswitch --reload --locked lid:off output $laptop enable
|
bindswitch --reload --locked lid:off output $laptop enable
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/bash
|
#!/usr/bin/bash
|
||||||
if cat /proc/acpi/button/lid/*/state | grep -q open; then
|
if cat /proc/acpi/button/lid/*/state | grep -q open; then
|
||||||
swaymsg output <eDP-1> enable
|
swaymsg output eDP-1 enable
|
||||||
else
|
else
|
||||||
swaymsg output <eDP-1> disable
|
swaymsg output eDP-1 disable
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user