aboutsummaryrefslogtreecommitdiff
path: root/.config/sway/clamshell.sh
blob: b5b9388b790cefe406b0eed65e346ffae35bf2b2 (plain) (blame)
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
mp;follow=1'>Bump neovim config to 0.9 and add undotree and test related commandsLuca Matei Pintilie4-26/+47 2023-04-07Fix neovim spelllangLuca Matei Pintilie1-3/+1 2023-04-07Hyprland fixesLuca Matei Pintilie1-23/+25 2023-04-07Add mutt/neomutt configLuca Matei Pintilie5-0/+206 2023-04-07Neovim improvementsLuca Matei Pintilie5-27/+14 2023-04-05Better hyprland configLuca Matei Pintilie3-10/+42 2023-04-02Remove beacon config and add mini.commentLuca Matei Pintilie1-13/+34