Make i3 maps dynamic and add move to output

This commit is contained in:
Pavle Portic 2019-06-08 02:13:24 +02:00
parent 822a4b46e9
commit c65aa36289
Signed by: TheEdgeOfRage
GPG Key ID: 6758ACE46AA2A849
1 changed files with 19 additions and 17 deletions

View File

@ -26,10 +26,14 @@ set $color16 #d65d0e
set $color17 #fe8019
set $mod Mod4
set $left h
set $up n
set $down e
set $right i
# Font for window titles. Will also be used by the bar unless a different font
# is used in the bar {} block below.
font pango:Pragmata Pro, FontAwesome 11
font pango:Pragmata Pro, FontAwesome 12
#class background border text split
client.focused $color8 $color8 $foreground $color7
@ -52,24 +56,22 @@ bindsym $mod+space exec "rofi -show drun"
bindsym $mod+BackSpace exec "rofi -show drun"
# change focus
bindsym $mod+h focus left
bindsym $mod+n focus down
bindsym $mod+e focus up
bindsym $mod+i focus right
bindsym $mod+Left focus left
bindsym $mod+Down focus down
bindsym $mod+Up focus up
bindsym $mod+Right focus right
bindsym $mod+$left focus left
bindsym $mod+$down focus down
bindsym $mod+$up focus up
bindsym $mod+$right focus right
# move focused window
bindsym $mod+Shift+h move left
bindsym $mod+Shift+n move down
bindsym $mod+Shift+e move up
bindsym $mod+Shift+i move right
bindsym $mod+Shift+Left move left
bindsym $mod+Shift+Down move down
bindsym $mod+Shift+Up move up
bindsym $mod+Shift+Right move right
bindsym $mod+Shift+$left move left
bindsym $mod+Shift+$down move down
bindsym $mod+Shift+$up move up
bindsym $mod+Shift+$right move right
# move workspace to other outputs
bindsym $mod+Control+$left move workspace to output left
bindsym $mod+Control+$down move workspace to output down
bindsym $mod+Control+$up move workspace to output up
bindsym $mod+Control+$right move workspace to output right
# split in horizontal orientation
bindsym $mod+c split h