From e380068dce69091dd7b370ee125c4e212a2253bb Mon Sep 17 00:00:00 2001 From: Florestan Bredow Date: Fri, 22 Sep 2023 09:03:27 +0200 Subject: [PATCH] Update key binding --- .config/sway/config | 2 ++ .config/sway/config.d/70-keybinding-layout.conf | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.config/sway/config b/.config/sway/config index b618564..1d69aa3 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -82,6 +82,8 @@ output eDP-1 bg "$HOME/nextcloud/perso/images/wallapper_desktop.png" fill # Exit sway (logs you out of your Wayland session) bindsym $mod+Shift+e exec swaynag -t warning -m 'You pressed the exit shortcut. Do you really want to exit sway? This will end your Wayland session.' -B 'Yes, exit sway' 'swaymsg exit' + bindsym $mod+l exec swaylock + ### Laptop screen open / close bindswitch --reload lid:on output eDP-1 disabel bindswitch --reload lid:off output eDP-1 enable diff --git a/.config/sway/config.d/70-keybinding-layout.conf b/.config/sway/config.d/70-keybinding-layout.conf index 375eb8a..f3a3d7b 100644 --- a/.config/sway/config.d/70-keybinding-layout.conf +++ b/.config/sway/config.d/70-keybinding-layout.conf @@ -1,7 +1,7 @@ # You can "split" the current object of your focus with # $mod+b or $mod+v, for horizontal and vertical splits # respectively. -bindsym $mod+b splith +bindsym $mod+h splith bindsym $mod+v splitv # Switch the current container between different layout styles @@ -19,4 +19,4 @@ bindsym $mod+Shift+space floating toggle bindsym $mod+space focus mode_toggle # Move focus to the parent container -bindsym $mod+a focus parent \ No newline at end of file +bindsym $mod+a focus parent