39 lines
1.8 KiB
Plaintext
39 lines
1.8 KiB
Plaintext
-- Dependencies:
|
|
-- otf-font-awesome
|
|
-- ttf-mononoki
|
|
-- ttf-ubuntu-font-family
|
|
-- htop
|
|
-- emacs
|
|
-- pacman (Arch Linux)
|
|
-- trayer
|
|
-- 'dtos-local-bin' (from dtos-core-repo)
|
|
|
|
Config { font = "Ubuntu Bold 10"
|
|
, additionalFonts = [ "Mononoki 11"
|
|
, "Font Awesome 6 Free Solid 11"
|
|
, "Font Awesome 6 Brands 11"
|
|
]
|
|
, bgColor = "#1a1b26"
|
|
, fgColor = "#a9b1d6"
|
|
, position = TopSize L 100 28
|
|
, lowerOnStart = True
|
|
, hideOnStart = False
|
|
, allDesktops = True
|
|
, persistent = True
|
|
, iconRoot = ".xmonad/xpm/" -- default: "."
|
|
, commands = [
|
|
Run Cpu ["-t", " (<total>%)","-H","50","--high","red"] 20
|
|
, Run Memory ["-t", " (<usedratio>%)"] 20
|
|
, Run DiskU [("/home", " <free>")] [] 60
|
|
, Run Uptime ["-t", " <days>d <hours>h"] 360
|
|
, Run BatteryP ["BAT0"] ["-t", "<acstatus> (<left>%)"] 50
|
|
, Run Date "<fn=2>\xf017</fn> %b %d %Y - (%H:%M) " "date" 50
|
|
, Run Com "/home/krrish/.config/xmobar/trayer-padding-icon.sh" ["stalonetray"] "trayerpad" 20
|
|
, Run UnsafeStdinReader
|
|
]
|
|
, sepChar = "%"
|
|
, alignSep = "}{"
|
|
, template = "%UnsafeStdinReader% }{ <fc=#9ece6a><action=`st -e htop`>%cpu%</action></fc> <fc=#e0af68><action=`st -e htop`>%memory%</action></fc> <fc=#7aa2f7>%disku%</fc> <fc=#bb9af7>%uptime%</fc> <fc=#f7768e> %battery%</fc> <fc=#9ece6a><action=`emacsclient -c -a 'emacs' --eval '(doom/window-maximize-buffer(dt/year-calendar))'`>%date%</action></fc> %trayerpad%"
|
|
}
|
|
|