Update key binding

This commit is contained in:
2023-09-22 09:03:27 +02:00
parent 0b85dadf15
commit e380068dce
2 changed files with 4 additions and 2 deletions

View File

@@ -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) # 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+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 ### Laptop screen open / close
bindswitch --reload lid:on output eDP-1 disabel bindswitch --reload lid:on output eDP-1 disabel
bindswitch --reload lid:off output eDP-1 enable bindswitch --reload lid:off output eDP-1 enable

View File

@@ -1,7 +1,7 @@
# You can "split" the current object of your focus with # You can "split" the current object of your focus with
# $mod+b or $mod+v, for horizontal and vertical splits # $mod+b or $mod+v, for horizontal and vertical splits
# respectively. # respectively.
bindsym $mod+b splith bindsym $mod+h splith
bindsym $mod+v splitv bindsym $mod+v splitv
# Switch the current container between different layout styles # Switch the current container between different layout styles
@@ -19,4 +19,4 @@ bindsym $mod+Shift+space floating toggle
bindsym $mod+space focus mode_toggle bindsym $mod+space focus mode_toggle
# Move focus to the parent container # Move focus to the parent container
bindsym $mod+a focus parent bindsym $mod+a focus parent