aboutsummaryrefslogblamecommitdiff
path: root/.config/sway/clamshell.sh
blob: b5b9388b790cefe406b0eed65e346ffae35bf2b2 (plain) (tree)
1
2
3
4
5
6
7
8
9








                                                     
#!/usr/bin/env sh

laptop_screen=eDP-1

if grep -q open /proc/acpi/button/lid/LID/state; then
    swaymsg output $laptop_screen enable
else
    swaymsg output $laptop_screen disable
fi
24-09-15 20:43:40 +0000'>2024-09-15nvim: update deps and formatLuca Matei Pintilie3-27/+37 2024-08-10swayrbar: fix scriptsLuca Matei Pintilie2-15/+15 2024-08-03silence warningsLuca Matei Pintilie3-50/+39 2024-07-29pipewire: add configLuca Matei Pintilie2-0/+2 2024-07-15various wayland fixesLuca Matei Pintilie3-1/+8 2024-07-14implement turnstile-style servicesLuca Matei Pintilie17-48/+94 2024-07-11dwm(bar): silence errors a bitLuca Matei Pintilie1-16/+36 2024-07-11sway: use hyprlock, swaysome, swayr and swaybarLuca Matei Pintilie1-51/+59 2024-07-11swaylock: set background imageLuca Matei Pintilie1-2/+5 2024-07-11hyprlock: add configLuca Matei Pintilie2-0/+132 2024-07-11swayrbar: add configLuca Matei Pintilie6-0/+252