aboutsummaryrefslogtreecommitdiff
path: root/.config/polybar
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2023-03-27 12:16:06 +0200
committerlonkaars <loek@pipeframe.xyz>2023-03-27 12:16:06 +0200
commit3ae09055f8a7d4b62b210c9a07cf965135bd1166 (patch)
treefb94b9566ce1f6e309a30ee868eed0029bc13ff8 /.config/polybar
parent4bc28f34aa172d9479d1f2edd421f019a80d974e (diff)
update polybar config for mpd on thoncc
Diffstat (limited to '.config/polybar')
-rw-r--r--.config/polybar/config.ini##template13
-rw-r--r--.config/polybar/config.superesc.ini11
2 files changed, 12 insertions, 12 deletions
diff --git a/.config/polybar/config.ini##template b/.config/polybar/config.ini##template
index daa4ecf..bb9c7a2 100644
--- a/.config/polybar/config.ini##template
+++ b/.config/polybar/config.ini##template
@@ -45,7 +45,7 @@ font-2 = "Noto Sans JP:pixelsize=8:weight=medium:size=0;2"
font-3 = "Noto Sans KR:pixelsize=8:weight=medium:size=0;2"
{% if yadm.hostname == "thoncc" %}
-modules-left = time date rooster
+modules-left = time date rooster mpd
modules-center = battery1 battery2 brightness
modules-right = wireless keyboard volume whoami
{% else %}
@@ -127,6 +127,17 @@ exec = ~/.local/share/bin/kbindicator
interval = 3
label-font = 1
+[module/mpd]
+type = internal/mpd
+format-online = <toggle> <label-song>
+format-offline =
+format-stopped =
+icon-play = 
+icon-pause = 
+label-song = %{T2}%artist%%{T-}: %title%
+label-song-maxlen = 50
+label-song-ellipsis = true
+
{% include "config.{{ yadm.hostname }}.ini" %}
; vim:ft=dosini
diff --git a/.config/polybar/config.superesc.ini b/.config/polybar/config.superesc.ini
index c4d8bb2..3d60384 100644
--- a/.config/polybar/config.superesc.ini
+++ b/.config/polybar/config.superesc.ini
@@ -1,14 +1,3 @@
-[module/mpd]
-type = internal/mpd
-format-online = <toggle> <label-song>
-format-offline = [mpd offline]
-format-stopped =
-icon-play = 
-icon-pause = 
-label-song = %{T2}%artist%%{T-}: %title%
-label-song-maxlen = 50
-label-song-ellipsis = true
-
[module/wacomtouch]
type = custom/script
exec = ~/.local/share/bin/wacomtouch