aboutsummaryrefslogtreecommitdiff
path: root/sway
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2024-02-05 00:45:22 +0100
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2024-02-05 00:45:22 +0100
commit508a58bb1e92949dbffd6483ad3b8551456a3ed2 (patch)
treec689e3293b3511956d99fea8e75583aa5af4feca /sway
parent943d9aaa6a658f2d1f6bf5d67e81c86db0bca9af (diff)
downloaddotfiles-508a58bb1e92949dbffd6483ad3b8551456a3ed2.tar.gz
sway laptop system
Diffstat (limited to 'sway')
-rw-r--r--sway/systems/laptop.conf5
1 files changed, 5 insertions, 0 deletions
diff --git a/sway/systems/laptop.conf b/sway/systems/laptop.conf
new file mode 100644
index 0000000..c137ce9
--- /dev/null
+++ b/sway/systems/laptop.conf
@@ -0,0 +1,5 @@
+# vi: ft=i3config
+
+set $laptop eDP-1
+bindswitch --reload --locked lid:on output $laptop disable
+bindswitch --reload --locked lid:off output $laptop enable