From 32bfefb810b16920b2882e638045959991b46aa6 Mon Sep 17 00:00:00 2001 From: AnInternetTroll Date: Sun, 5 Jun 2022 20:44:14 +0200 Subject: Minor updates --- .config/sway/clamshell.sh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 .config/sway/clamshell.sh (limited to '.config/sway/clamshell.sh') diff --git a/.config/sway/clamshell.sh b/.config/sway/clamshell.sh new file mode 100755 index 0000000..b5b9388 --- /dev/null +++ b/.config/sway/clamshell.sh @@ -0,0 +1,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 -- cgit v1.2.3 eta name="viewport" content="width=device-width, initial-scale=1" />
aboutsummaryrefslogtreecommitdiff
Commit message (Expand)AuthorFilesLines
2024-10-05guix: add initial configLuca Matei Pintilie2-0/+178
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