*nohtml*

config/i3/config

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