Fixed Powerline gaps by using powerline default font for termite, vim keybindings for i3 window-focus, scrot instead of i3-scrot

This commit is contained in:
TuDatTr
2018-03-15 11:32:26 +01:00
parent 709020c441
commit f4a1e27deb
6 changed files with 63 additions and 41 deletions

View File

@@ -118,6 +118,8 @@ exec --no-startup-id setxkbmap -option "ctrl:swapcaps"
###############################################################################
################################# Keybindings #################################
###############################################################################
# shutdown
bindsym $mod+Shift+s exec poweroff
# start a terminal
bindsym $mod+Return exec termite
@@ -142,26 +144,25 @@ bindsym $mod+b exec env GTK_THEME=Materia:light waterfox
bindsym $mod+e exec pcmanfm
bindsym $mod+m exec thunderbird
bindsym Print exec --no-startup-id i3-scrot
bindsym $mod+Print --release exec --no-startup-id i3-scrot -w
bindsym $mod+Shift+Print --release exec --no-startup-id i3-scrot -s
bindsym $mod+Shift+h exec xdg-open /usr/share/doc/manjaro/i3_help.pdf
bindsym Print exec --no-startup-id scrot
bindsym Shift+Print --release exec --no-startup-id scrot -f
bindsym control+Shift+Print --release exec --no-startup-id scrot -s
bindsym $mod+Ctrl+x --release exec --no-startup-id xkill
# change focus
bindsym $mod+j focus left
bindsym $mod+k focus down
bindsym $mod+l focus up
bindsym $mod+semicolon focus right
bindsym $mod+h focus left
bindsym $mod+j focus down
bindsym $mod+k focus up
bindsym $mod+l focus right
# move focused window
bindsym $mod+Shift+j move left
bindsym $mod+Shift+k move down
bindsym $mod+Shift+l move up
bindsym $mod+Shift+semicolon move right
bindsym $mod+Shift+h move left
bindsym $mod+Shift+j move down
bindsym $mod+Shift+k move up
bindsym $mod+Shift+l move right
# split orientation
bindsym $mod+h split h;exec notify-send 'tile horizontally'
bindsym $mod+c split h;exec notify-send 'tile horizontally'
bindsym $mod+v split v;exec notify-send 'tile vertically'
bindsym $mod+q split toggle
@@ -174,9 +175,6 @@ bindsym $mod+Shift+space floating toggle
# change focus between tiling / floating windows
bindsym $mod+space focus mode_toggle
# toggle sticky
bindsym $mod+Shift+s sticky toggle
# focus the parent container
bindsym $mod+a focus parent
@@ -199,10 +197,10 @@ bindsym $mod+Shift+r restart
bindsym $mod+r mode "resize"
mode "resize" {
# These bindings trigger as soon as you enter the resize mode
bindsym j resize shrink width 5 px or 5 ppt
bindsym h resize shrink width 5 px or 5 ppt
bindsym k resize grow height 5 px or 5 ppt
bindsym l resize shrink height 5 px or 5 ppt
bindsym semicolon resize grow width 5 px or 5 ppt
bindsym j resize shrink height 5 px or 5 ppt
bindsym l resize grow width 5 px or 5 ppt
# exit resize mode: Enter or Escape
bindsym $mod+g mode "default"