[ADD][I3] Workspace scrolling using direction keys

This commit is contained in:
Bruno BELANYI 2020-06-13 17:02:40 +02:00
parent 90e8ca92fd
commit 7a9be1804a

View file

@ -11,6 +11,8 @@
set $mod Mod4 set $mod Mod4
set $alt Mod1
# Font for window titles. Will also be used by the bar unless a different font # Font for window titles. Will also be used by the bar unless a different font
# is used in the bar {} block below. # is used in the bar {} block below.
# This font is widely installed, provides lots of unicode glyphs, right-to-left # This font is widely installed, provides lots of unicode glyphs, right-to-left
@ -84,6 +86,13 @@ bindsym $mod+Control+Shift+Down move container to output down
bindsym $mod+Control+Shift+Up move container to output up bindsym $mod+Control+Shift+Up move container to output up
bindsym $mod+Control+Shift+Right move container to output right bindsym $mod+Control+Shift+Right move container to output right
# Scroll through workspaces on given screen
bindsym $mod+$alt+$left workspace prev_on_output
bindsym $mod+$alt+$right workspace next_on_output
# Alternatively, you can use the cursor keys:
bindsym $mod+$alt+Left workspace prev_on_output
bindsym $mod+$alt+Right workspace next_on_output
# Move focused window # Move focused window
bindsym $mod+Shift+$left move left 10 px bindsym $mod+Shift+$left move left 10 px
bindsym $mod+Shift+$down move down 10 px bindsym $mod+Shift+$down move down 10 px