aboutsummaryrefslogtreecommitdiff
path: root/sway/systems
diff options
context:
space:
mode:
Diffstat (limited to 'sway/systems')
-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