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
/+19 2022-10-08Neovim colorizer changes and save and quit keybinds addedLuca Matei Pintilie3-3/+20 2022-09-28Cooler deno plugin and terminal shortcut for neovimLuca Matei Pintilie6-33/+46 2022-09-18Improve enviormentLuca Matei Pintilie2-4/+5 2022-09-18Neovim config updatesLuca Matei Pintilie3-50/+64 2022-09-17Don't use tsserver in .git foldersLuca Matei Pintilie1-1/+1 2022-09-17Add more lsp configs and keybindsLuca Matei Pintilie3-15/+113 2022-09-10Neovim wrap cursor at the end of lineLuca Matei Pintilie1-0/+2 2022-09-08New neovim configLuca Matei Pintilie8-362/+355 2022-09-08Add i3Luca Matei Pintilie3-0/+293 2022-08-14Add more configs for wezterm, swappy, electron and git, as well as a better n...Luca Matei Pintilie8-34/+206 2022-07-01Sway changes and disable annoying neovim pluginLuca Matei Pintilie3-4/+8 2022-06-21Thinkpad gentoo settings addedLuca Matei Pintilie1-2/+5 2022-06-21Update sway configAnInternetTroll1-0/+6 2022-06-05Minor updatesAnInternetTroll5-10/+35 2022-05-21Add dracula themed xresources to .configAnInternetTroll2-1/+55 2022-05-21Add bspwm and configure sway a bit moreAnInternetTroll7-11/+665 2022-05-18Remove action button from the wofi commandAnInternetTroll1-1/+1 2022-05-18Use footAnInternetTroll2-0/+189 2022-05-18Remove foot draculaAnInternetTroll2-4/+1