Remove angle brackets from laptop display name

This commit is contained in:
Ian Wright
2022-08-21 15:00:20 -04:00
parent fd4e5f59cd
commit 260cd3a158
2 changed files with 4 additions and 4 deletions

View File

@@ -1,6 +1,6 @@
# Clamshell Mode
set $laptop <eDP-1>
set $laptop eDP-1
bindswitch --reload --locked lid:on output $laptop disable
bindswitch --reload --locked lid:off output $laptop enable
exec_always ~/.config/sway/scripts/clamshell.sh
exec_always ~/.config/sway/scripts/clamshell.sh

View File

@@ -1,6 +1,6 @@
#!/usr/bin/bash
if cat /proc/acpi/button/lid/*/state | grep -q open; then
swaymsg output <eDP-1> enable
swaymsg output eDP-1 enable
else
swaymsg output <eDP-1> disable
swaymsg output eDP-1 disable
fi