[download]

config/i3/config

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