From 7e01df61a74b33bce03793d723a8f82d991fa9ef Mon Sep 17 00:00:00 2001 From: qvalentin Date: Mon, 1 Nov 2021 09:38:52 +0100 Subject: [PATCH] xmobar --- .config/xmobar/xmobarrc | 22 ++++++++++++---------- .config/xmobar/xmobarrc-template.hs | 6 ++++-- 2 files changed, 16 insertions(+), 12 deletions(-) diff --git a/.config/xmobar/xmobarrc b/.config/xmobar/xmobarrc index fb80e1c..366535b 100644 --- a/.config/xmobar/xmobarrc +++ b/.config/xmobar/xmobarrc @@ -1,11 +1,11 @@ Config { overrideRedirect = False - , font = "xft:FiraCode Nerd Font:size=11", + , font = "xft:FiraCode Nerd Font:size=10", additionalFonts = [ "xft:FiraCode Nerd Font:bold:pixelsize=19:antialias=true:hinting=true" , "xft:FiraCode Nerd Font:bold:pixelsize=25:antialias=true:hinting=true" , "xft:FiraCode Nerd Font:bold:pixelsize=20:antialias=true:hinting=true" ] - , bgColor = "#0d141b" - , fgColor = "#c4c1df" + , bgColor = "#081013" + , fgColor = "#a3e5c4" , position = TopW L 100 , iconRoot = ".config/xmobar/xpm/" , commands = [Run Cpu @@ -19,15 +19,17 @@ Config { overrideRedirect = False , "--on", "" ] , Run Memory ["--template", ""] 10 - , Run Date "%a %Y-%m-%d%H:%M" "date" 10 + , Run Date "%a %Y-%m-%d%H:%M" "date" 10 , Run XMonadLog , Run Com "get_music_info" [] "" 10 + , Run Com "wttr" [] "" 360 ] , sepChar = "%" , alignSep = "}{" - , template = " %XMonadLog% }{\ - \%get_music_info%\ - \ %alsa:default:Master%\ - \﬙ %cpu%\ - \ %memory%\ - \%date%" + , template = "  %XMonadLog% }{\ + \%get_music_info%\ + \ %alsa:default:Master%\ + \﬙ %cpu%\ + \ %memory%\ + \%date%\ + \%wttr%" diff --git a/.config/xmobar/xmobarrc-template.hs b/.config/xmobar/xmobarrc-template.hs index eb6c82d..9c3051d 100644 --- a/.config/xmobar/xmobarrc-template.hs +++ b/.config/xmobar/xmobarrc-template.hs @@ -22,12 +22,14 @@ Config { overrideRedirect = False , Run Date "%a %Y-%m-%d%H:%M" "date" 10 , Run XMonadLog , Run Com "get_music_info" [] "" 10 + , Run Com "wttr" [] "" 360 ] , sepChar = "%" , alignSep = "}{" - , template = " %XMonadLog% }{\ + , template = "  %XMonadLog% }{\ \%get_music_info%\ \ %alsa:default:Master%\ \﬙ %cpu%\ \ %memory%\ - \%date%" + \%date%\ + \%wttr%"