diff options
author | Urbain Vaes <urbain@vaes.uk> | 2018-11-09 19:00:41 +0100 |
---|---|---|
committer | Urbain Vaes <urbain@vaes.uk> | 2018-11-10 13:05:56 +0100 |
commit | 5b2db8132927bceb9e0907a07ad6e71406f81bbe (patch) | |
tree | 2fbe722bb4360a162984d7aa3bc51a7fbe83755b /i3 | |
parent | d81e6c581bd649743efa48e4b33886446d8c00e0 (diff) |
[i3blocks] Add ram usage
Diffstat (limited to 'i3')
-rw-r--r-- | i3/.config/i3/config | 35 | ||||
-rw-r--r-- | i3/.config/i3blocks/config | 4 |
2 files changed, 30 insertions, 9 deletions
diff --git a/i3/.config/i3/config b/i3/.config/i3/config index fd90b91..1013398 100644 --- a/i3/.config/i3/config +++ b/i3/.config/i3/config @@ -119,17 +119,40 @@ bindsym $mod+r mode "resize" for_window [class="^.*"] border pixel 2 +set $background #3a3a3a +set $foreground #d0d0d0 +set $focused_bg #4a4a4a +set $focused_bg #875f5f +set $focused_fg #ffd787 +set $focused_fg #ffffff +set $active_fg #87afd7 +set $inactive_fg #aaaaaa +set $inactive_bg #3a3a3a +set $urgent_bg #d7afaf +set $border #875f5f + +# class border backgr. text indic. child_border +client.focused $focused_bg $focused_bg $focused_fg $urgent_bg $border +client.focused_inactive $focused_bg $focused_bg $focused_fg $urgent_bg $background +client.unfocused $inactive_bg $inactive_bg $inactive_fg $urgent_bg $background +client.urgent $urgent_bg $urgent_bg $background $urgent_bg $urgent_bg +client.background $background +smart_borders on + bar { status_command i3blocks i3bar_command i3bar -t modifier none colors { - background #00000088 - inactive_workspace #0000aa #00000088 #ffffff - focused_workspace #4c7899 #285577ff #ffffff - active_workspace #333333 #5f676a88 #ffffff - inactive_workspace #333333 #222222ff #888888 - urgent_workspace #2f343a #90000088 #ffffff + background $background + statusline $foreground + separator $border + + # class border backgr. text + focused_workspace $focused_bg $focused_bg $focused_fg + active_workspace $background $background $active_fg + inactive_workspace $inactive_bg $inactive_bg $inactive_fg + urgent_workspace $urgent_bg $urgent_bg #303030 } } diff --git a/i3/.config/i3blocks/config b/i3/.config/i3blocks/config index c11f93c..1a047de 100644 --- a/i3/.config/i3blocks/config +++ b/i3/.config/i3blocks/config @@ -32,13 +32,11 @@ signal=1 [primary] label=<span color='gray'></span> command=echo "$(xclip -o | grep -o '^.\{0,9\}' | sed -e 's/[^a-zA-Z0-9\-]/_/g')" -min_width=15 interval=5 [clipboard] label=<span color='gray'></span> command=echo "$(xclip -o -selection "clipboard" | grep -o '^.\{0,9\}' | sed -e 's/[^a-zA-Z0-9\-]/_/g')" -instance=Master interval=5 [volume] @@ -89,7 +87,7 @@ interval=300 [date] label=<span color='gray'></span> -command=date '+%Y-%m-%d' +command=echo $([ $BLOCK_BUTTON = 1 ] && gsimplecal; date '+%Y-%m-%d') interval=60 [time] |