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
29805551d594eca&follow=1'>Exclude LICENSE from bootstrap.shLuca Matei Pintilie1-1/+1 2023-02-05Better i3 exit promptLuca Matei Pintilie2-3/+8 2023-02-04Switch to alacrittyLuca Matei Pintilie2-2/+2 2023-02-04Fix tmux config and update alacrittyLuca Matei Pintilie4-3/+11 2023-02-04Fill out the README a bit moreLuca Matei Pintilie1-0/+33