From 54350104a901ce125d5d66cba182396cb27fa2c8 Mon Sep 17 00:00:00 2001
From: Sakooooo <78461130+Sakooooo@users.noreply.github.com>
Date: Tue, 25 Jul 2023 15:47:35 +0300
Subject: [PATCH] change volume module
---
config/xmobar/xmobarrc | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/config/xmobar/xmobarrc b/config/xmobar/xmobarrc
index 058ddf22..53e99790 100644
--- a/config/xmobar/xmobarrc
+++ b/config/xmobar/xmobarrc
@@ -12,7 +12,7 @@ Config {
-- layout
, sepChar = "%" -- delineator between plugin names and straight text
, alignSep = "}{" -- separator between left-right alignment
- , template = " %XMonadLog% | %battery% | %multicpu% | %memory% }{ %vol% | %date% | %kbd% %_XMONAD_TRAYPAD%"
+ , template = " %XMonadLog% | %battery% | %multicpu% | %memory% }{ %Volume% | %date% | %kbd% %_XMONAD_TRAYPAD%"
-- general behavior
, lowerOnStart = True -- send to bottom of window stack on start
@@ -101,6 +101,10 @@ Config {
-- charged status
, "-i" , "Charged"
] 50
+ , Run Volume "default" "Master" [ "-t", "%"
+ , "--", "-O", "", "-o", " (mute)"
+ , "-c", "#fb4934"
+ ] 10
-- time and date indicator
-- (%F = y-m-d date, %a = day of week, %T = h:m:s time)