From c5f610e77393c85b94ae819c636fb0cb6edf3302 Mon Sep 17 00:00:00 2001 From: "E. Almqvist" Date: Mon, 18 Jan 2021 18:24:12 +0100 Subject: [PATCH] Polybar fix --- polybar/config | 30 +++++++++++++++++++++++------- vimrc | 9 ++++++--- 2 files changed, 29 insertions(+), 10 deletions(-) diff --git a/polybar/config b/polybar/config index eee8160..0a3f000 100644 --- a/polybar/config +++ b/polybar/config @@ -8,7 +8,7 @@ line = #bbb border = #bbb accent = #434d5e accent2 = #637291 -selected = #2590db +selected = #81a2be focused = #f0c674 #background = ${xrdb:color0:#222} @@ -55,11 +55,11 @@ padding-right = 8 module-margin = 1 modules-left = dwm -modules-center = time -modules-right = cmus pulseaudio wlan eth date +modules-center = cmus +modules-right = kernel filesystem pulseaudio wlan date time ################################################# -# MODULES # +# MODULES # ################################################# [module/dwm] @@ -135,9 +135,9 @@ label-visible-underline = ${self.label-focused-underline} label-visible-padding = ${self.label-focused-padding} # urgent = Unselected tag with window that has urgency hint set -label-urgent = [%name%] -#label-urgent-background = ${colors.selected} -label-urgent-foreground = ${colors.selected} +label-urgent = %name% +label-urgent-background = ${colors.selected} +label-urgent-foreground = ${colors.foreground} label-urgent-padding = 1 # empty = Unselected and unoccupied tag @@ -214,6 +214,22 @@ label = %time% time = %H:%M:%S interval = 1 +[module/filesystem] +type = internal/fs +mount-0 = / +interval= 60 +fixed-values = true +spacing = 2 +format-mounted = +label-mounted =  %mountpoint% %free% + +[module/kernel] +type = custom/script +exec = uname -r +interval = 600 +format = "