Created
December 4, 2020 16:18
-
-
Save atejeda/22a55c7612f9248d1de6ac8bb5a01299 to your computer and use it in GitHub Desktop.
.config/xmobar/xmobarrc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Config { font = "xft:Mononoki Nerd Font:pixelsize=13:antialias=true:hinting=true" | |
, additionalFonts = [ "xft:FontAwesome:pixelsize=13" ] | |
, bgColor = "#282A36" | |
, fgColor = "#B45BCF" | |
, position = Top | |
, lowerOnStart = True | |
, hideOnStart = False | |
, allDesktops = True | |
, persistent = True | |
, iconRoot = "/home/dt/.xmonad/xpm/" -- default: "." | |
, commands = [ | |
-- Time and date | |
Run Date "%b %d %Y (%H:%M)" "date" 50 | |
-- Network up and down | |
--, Run Network "enp6s0" ["-t", "\xf0aa <rx>kb \xf0ab <tx>kb"] 20 | |
-- Cpu usage in percent | |
--, Run Cpu ["-t", "\xf108 cpu: (<total>%)","-H","50","--high","red"] 20 | |
-- Ram used number and percent | |
--, Run Memory ["-t", "\xf233 mem: <used>M (<usedratio>%)"] 20 | |
-- Disk space free | |
--, Run DiskU [("/", "\xf0c7 hdd: <free> free")] [] 60 | |
-- Runs custom script to check for pacman updates. | |
-- This script is in my dotfiles repo in .local/bin. | |
--, Run Com "pacupdate" [] "" 36000 | |
-- Runs a standard shell command 'uname -r' to get kernel version | |
--, Run Com "uname" ["-r"] "" 36000 | |
-- Prints out the left side items such as workspaces, layout, etc. | |
-- The workspaces are 'clickable' in my configs. | |
, Run UnsafeStdinReader | |
] | |
, sepChar = "%" | |
, alignSep = "}{" | |
, textOffset = 13 | |
, template = "%UnsafeStdinReader% }%date%{" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment