From 89eb97ac2a30cb0243430d2ecee464a946f85e48 Mon Sep 17 00:00:00 2001 From: Konstantin Koslowski Date: Fri, 18 Dec 2020 20:02:24 +0100 Subject: [PATCH] sway: update host-specific configs --- {config.d => conf.d}/silence | 8 ++++++-- config | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) rename {config.d => conf.d}/silence (74%) diff --git a/config.d/silence b/conf.d/silence similarity index 74% rename from config.d/silence rename to conf.d/silence index d2c6b1f..39c7d9e 100644 --- a/config.d/silence +++ b/conf.d/silence @@ -1,11 +1,15 @@ ### silence specific settings -# vim: ft=i3config +# vim: ft=i3 +set $laptop eDP-1 ### Output configuration -output eDP-1 position 0 0 +output $laptop position 0 0 output DP-1 position 1920 0 output DP-1 disable +bindswitch --reload --locked lid:on output $laptop disable +bindswitch --reload --locked lid:off output $laptop enable + ### Input configuration input "1739:30383:CUST0001:00_06CB:76AF_Touchpad" { click_method clickfinger diff --git a/config b/config index 1a9a444..c9ac95f 100644 --- a/config +++ b/config @@ -212,4 +212,4 @@ bar { } include /etc/sway/config.d/* -include $HOME/.config/sway/config.d/$(hostname) +include $HOME/.config/sway/conf.d/$(hostname)