From d1e8342a393cc1e124ebae15ff408dd6b919646a Mon Sep 17 00:00:00 2001 From: Tobias Schmidl Date: Thu, 24 Oct 2013 12:54:51 +0200 Subject: [PATCH] More coloring for i3 --- i3-config | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 55 insertions(+), 1 deletion(-) diff --git a/i3-config b/i3-config index 4053ee4..69c6d53 100644 --- a/i3-config +++ b/i3-config @@ -67,7 +67,8 @@ bindsym $mod+n exec clementine --next bindsym $mod+Shift+Q kill # 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 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 +# 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 # finds out, if available) bar { @@ -185,13 +209,43 @@ bar { tray_output xinerama-0 status_command i3status 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 { output xinerama-1 mode hide tray_output none hidden_state hide 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 + } + }