mirror of
https://gitlab.com/dwt1/dotfiles.git
synced 2026-08-10 18:11:13 +10:00
Played with xmobar.
This commit is contained in:
@@ -3,6 +3,7 @@
|
|||||||
-- you can find weather location codes here: http://weather.noaa.gov/index.html
|
-- you can find weather location codes here: http://weather.noaa.gov/index.html
|
||||||
|
|
||||||
Config { font = "xft:Mononoki Nerd Font:pixelsize=12:antialias=true:hinting=true"
|
Config { font = "xft:Mononoki Nerd Font:pixelsize=12:antialias=true:hinting=true"
|
||||||
|
, additionalFonts = [ "xft:FontAwesome:pixelsize=13" ]
|
||||||
, bgColor = "#282A36"
|
, bgColor = "#282A36"
|
||||||
, fgColor = "#B45BCF"
|
, fgColor = "#B45BCF"
|
||||||
, position = Top
|
, position = Top
|
||||||
@@ -10,10 +11,11 @@ Config { font = "xft:Mononoki Nerd Font:pixelsize=12:antialias=true:hinting=t
|
|||||||
, hideOnStart = False
|
, hideOnStart = False
|
||||||
, allDesktops = True
|
, allDesktops = True
|
||||||
, persistent = True
|
, persistent = True
|
||||||
, commands = [ Run Date "%a %b %_d %Y %H:%M:%S" "date" 10
|
, iconRoot = "/home/dt/.xmonad/xpm/" -- default: "."
|
||||||
|
, commands = [ Run Date "%a, %b %d %Y, %H:%M:%S" "date" 10
|
||||||
, Run UnsafeStdinReader
|
, Run UnsafeStdinReader
|
||||||
]
|
]
|
||||||
, sepChar = "%"
|
, sepChar = "%"
|
||||||
, alignSep = "}{"
|
, alignSep = "}{"
|
||||||
, template = "%UnsafeStdinReader% }{ <fc=#A0522D> <fc=#fdf6e3>%date%</fc> </fc> "
|
, template = "%UnsafeStdinReader% }{ <fc=#A0522D> <icon=calendar-clock-icon_20.xpm/> <fc=#8BE9FD>%date%</fc> </fc> "
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
-- you can find weather location codes here: http://weather.noaa.gov/index.html
|
-- you can find weather location codes here: http://weather.noaa.gov/index.html
|
||||||
|
|
||||||
Config { font = "xft:Mononoki Nerd Font:pixelsize=12:antialias=true:hinting=true"
|
Config { font = "xft:Mononoki Nerd Font:pixelsize=12:antialias=true:hinting=true"
|
||||||
|
, additionalFonts = [ "xft:FontAwesome:pixelsize=13" ]
|
||||||
, bgColor = "#282A36"
|
, bgColor = "#282A36"
|
||||||
, fgColor = "#B45BCF"
|
, fgColor = "#B45BCF"
|
||||||
, position = Top
|
, position = Top
|
||||||
@@ -10,10 +11,11 @@ Config { font = "xft:Mononoki Nerd Font:pixelsize=12:antialias=true:hinting=t
|
|||||||
, hideOnStart = False
|
, hideOnStart = False
|
||||||
, allDesktops = True
|
, allDesktops = True
|
||||||
, persistent = True
|
, persistent = True
|
||||||
, commands = [ Run Date "%a %b %_d %Y %H:%M:%S" "date" 10
|
, iconRoot = "/home/dt/.xmonad/xpm/" -- default: "."
|
||||||
|
, commands = [ Run Date "%a, %b %d %Y, %H:%M:%S" "date" 10
|
||||||
, Run UnsafeStdinReader
|
, Run UnsafeStdinReader
|
||||||
]
|
]
|
||||||
, sepChar = "%"
|
, sepChar = "%"
|
||||||
, alignSep = "}{"
|
, alignSep = "}{"
|
||||||
, template = "%UnsafeStdinReader% }{ <fc=#A0522D> <fc=#fdf6e3>%date%</fc> </fc> "
|
, template = "%UnsafeStdinReader% }{ <fc=#A0522D> <icon=calendar-clock-icon_20.xpm/> <fc=#8BE9FD>%date%</fc> </fc> "
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -12,14 +12,14 @@ Config { font = "xft:Mononoki Nerd Font:pixelsize=12:antialias=true:hinting=t
|
|||||||
, allDesktops = True
|
, allDesktops = True
|
||||||
, persistent = True
|
, persistent = True
|
||||||
, iconRoot = "/home/dt/.xmonad/xpm/" -- default: "."
|
, iconRoot = "/home/dt/.xmonad/xpm/" -- default: "."
|
||||||
, commands = [ Run Date "%a %b %_d %Y %H:%M:%S" "date" 10
|
, commands = [ Run Date "%a, %b %d %Y, %H:%M:%S" "date" 10
|
||||||
, Run Network "enp4s0" ["-t", "<icon=network-icon_24.xpm/> net: <rx>kb|<tx>kb"] 10
|
, Run Network "enp4s0" ["-t", "<icon=net_up_20.xpm/>up <rxbar> <icon=net_down_20.xpm/>dn <txbar>"] 10
|
||||||
, Run Cpu ["-t","<icon=gnome_cpu_24.xpm/> cpu: <total>%","-H","50","--high","red"] 10
|
, Run Cpu ["-t", "<icon=cpu_20.xpm/> cpu <bar> (<total>%)","-H","50","--high","red"] 10
|
||||||
, Run Memory ["-t", "<icon=memory-icon_24.xpm/> mem: <usedratio>%"] 10
|
, Run Memory ["-t", "<icon=memory-icon_20.xpm/> mem <usedbar> (<usedratio>%)"] 10
|
||||||
, Run DiskU [("/","<icon=harddisk-icon_24.xpm/> hdd: <used>/<size>")] [] 3600
|
, Run DiskU [("/", "<icon=harddisk-icon_20.xpm/> hdd <usedbar> (<used>)")] [] 3600
|
||||||
, Run UnsafeStdinReader
|
, Run UnsafeStdinReader
|
||||||
]
|
]
|
||||||
, sepChar = "%"
|
, sepChar = "%"
|
||||||
, alignSep = "}{"
|
, alignSep = "}{"
|
||||||
, template = "%UnsafeStdinReader% }{ <fc=#A0522D> <fc=#FFB86C>%cpu%</fc> : <fc=#FF5555>%memory%</fc> : <fc=#82AAFF>%disku%</fc> : <fc=#c3e88d>%enp4s0%</fc> : <icon=calendar-clock-icon_24.xpm/> <fc=#8BE9FD>%date%</fc> </fc> "
|
, template = "%UnsafeStdinReader% }{ <fc=#A0522D> <fc=#FFB86C>%cpu%</fc> <fc=#FF5555>%memory%</fc> <fc=#82AAFF>%disku%</fc> <fc=#c3e88d>%enp4s0%</fc> <icon=calendar-clock-icon_20.xpm/> <fc=#8BE9FD>%date%</fc> </fc> "
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user