39 lines
		
	
	
		
			1.5 KiB
		
	
	
	
		
			Plaintext
		
	
	
			
		
		
	
	
			39 lines
		
	
	
		
			1.5 KiB
		
	
	
	
		
			Plaintext
		
	
	
Config { overrideRedirect = False
 | 
						|
       , font = "Iosevka Term SS08 12"
 | 
						|
       , textOffset = 1
 | 
						|
       , bgColor = "#cccccc"
 | 
						|
       , fgColor = "#111"
 | 
						|
       , position = TopH 20
 | 
						|
       , commands = [ Run Cpu
 | 
						|
                        [ "-L", "3"
 | 
						|
                        , "-H", "50"
 | 
						|
                        , "--high"  , "red"
 | 
						|
                        ] 10
 | 
						|
                    , Run Battery [
 | 
						|
                        "-t", "<acstatus>〈<left>% <timeleft>〉 ",
 | 
						|
                        "--",
 | 
						|
                        --"-c", "charge_full",
 | 
						|
                        "-O", "AC",
 | 
						|
                        "-o", "Bat",
 | 
						|
                        "-h", "green",
 | 
						|
                        "-l", "red"
 | 
						|
                        ] 10
 | 
						|
                    , Run Alsa "default" "Master"
 | 
						|
                        [ "--template", "V〈<volumestatus>〉 "
 | 
						|
                        , "--suffix"  , "True"
 | 
						|
                        , "--"
 | 
						|
                        , "--on", ""
 | 
						|
                        ]
 | 
						|
                    , Run Memory ["--template", "Mem: <usedratio>%"] 10
 | 
						|
                    , Run Date "%a %b %e %H:%M" "date" 10
 | 
						|
                    , Run Com "sb-pomo" [] "pomo" 10
 | 
						|
                    , Run Com "sb-anki" [] "anki" 10
 | 
						|
                    , Run Com "sb-tasks" [] "tasks" 300
 | 
						|
                    , Run Com "sb-project" [] "proj" 300
 | 
						|
                    , Run XMonadLog
 | 
						|
                    ]
 | 
						|
       , sepChar  = "%"
 | 
						|
       , alignSep = "}{"
 | 
						|
       , template = "%XMonadLog% %anki% }%pomo% %proj% { %alsa:default:Master% %battery% %date%"
 | 
						|
       }
 |