Added move mode

This commit is contained in:
dbroqua 2021-01-14 12:49:59 +01:00
parent f7f3de43c5
commit 385af4bdfb

View file

@ -167,11 +167,11 @@ bindsym $mod+n exec "/home/dbroqua/Softwares/Zettlr"
bindsym --locked XF86AudioRaiseVolume exec pactl set-sink-volume @DEFAULT_SINK@ +5%
bindsym --locked XF86AudioLowerVolume exec pactl set-sink-volume @DEFAULT_SINK@ -5%
bindsym --locked XF86AudioMute exec pactl set-sink-mute @DEFAULT_SINK@ toggle
bindsym $mod+shift+p exec "$term -t 'Pulse Mixer' -e pulsemixer"
bindsym XF86AudioPlay exec ~/Bin/music.sh PlayPause
bindsym XF86AudioPrev exec ~/Bin/music.sh Previous
bindsym XF86AudioNext exec ~/Bin/music.sh Next
bindsym $mod+m exec "$term -t 'Music Player Client' -e ncmpcpp"
bindsym $mod+shift+p exec "$term -t 'Pulse Mixer' -e pulsemixer"
bindsym $mod+shift+m exec "$term -t 'Music Player Client' -e ncmpcpp"
#
# Brightness
@ -240,10 +240,8 @@ bindsym $mod+Shift+space floating toggle
# Swap focus between the tiling area and the floating area
bindsym $mod+space focus mode_toggle
# Resizing containers:
# Resizing containers
bindsym $mod+r mode "resize"
mode "resize" {
bindsym h resize shrink width 10px
bindsym j resize grow height 10px
@ -254,6 +252,18 @@ mode "resize" {
bindsym Escape mode "default"
}
# Mode containers
bindsym $mod+m mode "move"
mode "move" {
bindsym h move left 10px
bindsym j move down 10px
bindsym k move up 10px
bindsym l move right 10px
bindsym Return mode "default"
bindsym Escape mode "default"
}
### Default placement
#