From 666396c9abc83129af7eb72130ef343ca09199ff Mon Sep 17 00:00:00 2001 From: afonsofrancof Date: Mon, 31 Oct 2022 14:52:18 +0000 Subject: [PATCH] Added volume indicator --- .config/xmobar/xmobarrc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.config/xmobar/xmobarrc b/.config/xmobar/xmobarrc index 75a9255..f027313 100644 --- a/.config/xmobar/xmobarrc +++ b/.config/xmobar/xmobarrc @@ -24,7 +24,7 @@ Config { font = "xft:Ubuntu:weight=bold:pixelsize=14:antialias=true:h , iconRoot = "/home/afonso/.config/xmobar/xpm/" -- default: "." , commands = [ -- Cpu usage in percent - Run Cpu ["-t", "\xf108 cpu: (%)","-H","50","--high","red"] 20 + Run Cpu ["-t", "\xf108 cpu: (%)","-H","50","--high","red"] 20 -- Ram used number and percent , Run Memory ["-t", "\xf233 mem: M (%)"] 20 -- Disk space free @@ -39,6 +39,8 @@ Config { font = "xft:Ubuntu:weight=bold:pixelsize=14:antialias=true:h , Run BatteryP ["BAT0"] ["-t", "\xf242 AC: (%)"] 360 -- Time and date , Run Date "\xf017 %b %d %Y - (%H:%M) " "date" 50 + -- Volume + , Run Volume "default" "Master" [] 10 -- Script that dynamically adjusts xmobar padding depending on number of trayer icons. , Run Com "/home/afonso/.config/xmobar/trayer-padding-icon.sh" [] "trayerpad" 20 -- Prints out the left side items such as workspaces, layout, etc. @@ -46,5 +48,5 @@ Config { font = "xft:Ubuntu:weight=bold:pixelsize=14:antialias=true:h ] , sepChar = "%" , alignSep = "}{" - , template = " | %UnsafeStdinReader% }{ %cpu% | %memory% | %disku% | %date% | %battery% | %trayerpad% " + , template = " | %UnsafeStdinReader% }{ %cpu% | %memory% | %disku% | %date% | %battery% | %default:Master% | %trayerpad% " }