[download]

config/i3/config

   1 title_align center
   2 font pango:Terminus 9
   3 default_border normal 0
   4 
   5 gaps inner 30
   6 gaps horizontal 300
   7 smart_gaps inverse_outer
   8 
   9 set $i3 exec --no-startup-id ~/.config/i3/
  10 exec_always  --no-startup-id ~/.config/i3/gaps
  11 
  12 # Colors {{{
  13 
  14 set_from_resource $bg i3.background
  15 set_from_resource $ba i3.background_rgba
  16 set_from_resource $fg i3.foreground
  17 set_from_resource $ug i3.color3
  18 
  19 client.focused          $fg $fg $bg
  20 client.unfocused        $ba $ba $fg
  21 client.focused_inactive $ba $ba $fg
  22 client.urgent           $ug $ug $bg
  23 
  24 # }}}
  25 # Keys {{{
  26 
  27 bindsym Mod4+Tab workspace next
  28 bindsym Mod4+Shift+Tab workspace prev
  29 
  30 bindsym Mod4+1 workspace 1
  31 bindsym Mod4+2 workspace 2
  32 bindsym Mod4+3 workspace 3
  33 bindsym Mod4+4 workspace 4
  34 bindsym Mod4+5 workspace 5
  35 bindsym Mod4+6 workspace 6
  36 bindsym Mod4+7 workspace 7
  37 bindsym Mod4+8 workspace 8
  38 bindsym Mod4+9 workspace 9
  39 bindsym Mod4+0 workspace 10
  40 
  41 bindsym Mod4+Shift+1 move to workspace 1
  42 bindsym Mod4+Shift+2 move to workspace 2
  43 bindsym Mod4+Shift+3 move to workspace 3
  44 bindsym Mod4+Shift+4 move to workspace 4
  45 bindsym Mod4+Shift+5 move to workspace 5
  46 bindsym Mod4+Shift+6 move to workspace 6
  47 bindsym Mod4+Shift+7 move to workspace 7
  48 bindsym Mod4+Shift+8 move to workspace 8
  49 bindsym Mod4+Shift+9 move to workspace 9
  50 bindsym Mod4+Shift+0 move to workspace 10
  51 
  52 bindsym Mod4+Shift+s split v
  53 bindsym Mod4+Shift+v split h
  54 
  55 bindsym Mod4+Control+s layout splitv
  56 bindsym Mod4+Control+v layout splith
  57 bindsym Mod4+Control+t layout tabbed
  58 
  59 bindsym Mod4+Control+g gaps inner current toggle 30; gaps horizontal current toggle 300
  60 
  61 floating_modifier Mod4
  62 bindsym --release button2 kill
  63 
  64 bindsym Mod4+q       kill
  65 bindsym Mod4+z       $i3swap
  66 bindsym Mod4+Shift+z fullscreen toggle
  67 bindsym Mod4+Return  floating   toggle
  68 
  69 bindsym Mod1+Tab $i3focus next
  70 bindsym Mod1+Shift+Tab $i3focus prev
  71 
  72 bindsym Mod4+Up    focus up
  73 bindsym Mod4+Down  focus down
  74 bindsym Mod4+Left  focus left
  75 bindsym Mod4+Right focus right
  76 
  77 bindsym Mod4+Shift+Up    move up       50px
  78 bindsym Mod4+Shift+Down  move down     50px
  79 bindsym Mod4+Shift+Left  $i3move left  50px
  80 bindsym Mod4+Shift+Right $i3move right 50px
  81 
  82 bindsym Mod4+Control+Up    $i3resize up    20
  83 bindsym Mod4+Control+Down  $i3resize down  20
  84 bindsym Mod4+Control+Left  $i3resize left  20
  85 bindsym Mod4+Control+Right $i3resize right 20
  86 
  87 # }}}
  88 # Rules {{{
  89 
  90 set $fl floating enable
  91 
  92 for_window [window_role="pop-up"] $fl
  93 for_window [window_role="page-info|About|Organizer"] $fl
  94 
  95 for_window [title="Blender Preferences"] $fl
  96 for_window [instance="VirtualBox Machine"] $fl
  97 for_window [class="mpv|Sxiv|Gpic*|Xviewer|Wine"] $fl
  98 for_window [class="Xfce4-appfinder|Lxappearance|Pavucontrol"] $fl
  99 
 100 # }}}
 101 
 102 # vim: ft=i3config