From 604f9a6ee29b40c649f8d753d9e243bae67272cc Mon Sep 17 00:00:00 2001 From: Benny Li Date: Fri, 23 Aug 2019 08:32:32 +0200 Subject: [PATCH] i3blocks status bar config --- i3blocks/config | 63 +++++++++++++++++++++++++++++++++++++++++++++++++ i3wm/config | 3 ++- 2 files changed, 65 insertions(+), 1 deletion(-) create mode 100644 i3blocks/config diff --git a/i3blocks/config b/i3blocks/config new file mode 100644 index 0000000..1995c92 --- /dev/null +++ b/i3blocks/config @@ -0,0 +1,63 @@ +full_text=| +align=center +color=#4C566A +separator=false +separator_block_width=7 + +[separator] + +[docker] +command=$SCRIPT_DIR/docker/docker +color=#81A1C1 +interval=10 +label= + +[separator] + +[key_layout] +command=$SCRIPT_DIR/key_layout/key_layout +label=Layout +interval=30 +color=#EBCB8B + +[separator] + +[cpu_usage2] +command=$SCRIPT_DIR/cpu_usage/cpu_usage +interval=10 +label= +color=#A3BE8C + +[separator] + +[memory] +command=$SCRIPT_DIR/memory/memory +label= +interval=30 +color=#A3BE8C + +[separator] + +[disk] +command=$SCRIPT_DIR/disk/disk +label=ﴥ +interval=30 +color=#5E81AC + +[separator] + +[time] +command=date '+%d.%m.%Y %H:%M:%S' +label= +interval=1 +color=#5E81AC + +[separator] + +[battery2] +command=$SCRIPT_DIR/battery2/battery2 +markup=pango +interval=30 +color=#B48EAD + +[separator] diff --git a/i3wm/config b/i3wm/config index 316f00c..449acee 100644 --- a/i3wm/config +++ b/i3wm/config @@ -66,7 +66,8 @@ client.placeholder #$border_placeh #$background #$textcolor ## Status bar {{{2 bar { - status_command i3blocks + font pango:Hack Nerd Font 9 + status_command SCRIPT_DIR=~/.config/i3blocks/contrib 2>/tmp/i3blocks.err i3blocks -vvv | tee /tmp/i3blocks.out strip_workspace_numbers yes position bottom