feat: Initial commit
This commit is contained in:
8
dot_config/private_sway/scripts/executable_clamshell.sh
Normal file
8
dot_config/private_sway/scripts/executable_clamshell.sh
Normal file
@@ -0,0 +1,8 @@
|
||||
#!/usr/bin/bash
|
||||
if [-d "/proc/acpi" ]; then
|
||||
if cat /proc/acpi/button/lid/*/state | grep -q open; then
|
||||
swaymsg output eDP-1 enable
|
||||
else
|
||||
swaymsg output eDP-1 disable
|
||||
fi
|
||||
fi
|
||||
Reference in New Issue
Block a user