Browse Source

Added pywal color for focused window

red-hat-laptop
Kevin Mok 6 years ago
parent
commit
59eae98363
  1. 78
      configs/i3/config
  2. 10
      configs/sam-i3blocks/sam-i3blocks.conf

78
configs/i3/config

@ -71,7 +71,7 @@ bindsym Shift+F0 exec xbacklight -set 100
# menu {{{ # # menu {{{ #
# start dmenu (a program launcher) # start dmenu (a program launcher)
bindsym Mod4+Return exec dmenu_run
# bindsym Mod4+Return exec dmenu_run
# There also is the (new) i3-dmenu-desktop which only displays applications # There also is the (new) i3-dmenu-desktop which only displays applications
# shipping a .desktop file. It is a wrapper around dmenu, so you need that # shipping a .desktop file. It is a wrapper around dmenu, so you need that
# installed. # installed.
@ -145,6 +145,29 @@ bindsym $mod+a focus parent
# focus the child container # focus the child container
#bindsym $mod+d focus child #bindsym $mod+d focus child
# change container colors from pywal {{{ #
# Set colors from Xresources
# Change 'color7' and 'color2' to whatever colors you want i3 to use
# from the generated scheme.
# NOTE: The '#f0f0f0' in the lines below is the color i3 will use if
# it fails to get colors from Xresources.
set_from_resource $fg i3wm.color7 #f0f0f0
set_from_resource $bg i3wm.color2 #f0f0f0
# class border backgr. text indicator child_border
client.focused $bg $bg $fg $bg $bg
# client.unfocused $bg $bg $fg $bg $bg
# client.urgent $bg $bg $fg $bg $bg
# client.placeholder $bg $bg $fg $bg $bg
# client.background $bg
# PROTIP: You can also dynamically set dmenu's colors this way:
bindsym Mod4+Return exec dmenu_run -nb "$fg" -nf "$bg" -sb "$bg" -sf "$fg"
# }}} change container colors from pywal #
# }}} container display # # }}} container display #
# workspace {{{ # # workspace {{{ #
@ -276,15 +299,14 @@ bindsym $mod+control+l resize shrink width 3 px or 3 ppt
# gaps {{{ # # gaps {{{ #
# remove window titlebars # remove window titlebars
for_window [class="^.*"] border pixel 5
# for_window [class="^.*"] border pixel 2
for_window [class="^.*"] border pixel 4
set $inner_gaps 30 set $inner_gaps 30
set $outer_gaps 5 set $outer_gaps 5
# gaps inner $inner_gaps
# gaps outer $outer_gaps
gaps inner 0
gaps outer 0
gaps inner $inner_gaps
gaps outer $outer_gaps
# gaps inner 0
# gaps outer 0
# other gaps {{{ # # other gaps {{{ #
@ -310,25 +332,25 @@ set $sb_font Hack NF Bold
# benq bar {{{ # # benq bar {{{ #
bar { bar {
font pango:$sb_font 20
tray_output none
status_command i3blocks -c ~/.config/i3blocks/i3blocks.conf
output $benq
wheel_up_cmd nop
wheel_down_cmd nop
font pango:$sb_font 20
tray_output none
status_command i3blocks -c ~/.config/i3blocks/i3blocks.conf
output $benq
wheel_up_cmd nop
wheel_down_cmd nop
} }
# }}} benq bar # # }}} benq bar #
# # display {{{ #
# # # display {{{ #
# bar { # bar {
# font pango:$sb_font 24
# tray_output none
# status_command i3blocks -c ~/.config/i3blocks/i3blocks-display.conf
# output $samsung
# wheel_up_cmd nop
# wheel_down_cmd nop
# font pango:$sb_font 23
# tray_output none
# status_command i3blocks -c ~/.config/i3blocks/i3blocks-display.conf
# output $samsung
# wheel_up_cmd nop
# wheel_down_cmd nop
# } # }
# # }}} display # # # }}} display #
@ -336,13 +358,13 @@ bar {
# samsung bar {{{ # # samsung bar {{{ #
bar { bar {
output $samsung
# output $benq
status_command i3blocks -c ~/.config/sam-i3blocks/sam-i3blocks.conf
tray_output none
font pango:$sb_font 23
wheel_up_cmd nop
wheel_down_cmd nop
output $samsung
# output $benq
status_command i3blocks -c ~/.config/sam-i3blocks/sam-i3blocks.conf
tray_output none
font pango:$sb_font 23
wheel_up_cmd nop
wheel_down_cmd nop
} }
# }}} samsung bar # # }}} samsung bar #

10
configs/sam-i3blocks/sam-i3blocks.conf

@ -11,11 +11,13 @@ markup=pango
[spotify] [spotify]
command=python ~/linux-config/configs/i3blocks-scripts/spotify.py command=python ~/linux-config/configs/i3blocks-scripts/spotify.py
label= label=
# color=#006600
color=#388E8E
interval=5
# green
# color=#198c19
# aqua
color=#2d7272
interval=10
[time] [time]
command=date '+%H:%M' command=date '+%H:%M'
interval=30 interval=30
color=#cccccc
color=#acc0cd
Loading…
Cancel
Save