From 8cfe597802155e324d99d196841cae515940ee1e Mon Sep 17 00:00:00 2001 From: Daniel Bauer Date: Wed, 30 Oct 2019 11:30:03 +0100 Subject: [PATCH] polybar --- profiles/desktop/.config/polybar/config | 38 +++++++++++++++++++++++-- 1 file changed, 35 insertions(+), 3 deletions(-) diff --git a/profiles/desktop/.config/polybar/config b/profiles/desktop/.config/polybar/config index 4d1c2dc..bc92280 100644 --- a/profiles/desktop/.config/polybar/config +++ b/profiles/desktop/.config/polybar/config @@ -53,7 +53,7 @@ monitor = ${env:MONITOR:HDMI-2} inherit = bar/base monitor = ${env:MONITOR:DP-2} modules-left = i3 xwindow -modules-right = spotify mpd volume filesystem cpu gpu memory date +modules-right = spotify previous playpause next mpd volume filesystem cpu gpu memory date xkeyboard tray-position = false tray-padding = 2 @@ -93,8 +93,8 @@ type = internal/fs interval = 25 mount-0 = / -mount-1 = /scratch -mount-2 = /scratch2 +mount-1 = /data +mount-2 = /backup label-mounted = %{F#0a81f5}%mountpoint%%{F-}: %percentage_used%% label-unmounted = %mountpoint% not mounted @@ -420,3 +420,35 @@ ramp-capacity-4 =  ramp-capacity-4-foreground = ${colors.green} animation-discharging-0 =  + +[module/previous] +type = custom/script +interval = 86400 +format = "%{T3}