Initial Commit
This commit is contained in:
7
.config/sway/scripts/clamshell.sh
Executable file
7
.config/sway/scripts/clamshell.sh
Executable file
@@ -0,0 +1,7 @@
|
||||
#!/usr/bin/bash
|
||||
# change output
|
||||
if cat /proc/acpi/button/lid/LID/state | grep -q open; then
|
||||
swaymsg output <eDP-1> enable
|
||||
else
|
||||
swaymsg output <eDP-1> disable
|
||||
fi
|
||||
Reference in New Issue
Block a user