*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 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+Shift+s split v
  57 bindsym Mod4+Shift+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+b exec --no-startup-id polybar-msg cmd toggle
  63 bindsym Mod4+Control+g gaps inner current toggle 30; gaps horizontal current toggle 300
  64 
  65 bindsym Mod4+Control+a focus parent
  66 bindsym Mod4+Control+Shift+a focus child
  67 
  68 bindsym Mod4+Control+Shift+s layout splitv; move left; resize set 55ppt; split v
  69 
  70 # }}}
  71 # Windows {{{
  72 
  73 set $i3 exec --no-startup-id i3-
  74 
  75 floating_modifier Mod4
  76 bindsym --release button2 kill
  77 
  78 bindsym Mod4+q      kill
  79 bindsym Mod4+Return $i3swap
  80 
  81 bindsym Mod4+z       fullscreen toggle
  82 bindsym Mod4+Shift+z floating   toggle
  83 
  84 bindsym Mod1+Tab $i3focus next
  85 bindsym Mod1+Shift+Tab $i3focus prev
  86 
  87 bindsym Mod4+Up    focus up
  88 bindsym Mod4+Down  focus down
  89 bindsym Mod4+Left  focus left
  90 bindsym Mod4+Right focus right
  91 
  92 bindsym Mod4+Shift+Up    move up   50px
  93 bindsym Mod4+Shift+Down  move down 50px
  94 bindsym Mod4+Shift+Left  $i3move left  50px
  95 bindsym Mod4+Shift+Right $i3move right 50px
  96 
  97 bindsym Mod4+Control+Up    $i3resize up    20
  98 bindsym Mod4+Control+Down  $i3resize down  20
  99 bindsym Mod4+Control+Left  $i3resize left  20
 100 bindsym Mod4+Control+Right $i3resize right 20
 101 
 102 # }}}
 103 # Rules {{{
 104 
 105 set $fl floating enable
 106 
 107 for_window [window_role="pop-up"] $fl
 108 for_window [window_role="page-info|About|Organizer"] $fl
 109 
 110 for_window [title="Blender Preferences"] $fl
 111 for_window [instance="VirtualBox Machine"] $fl
 112 for_window [class="mpv|Sxiv|Gpic*|Xviewer|Wine"] $fl
 113 for_window [class="Xfce4-appfinder|Lxappearance|Pavucontrol"] $fl
 114 
 115 # }}}
 116 
 117 # vim: ft=i3config