update configs
This commit is contained in:
+33
-48
@@ -1,49 +1,34 @@
|
||||
Config { font = "xft:Jetbrains Mono:size=9:bold:antialias=true"
|
||||
, additionalFonts = [
|
||||
"xft:Mononoki Nerd Font:size=9:antialias=true:hinting=true"
|
||||
, "xft:FontAwesome:pixelsize=11"
|
||||
]
|
||||
, borderColor = "black"
|
||||
, border = TopB
|
||||
, bgColor = "black"
|
||||
, fgColor = "grey"
|
||||
, alpha = 125
|
||||
, position = Top
|
||||
, textOffset = -1
|
||||
, iconOffset = -1
|
||||
Config { font = "Ubuntu Bold 9"
|
||||
, additionalFonts = [ "Mononoki 11"
|
||||
, "Font Awesome 6 Free Solid 12"
|
||||
, "Font Awesome 6 Brands 12"
|
||||
]
|
||||
, bgColor = "#1b2b34"
|
||||
, fgColor = "#ffffff"
|
||||
, position = TopSize L 100 24
|
||||
, lowerOnStart = True
|
||||
, pickBroadest = False
|
||||
, persistent = False
|
||||
, hideOnStart = False
|
||||
, iconRoot = "."
|
||||
, allDesktops = True
|
||||
, overrideRedirect = True
|
||||
, commands = [ Run Cpu [] 10
|
||||
, Run Date "<fn=1>\xe721</fn>" "cpuicon" 36000
|
||||
, Run Date "<fn=1>\xf85a</fn>" "memoryicon" 36000
|
||||
, Run Memory ["-t","Mem: <usedratio>%"] 10
|
||||
, Run Date "<fn=1>\xf9e1</fn>" "swapicon" 36000
|
||||
, Run Swap [] 10
|
||||
, Run Date "<fn=1>\xf133</fn> %a %b %d" "date" 1000
|
||||
, Run Date "<fn=1>\xe381</fn>" "timeicon" 36000
|
||||
, Run Date "%H:%M" "time" 10
|
||||
, Run StdinReader
|
||||
, Run Date "<fn=1>\xfa7d</fn>" "volumeicon" 36000
|
||||
, Run Com "volume" [] "volume" 10
|
||||
, Run Date "<fn=1>\xf240</fn>" "batteryicon" 36000
|
||||
, Run Battery [ "--template"
|
||||
, "<acstatus>"
|
||||
, "--" -- battery specific options
|
||||
-- discharging status
|
||||
, "-o" , "<left>% (<timeleft>)"
|
||||
-- AC "on" status
|
||||
, "-O" , "<fc=00ff00>Charging</fc>"
|
||||
-- charged status
|
||||
, "-i" , "100%"
|
||||
] 50
|
||||
]
|
||||
, sepChar = "%"
|
||||
, alignSep = "}{"
|
||||
, template = "%StdinReader% | <fc=#2ecc71>%cpuicon% %cpu%</fc> | <fc=#d4ac0d>%memoryicon% %memory%</fc> | <fc=#2980b9>%swapicon%%swap%</fc> | }\
|
||||
\{ <fc=#9b59b6>%volumeicon% %volume%</fc> | <fc=#b66c59>%batteryicon% %battery%</fc> | <fc=#a2b659>%date%</fc> | <fc=#a91e62>%timeicon% %time%</fc> "
|
||||
}
|
||||
, hideOnStart = False
|
||||
, allDesktops = True
|
||||
, persistent = True
|
||||
, iconRoot = ".xmonad/xpm/" -- default: "."
|
||||
, commands = [
|
||||
Run Com "echo" ["<fn=3>\xf17c</fn>"] "penguin" 3600
|
||||
, Run Com ".local/bin/kernel" [] "kernel" 36000
|
||||
, Run Cpu ["-t", "<fn=2>\xf108</fn> cpu: (<total>%)","-H","50","--high","red"] 20
|
||||
, Run Memory ["-t", "<fn=2>\xf233</fn> mem: <used>M (<usedratio>%)"] 20
|
||||
, Run DiskU [("/", "<fn=2>\xf0c7</fn> hdd: <free> free")] [] 60
|
||||
, Run Com "echo" ["<fn=2>\xf0aa</fn>"] "uparrow" 3600
|
||||
, Run Uptime ["-t", "uptime: <days>d <hours>h"] 360
|
||||
, Run Com "echo" ["<fn=2>\xf0f3</fn>"] "bell" 3600
|
||||
, Run Com "echo" ["<fn=2>\xf242</fn>"] "baticon" 3600
|
||||
, Run BatteryP ["BAT0"] ["-t", "<acstatus> (<left>%)"] 360
|
||||
, Run Date "<fn=2>\xf017</fn> %a, %b %d %Y (%H:%M) " "date" 50
|
||||
, Run Com "bash" ["-c", "/home/krrish/.config/xmobar/trayer-padding-icon.sh"] "trayerpad" 20
|
||||
, Run Com "echo" ["<fn=2>\xf132</fn> "] "shieldicon" 3600
|
||||
, Run UnsafeStdinReader
|
||||
]
|
||||
, sepChar = "%"
|
||||
, alignSep = "}{"
|
||||
, template = " <action=`dmenu_run -c -l 9 -p run: `>%penguin%</action> %UnsafeStdinReader% }{ <box type=Bottom width=2 mb=2 color=#99C794><fc=#99C794><action=`st -e htop`>%cpu%</action></fc></box> <box type=Bottom width=2 mb=2 color=#FAC863><fc=#FAC963><action=`st -e htop`>%memory%</action></fc></box> <box type=Bottom width=2 mb=2 color=#6699cc><fc=#6699cc>%disku%</fc></box> <box type=Bottom width=2 mb=2 color=#EC5f67><fc=#EC5f67>%baticon% %battery%</fc></box> <box type=Bottom width=2 mb=2 color=#99C794><fc=#99C794><action=`emacsclient -c -a 'emacs' --eval '(doom/window-maximize-buffer(dt/year-calendar))'`>%date%</action></fc></box> %trayerpad%"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user