diff options
author | Johannes Stoelp <johannes.stoelp@gmail.com> | 2023-07-15 23:50:26 +0200 |
---|---|---|
committer | Johannes Stoelp <johannes.stoelp@gmail.com> | 2023-07-15 23:50:26 +0200 |
commit | 47a21706f664d7dcc62664acd25a68f07778a7b6 (patch) | |
tree | 5aa5784fb6e4cbd64d9b7405a91d16cbb762080f | |
parent | f10997702155c0469ac0a4dd7296e1a5614dc669 (diff) | |
download | dotfiles-47a21706f664d7dcc62664acd25a68f07778a7b6.tar.gz dotfiles-47a21706f664d7dcc62664acd25a68f07778a7b6.zip |
i3wm: use xresources as colorscheme
-rw-r--r-- | i3wm.conf | 72 |
1 files changed, 52 insertions, 20 deletions
@@ -20,7 +20,7 @@ set $mod Mod4 # Use xcore fonts. -font 6x13 +font 7x13 # Use xft fonts, format (family list separated by ','): # font pango:<family list> [<style options>] <size> @@ -52,8 +52,8 @@ bindsym $mod+minus scratchpad show # -- BORDER KEY BINDINGS ------------------------------------------------------- -bindsym $mod+n border none -bindsym $mod+Shift+n border pixel 1 +bindsym $mod+Shift+n border none +bindsym $mod+n border pixel 1 bindsym $mod+b border normal # -- LAYOUT KEY BINDINGS ------------------------------------------------------- @@ -156,8 +156,37 @@ set $col_b_blu #2E9EF4 set $col_d_ora #ff8700 set $col_d_tur #458588 +# X colors variable resource fallback +set_from_resource $bg background #151515 +set_from_resource $fg foreground #d0d0d0 + +set_from_resource $black_d color0 #151515 +set_from_resource $black_l color8 #505050 + +set_from_resource $red_d color1 #4188ac +set_from_resource $red_l color9 #ac4142 + +set_from_resource $green_d color2 #90a959 +set_from_resource $green_l color10 #90a959 + +set_from_resource $yellow_d color3 #f4bf75 +set_from_resource $yellow_l color11 #f4bf75 + +set_from_resource $blue_d color4 #6a9fb5 +set_from_resource $blue_l color12 #6a9fb5 + +set_from_resource $magenta_d color5 #aa759f +set_from_resource $magenta_l color13 #aa759f + +set_from_resource $cyan_d color6 #75b5aa +set_from_resource $cyan_l color14 #75b5aa + +set_from_resource $white_d color7 #d0d0d0 +set_from_resource $white_l color15 #f5f5f5 + # -- WM COLORSCHEME ------------------------------------------------------------ +# Black/orange colorscheme. # class title-border title-body title-text split-indicator window-border #client.focused $col_b_gra $col_b_gra $col_x_whi $col_b_blu $col_b_gra #client.focused_inactive $col_d_gra $col_d_gra $col_x_whi $col_b_blu $col_d_gra @@ -167,14 +196,15 @@ set $col_d_tur #458588 # #client.background $col_x_whi -# Manjaro colorscheme. -client.focused #556064 #556064 #80FFF9 #FDF6E3 -client.focused_inactive #2F3D44 #2F3D44 #1ABC9C #454948 -client.unfocused #2F3D44 #2F3D44 #1ABC9C #454948 -client.urgent #CB4B16 #FDF6E3 #1ABC9C #268BD2 -client.placeholder #000000 #0c0c0c #ffffff #000000 +# X-colors colorscheme. +# class title-border title-body title-text split-indicator +client.focused $black_l $black_l $cyan_l $white_l +client.focused_inactive $black_d $black_d $cyan_l $black_l +client.unfocused $black_d $black_d $cyan_l $black_l +client.urgent $red_l $red_l $fg $black_l +client.placeholder $bg $bg $fg $black_l -client.background #2B2C2B +client.background $bg # -- STATUS BAR ---------------------------------------------------------------- @@ -186,6 +216,7 @@ bar { status_command i3status colors { + # Black/orange colorscheme. #background $col_x_bla #statusline $col_x_whi #separator $col_m_gra @@ -197,16 +228,17 @@ bar { #urgent_workspace $col_d_red $col_d_red $col_x_whi #binding_mode $col_d_tur $col_d_tur $col_x_whi - # Manjaro colorscheme. - background #222D31 - statusline #F9FAF9 - separator #454947 - - focused_workspace #F9FAF9 #16a085 #292F34 - active_workspace #595B5B #353836 #FDF6E3 - inactive_workspace #595B5B #222D31 #EEE8D5 - binding_mode #16a085 #2C2C2C #F9FAF9 - urgent_workspace #16a085 #FDF6E3 #E5201D + # X-colors colorscheme. + background $bg + statusline $fg + separator $black_l + + # class border background text + focused_workspace $white_l $cyan_l $black_l + active_workspace $black_l $bg $white_l + inactive_workspace $black_l $bg $fg + urgent_workspace $black_l $red_l $fg + binding_mode $black_l $red_l $fg } } |