From 457a28ed89be9e2f698786e83538ee61292ae08c Mon Sep 17 00:00:00 2001 From: Raymaekers Luca Date: Mon, 27 Feb 2023 13:02:09 +0100 Subject: merged xmobar configs into one and changed the font to match pango syntax --- config/X/xmobar/xmobarrc.hs | 98 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 98 insertions(+) create mode 100644 config/X/xmobar/xmobarrc.hs (limited to 'config/X/xmobar/xmobarrc.hs') diff --git a/config/X/xmobar/xmobarrc.hs b/config/X/xmobar/xmobarrc.hs new file mode 100644 index 0000000..2f18a46 --- /dev/null +++ b/config/X/xmobar/xmobarrc.hs @@ -0,0 +1,98 @@ +Config { font = "Cantarell Mono Regular 12" + , position = Top + -- , borderColor = "#2e3440" + -- , borderWidth = 2 + -- , border = BottomB + , bgColor = "#2e3440" + , fgColor = "#2aa198" + , lowerOnStart = True + , pickBroadest = False + , persistent = False + , hideOnStart = False + , iconRoot = "/home/aluc/.config/xmobar/icons" + , overrideRedirect = True + , wmName = "xmobar2" + , commands = [ Run Cpu [ "-t", "%" + ,"-l", "#2e3440,#58e1ac" + ,"-L", "20" + ,"-n", "#4c566a,#58e1ac" + ,"-h", "#cb4b16,#58e1ac" + ,"-H", "50" + ,"-w", "3" + ] 10 + + , Run Memory ["-t", "%" + ,"-l", "#2e3440,#58e1ac" + ,"-L", "20" + ,"-n", "#4c566a,#58e1ac" + ,"-h", "#cb4b16,#58e1ac" + ,"-H", "50" + ,"-w", "2" + ] 10 + + -- Focused window info + , Run Com "/home/aluc/.config/xmobar/scripts/winfo" ["-n"] "FWname" 3 + , Run Com "/home/aluc/.config/xmobar/scripts/winfo" ["-t"] "FWtitle" 3 + , Run Com "/home/aluc/.config/xmobar/scripts/winfo" ["-i"] "FWicon" 3 + , Run Com "/home/aluc/.config/xmobar/scripts/checkupds" ["-i"] "updates" 3600 + -- , Run ComX "$HOME/bin/cmusP" [] "" "cmus" 1 + , Run Com "uname" ["-r"] "" 36000 + , Run Date " %b %_d %Y - %H:%M:%S" "date" 10 + , Run PipeReader "/home/aluc/.config/xmobar/scripts/volume-pipe" "vol" + , Run StdinReader + ] + , sepChar = "%" + , alignSep = "}{" + + + -- COLORS + -- #2aa198 : Blue/green -- fg + -- + -- #d08770 : pinkish brown -- memory + -- #ff00ff : pink/purple -- swap + -- #828be6 : perrywinkle -- FWname + -- #825be6 : purpley -- FWtitle + -- bgColor = "#2e3440" + -- fgColor = "#2aa198" + -- #58e1ac + + , template = " \ + -- Left + + \%StdinReader% \ + + \\ + \ %uname% \ + \\ + + \\ + \ %vol% \ + \\ + + \\ + \ Dmenu \ + \\ + + + -- Centered + \}\ + + -- Right + \{ \ + + \\ + \ %updates% \ + \\ + + \\ + \ %cpu% \ + \%memory% \ + \\ + + \\ + \ %date% \ + \ " + + } + + -- cgit v1.2.3