change volume module

This commit is contained in:
Sakooooo 2023-07-25 15:47:35 +03:00
parent 31cc84ea17
commit 54350104a9
Signed by: sako
GPG key ID: 3FD715D87D7725E0

View file

@ -12,7 +12,7 @@ Config {
-- layout -- layout
, sepChar = "%" -- delineator between plugin names and straight text , sepChar = "%" -- delineator between plugin names and straight text
, alignSep = "}{" -- separator between left-right alignment , alignSep = "}{" -- separator between left-right alignment
, template = " <icon=nixos-logo.xpm/> %XMonadLog% | %battery% | %multicpu% | %memory% }{ %vol% | %date% | %kbd% %_XMONAD_TRAYPAD%" , template = " <icon=nixos-logo.xpm/> %XMonadLog% | %battery% | %multicpu% | %memory% }{ %Volume% | %date% | %kbd% %_XMONAD_TRAYPAD%"
-- general behavior -- general behavior
, lowerOnStart = True -- send to bottom of window stack on start , lowerOnStart = True -- send to bottom of window stack on start
@ -101,6 +101,10 @@ Config {
-- charged status -- charged status
, "-i" , "<fc=#006000>Charged</fc>" , "-i" , "<fc=#006000>Charged</fc>"
] 50 ] 50
, Run Volume "default" "Master" [ "-t", "<volume>%<status>"
, "--", "-O", "", "-o", " (mute)"
, "-c", "#fb4934"
] 10
-- time and date indicator -- time and date indicator
-- (%F = y-m-d date, %a = day of week, %T = h:m:s time) -- (%F = y-m-d date, %a = day of week, %T = h:m:s time)