From fc72eed505a591cd03df62988abbc65a95a75d1b Mon Sep 17 00:00:00 2001 From: foosinn Date: Tue, 5 Jan 2021 12:42:53 +0100 Subject: [PATCH] readd add lid switch --- dotfiles/sway/config | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dotfiles/sway/config b/dotfiles/sway/config index 7d6492a..9d791ae 100644 --- a/dotfiles/sway/config +++ b/dotfiles/sway/config @@ -37,6 +37,8 @@ bindsym $mod+z exec swaylock -t -i /home/stefan/Downloads/bg.jpg --scaling=fill bindsym $mod+Up exec light -A 5 bindsym $mod+Down exec light -U 5 bindsym Print exec grim -g "$(slurp)" - | wl-copy -t image/png +bindswitch --reload --locked lid:on output eDP-1 disable +bindswitch --reload --locked lid:off output eDP-1 enable # app rules for_window [app_id="org.keepassxc.KeePassXC"] floating enable