|
|
|
@ -1,12 +1,12 @@
|
|
|
|
|
Config { font = "xft:Ubuntu:weight=bold:pixelsize=20:antialias=true:hinting=true"
|
|
|
|
|
Config { font = "xft:Ubuntu:weight=bold:pixelsize=26:antialias=true:hinting=true"
|
|
|
|
|
, additionalFonts = [ "xft:Mononoki:pixelsize=18:antialias=true:hinting=true"
|
|
|
|
|
, "xft:Font Awesome 6 Free Solid:pixelsize=22"
|
|
|
|
|
, "xft:Font Awesome 6 Brands:pixelsize=22"
|
|
|
|
|
, "xft:Font Awesome 6 Free Solid:pixelsize=30"
|
|
|
|
|
, "xft:Font Awesome 6 Brands:pixelsize=30"
|
|
|
|
|
]
|
|
|
|
|
, bgColor = "#282c34"
|
|
|
|
|
, fgColor = "#ff6c6b"
|
|
|
|
|
, alpha = 255
|
|
|
|
|
, position = TopSize L 100 24
|
|
|
|
|
, position = TopSize L 100 35
|
|
|
|
|
, textOffset = -1
|
|
|
|
|
, iconOffset = -1
|
|
|
|
|
, lowerOnStart = True
|
|
|
|
@ -24,8 +24,10 @@ Config { font = "xft:Ubuntu:weight=bold:pixelsize=20:antialias=true:h
|
|
|
|
|
, Run Com "echo" ["<fn=2>\xf796</fn>"] "rj" 36000
|
|
|
|
|
-- Get the Current IP address
|
|
|
|
|
, Run Com "/home/key/.config/xmobar/ip.sh" [] "myip" 150
|
|
|
|
|
|
|
|
|
|
, Run Com "/home/key/.config/xmobar/battery.sh" [] "battery" 150
|
|
|
|
|
|
|
|
|
|
-- Dy Newtoek consumption
|
|
|
|
|
|
|
|
|
|
, Run DynNetwork [ "--template" , "<dev>: <tx>kB/s|<rx>kB/s"
|
|
|
|
|
, "--Low" , "5000" -- units: kB/s
|
|
|
|
|
, "--High" , "50000" -- units: kB/s
|
|
|
|
@ -50,15 +52,13 @@ Config { font = "xft:Ubuntu:weight=bold:pixelsize=20:antialias=true:h
|
|
|
|
|
-- Echos a "battery" icon in front of the pacman updates.
|
|
|
|
|
, Run Com "echo" ["<fn=2>\xf242</fn>"] "baticon" 3600
|
|
|
|
|
-- Battery
|
|
|
|
|
, Run BatteryP ["BAT0"] ["-t", "<acstatus><watts> (<left>%)"] 360
|
|
|
|
|
-- Time and date
|
|
|
|
|
, Run Date "<fn=2>\xf017</fn> %b %d %Y - (%H:%M) " "date" 50
|
|
|
|
|
-- Prints out the left side items such as workspaces, layout, etc.
|
|
|
|
|
, Run UnsafeStdinReader
|
|
|
|
|
]
|
|
|
|
|
, sepChar = "%"
|
|
|
|
|
, alignSep = "}{"
|
|
|
|
|
, template = "<box type=Bottom width=2 mb=2 color=#51afef><fc=#51afef>%penguin% %kernel%</fc></box> <box type=Bottom width=2 mb=2 color=#DA8012><fc=#DA8012> %rj% %dynnetwork% IP:%myip%</fc></box>}{<box type=Bottom width=2 mb=2 color=#ecbe7b><fc=#ecbe7b><action=`alacritty -e htop`>%cpu%</action></fc></box> <box type=Bottom width=2 mb=2 color=#1259DA><fc=#1259DA>%date%</fc></box>"
|
|
|
|
|
, template = "<box type=Bottom width=2 mb=2 color=#51afef><fc=#51afef>%penguin% %kernel%</fc></box> <box type=Bottom width=2 mb=2 color=#DA8012><fc=#DA8012> %rj% %dynnetwork% IP:%myip%</fc></box>}<box type=Bottom width=2 mb=2 color=#1259DA><fc=#1259DA>%date%</fc></box>{<box type=Bottom width=2 mb=2 color=#DC143C><fc=#DC143C>%battery% %baticon%</fc></box> <box type=Bottom width=2 mb=2 color=#ecbe7b><fc=#ecbe7b><action=`alacritty -e htop`>%cpu%</action></fc></box> "
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|