aboutsummaryrefslogtreecommitdiff
path: root/.config/i3blocks/i3blocks.conf
diff options
context:
space:
mode:
Diffstat (limited to '.config/i3blocks/i3blocks.conf')
-rw-r--r--.config/i3blocks/i3blocks.conf9
1 files changed, 7 insertions, 2 deletions
diff --git a/.config/i3blocks/i3blocks.conf b/.config/i3blocks/i3blocks.conf
index d87c4b2..68fd0a8 100644
--- a/.config/i3blocks/i3blocks.conf
+++ b/.config/i3blocks/i3blocks.conf
@@ -2,6 +2,11 @@ markup=pango
separator=false
separator_block_width=25
+[spotify]
+command=playerctl metadata --format ' {{ artist }} - {{ title }}' --follow 2> /dev/null
+min_width=550
+interval=persist
+
[lang]
command=bash -c 'xkb-switch; xkb-switch -W'
interval=persist
@@ -23,10 +28,10 @@ command=~/.local/share/i3blocks-modules/battery -f ' {percent}%'
interval=1
[date]
-command=~/.local/share/i3blocks-modules/date -f " {time}" -t "%a, %d.%m.%Y"
+command=~/.local/share/i3blocks-modules/date -f " {time}" -t "%a, %d.%m.%Y"
interval=60
[time]
-command=~/.local/share/i3blocks-modules/date -f " {time}" -t "%H:%M:%S"
+command=~/.local/share/i3blocks-modules/date -f " {time}" -t "%H:%M:%S"
interval=1