From 18cd15222d2efea40a3944c9e537bb2e77dc6210 Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Mon, 7 Sep 2020 22:00:32 +0200 Subject: [PATCH] polybar: Add underlines to modules Slightly accent the modules by adding a distinct line under each one, in the primary color of the current colorscheme. --- nvim/.config/nvim/spell/en.utf-8.add | 8 ++++++++ polybar/.config/polybar/config | 10 ++++++++++ 2 files changed, 18 insertions(+) diff --git a/nvim/.config/nvim/spell/en.utf-8.add b/nvim/.config/nvim/spell/en.utf-8.add index 1a1cac5..fa2bdfb 100644 --- a/nvim/.config/nvim/spell/en.utf-8.add +++ b/nvim/.config/nvim/spell/en.utf-8.add @@ -44,3 +44,11 @@ Qing analyses megaprojects weaponization +exceptionality +hypermobility +Fordist +FDI +JIT +Fordism +embeddedness +Zapatista diff --git a/polybar/.config/polybar/config b/polybar/.config/polybar/config index 7258056..41b5505 100644 --- a/polybar/.config/polybar/config +++ b/polybar/.config/polybar/config @@ -181,6 +181,7 @@ ramp-load-4 = %{F#ff9999}▅%{F-} ramp-load-5 = %{F#ff6666}▆%{F-} ramp-load-6 = %{F#ff3232}▇%{F-} ramp-load-7 = %{F#ff0000}█%{F-} +format-underline = ${colors.primary} [module/temp] type = internal/temperature @@ -206,6 +207,7 @@ label-warn-foreground = ${colors.alert} ramp-0 = ramp-1 = %{F#ff9999}ﲲﲲ%{F-} ramp-2 = %{F#ff0000}ﲲﲲﲲ%{F-} +format-underline = ${colors.primary} [module/date] type = internal/date @@ -221,6 +223,7 @@ time = %H:%M date-alt = %A, %d %B %Y (W %V) time-alt = %H:%M label = %date% %{T2} %{T-}%time% +format-underline = ${colors.primary} ; display information on currently playing track, allows simple track manipulation ; TODO: add album art display (on click?) - retrieved by playerctl metadata mpris:artUrl @@ -231,6 +234,7 @@ exec-if = type $XDG_CONFIG_HOME/polybar/scripts/poly-mprisdisplay tail = true click-left = kill -USR1 %pid% click-right = kill -USR2 %pid% +format-underline = ${colors.primary} ; display information on remaining papers to read for the upcoming week [module/papersdue] @@ -250,6 +254,7 @@ interval = 120 type = custom/script exec = $XDG_CONFIG_HOME/polybar/scripts/poly-pomo exec-if = exist pomo normal "pomodoro timer" +format-underline = ${colors.primary} ; pause timer click-left = $XDG_CONFIG_HOME/polybar/scripts/poly-pomo toggle ; restart timer @@ -267,11 +272,13 @@ format =