More coloring for i3

This commit is contained in:
Tobias Schmidl 2013-10-24 12:54:51 +02:00
parent 00b8af1715
commit d1e8342a39

View file

@ -67,7 +67,8 @@ bindsym $mod+n exec clementine --next
bindsym $mod+Shift+Q kill bindsym $mod+Shift+Q kill
# start dmenu (a program launcher) # start dmenu (a program launcher)
bindsym $mod+d exec dmenu_run #Colors: S_base2 <--> S_base01 (Selected is vice versa)
bindsym $mod+d exec dmenu_run -sb '#586e75' -sf '#eee8d5' -nb '#eee8d5' -nf '#586e75'
# change focus # change focus
bindsym $mod+Left focus left bindsym $mod+Left focus left
@ -178,6 +179,29 @@ for_window [title="KCalc"] floating enable; border normal
for_window [class="Qalculate"] floating enable; border normal for_window [class="Qalculate"] floating enable; border normal
# Color settings
# The point here is to keep the hue difference between text and background constant,
# even if the colors change.
# We get this by using only fixed pairs:
# S_base03 <--> S_base0
# S_base02 <--> S_base1
# S_base01 <--> S_base2
# S_base00 <--> S_base3
# class border backgr. text indicator
# S_base03 S_base3 S_base03 S_base0
client.focused #002b36 #839496 #002b36 #839496
# S_base03 S_base01 S_base2 S_base01
client.focused_inactive #002b36 #586e75 #eee8d5 #586e75
# S_base03 S_base03 S_base0 S_base03
client.unfocused #002b36 #002b36 #839496 #002b36
# S_base03 S_red S_base03 S_base03
client.urgent #002b36 #dc322f #002b36 #dc322f
# Start i3bar to display a workspace bar (plus the system information i3status # Start i3bar to display a workspace bar (plus the system information i3status
# finds out, if available) # finds out, if available)
bar { bar {
@ -185,13 +209,43 @@ bar {
tray_output xinerama-0 tray_output xinerama-0
status_command i3status status_command i3status
position top position top
colors {
# background is S_base03
background #002b36
# statusline is S_base0
statusline #839496
# separator is S_base00
separator #657b83
# settings copied from color.x scheme above, keep in sync!
# border backgr. text
focused_workspace #002b36 #839496 #002b36
active_workspace #002b36 #586e75 #eee8d5
inactive_workspace #002b36 #002b36 #839496
urgent_workspace #002b36 #dc322f #002b36
} }
}
bar { bar {
output xinerama-1 output xinerama-1
mode hide mode hide
tray_output none tray_output none
hidden_state hide hidden_state hide
position top position top
# Color settings see bar for LVDS1
colors {
background #002b36
statusline #839496
separator #657b83
focused_workspace #002b36 #839496 #002b36
active_workspace #002b36 #586e75 #eee8d5
inactive_workspace #002b36 #002b36 #839496
urgent_workspace #002b36 #dc322f #002b36
}
} }