1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 | # fonts
# font for window titles. ISO 10646 = Unicode
font -*-anorexia-medium-*-*-*-11-*-*-*-*-*-iso10646-1
floating_modifier Mod4
new_window normal
#new_float 1pixel
# colors
#class border backgr. text
client.focused #121212 #101010 #9e8a8e
client.focused_inactive #101010 #191919 #999999
client.unfocused #101010 #191919 #999999
client.urgent #cd989a #cd989a #2e3436
client.background #1d1d1d
# keybinds
# start a terminal
bindsym Mod4+Return exec urxvtc
# kill focused window
bindsym Mod4+q kill
# start dmenu
bindsym Mod4+p exec dmenu_run -fn "-*-anorexia-medium-*-*-*-11-*-*-*-*-*-*-*" -nb "#101010" -nf "#999999" -sb "#191919" -sf "#825969" -b
# change focus
bindsym Mod4+j focus right
bindsym Mod4+k focus down
bindsym Mod4+i focus up
bindsym Mod4+l focus left
# alternatively, you can use the cursor keys:
bindsym Mod4+Left focus left
bindsym Mod4+Down focus down
bindsym Mod4+Up focus up
bindsym Mod4+Right focus right
# move focused window
bindsym Mod4+Shift+l move left
bindsym Mod4+Shift+k move down
bindsym Mod4+Shift+i move up
bindsym Mod4+Shift+j move right
# alternatively, you can use the cursor keys:
bindsym Mod4+Shift+Left move left
bindsym Mod4+Shift+Down move down
bindsym Mod4+Shift+Up move up
bindsym Mod4+Shift+Right move right
# split in horizontal orientation
bindsym Mod4+h split h
# split in vertical orientation
bindsym Mod4+v split v
# enter fullscreen mode for the focused container
bindsym Mod4+f fullscreen
# change container layout (stacked, tabbed, default)
bindsym Mod4+s layout stacking
bindsym Mod4+w layout tabbed
bindsym Mod4+e layout default
# toggle tiling / floating
bindsym Mod4+Shift+space floating toggle
# change focus between tiling / floating windows
bindsym Mod4+space focus mode_toggle
# focus the parent container
bindsym Mod4+a focus parent
# focus the child container
#bindsym Mod1+d focus child
# switch to workspace
bindsym Mod4+1 workspace 1: main
bindsym Mod4+2 workspace 2: web
bindsym Mod4+3 workspace 3: terms
bindsym Mod4+4 workspace 4: media
bindsym Mod4+5 workspace 5: off
bindsym Mod4+6 workspace 6: aux
bindsym Mod4+7 workspace 7
bindsym Mod4+8 workspace 8
bindsym Mod4+9 workspace 9
bindsym Mod4+0 workspace 10
# move focused container to workspace
bindsym Mod4+Shift+1 move workspace 1: main
bindsym Mod4+Shift+2 move workspace 2: web
bindsym Mod4+Shift+3 move workspace 3: terms
bindsym Mod4+Shift+4 move workspace 4: media
bindsym Mod4+Shift+5 move workspace 5: off
bindsym Mod4+Shift+6 move workspace 6: aux
bindsym Mod4+Shift+7 move workspace 7
bindsym Mod4+Shift+8 move workspace 8
bindsym Mod4+Shift+9 move workspace 9
bindsym Mod4+Shift+0 move workspace 10
# reload the configuration file
bindsym Mod4+Shift+c reload
# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
bindsym Mod4+Shift+r restart
# exit i3 (logs you out of your X session)
bindsym Mod4+Shift+q exit
# resize window (you can also use the mouse for that)
mode "resize" {
# These bindings trigger as soon as you enter the resize mode
# They resize the border in the direction you pressed, e.g.
# when pressing left, the window is resized so that it has
# more space on its left
bindsym l resize shrink left 10 px or 10 ppt
bindsym Shift+l resize grow left 10 px or 10 ppt
bindsym k resize shrink down 10 px or 10 ppt
bindsym Shift+k resize grow down 10 px or 10 ppt
bindsym i resize shrink up 10 px or 10 ppt
bindsym Shift+i resize grow up 10 px or 10 ppt
bindsym j resize shrink right 10 px or 10 ppt
bindsym Shift+j resize grow right 10 px or 10 ppt
# same bindings, but for the arrow keys
bindsym Left resize shrink left 10 px or 10 ppt
bindsym Shift+Left resize grow left 10 px or 10 ppt
bindsym Down resize shrink down 10 px or 10 ppt
bindsym Shift+Down resize grow down 10 px or 10 ppt
bindsym Up resize shrink up 10 px or 10 ppt
bindsym Shift+Up resize grow up 10 px or 10 ppt
bindsym Right resize shrink right 10 px or 10 ppt
bindsym Shift+Right resize grow right 10 px or 10 ppt
# back to normal: Enter or Escape
bindsym Return mode "default"
bindsym Escape mode "default"
}
bindsym Mod4+r mode "resize"
# Screenshot
bindsym 0xff61 exec scrot ~/Imágenes/Screenshots/screenshot_%Y_%m_%d_%H_%M_%S.png
# ncmpcpp
bindsym Mod4+XF86AudioPlay exec mpc play
bindsym Mod4+Shift+XF86AudioPlay exec mpc pause
bindsym Mod4+XF86AudioStop exec mpc stop
bindsym Mod4+XF86AudioNext exec mpc next
bindsym Mod4+XF86AudioPrev exec mpc prev
bindsym Mod4+XF86AudioRaiseVolume exec mpc volume +5
bindsym Mod4+XF86AudioLowerVolume exec mpc volume -5
bindsym Mod4+XF86AudioMute exec urxvtc -name ncmpcpp -e ncmpcpp
# Browser
bindsym XF86HomePage exec luakit
bindsym XF86Mail exec luakit -u myopera.com
# Start i3bar to display a workspace bar (plus the system information i3status
# finds out, if available)
bar {
mode dock
position top
font -*-anorexia-medium-*-*-*-11-*-*-*-*-*-*-*
workspace_buttons yes
colors {
background #101010
statusline #999999
focused_workspace #825969 #191919
active_workspace #825969 #101010
inactive_workspace #9a878f #191919
urgent_workspace #2e3436 #9a878f
}
}
#assign application to workspace
assign [class="^URxvt$" instance="^ncmpcpp$"] → 3: terms
assign [class="luakit"] → 2: web
assign [class="Firefox"] → 2: web
assign [class="Opera"] → 2: web
assign [class="Google-chrome"] → 2: web
assign [class="vlc"] → 4: media
assign [class="xv/mplayer"] → 4: media
assign [class="Gimp"] → 6: aux
assign [class="Virtualbox"] → 6: aux
assign [class="Zathura"] → 5: off
assign [class="libreoffice-writer"] → 5: off
|
x
Notes
Status bar: Dzen2, thanks to ramonovsky http://dotshare.it/dots/24/
Sky said about 12 years ago
Really nice! Can you share your .Xresources?
Julian said about 12 years ago
Here it is: http://dotshare.it/dots/328/
Sky said about 12 years ago
Thanks!
ab5tract said about 12 years ago
Would you mind shairng how you got your i3bar to have such an output?
I haven’t been able to find any documentation on how to put in icons and use horizontal value bars, etc.
Really impressive work!
rootbox said about 11 years ago
Where can i found this font?
kaslusimoes said about 10 years ago
I could'nt find the icons anywhere (all the original links are broken). Could you please share them anywhere? Thank you