diff options
| author | ryukamish <[email protected]> | 2026-06-06 01:21:38 +0530 |
|---|---|---|
| committer | ryukamish <[email protected]> | 2026-06-06 01:21:38 +0530 |
| commit | 89afa6de2800207d2b3f33bc896b6bf3eaf3b706 (patch) | |
| tree | 04f3b27c5a61f6ff4082f9451a19c4503f3d75a9 /usr/local/bin/sway-lid | |
| parent | 16fc24e1786d47386db69737395e23411224ae96 (diff) | |
add: user scripts
Diffstat (limited to 'usr/local/bin/sway-lid')
| -rwxr-xr-x | usr/local/bin/sway-lid | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/usr/local/bin/sway-lid b/usr/local/bin/sway-lid new file mode 100755 index 0000000..6300fb2 --- /dev/null +++ b/usr/local/bin/sway-lid @@ -0,0 +1,5 @@ +#!/bin/sh +# lid.sh +if swaymsg -t get_outputs | grep -q '"HDMI-A-1"'; then + swaymsg output eDP-1 disable +fi |
