From a68cb917177a7f19a31bb364d76302ed74747df1 Mon Sep 17 00:00:00 2001 From: Hektor Misplon Date: Thu, 4 May 2023 23:56:20 +0200 Subject: [PATCH] Update xmobar --- .bin/sb-project | 3 +++ .xmobarrc | 20 +++++++++++--------- 2 files changed, 14 insertions(+), 9 deletions(-) create mode 100755 .bin/sb-project diff --git a/.bin/sb-project b/.bin/sb-project new file mode 100755 index 0000000..4d302b7 --- /dev/null +++ b/.bin/sb-project @@ -0,0 +1,3 @@ +#!/usr/bin/env bash + +cat "$HOME/.project" diff --git a/.xmobarrc b/.xmobarrc index 90e5e57..08d5d62 100644 --- a/.xmobarrc +++ b/.xmobarrc @@ -1,15 +1,16 @@ Config { overrideRedirect = False - , font = "xft:Iosevka Term SS08:size=12:antialias=true" - , bgColor = "#cccccc" - , fgColor = "#111" - , position = TopW L 100 + , font = "Iosevka Term SS08 12" + , textOffset = 1 + , bgColor = "#cccccc" + , fgColor = "#111" + , position = TopH 20 , commands = [ Run Cpu [ "-L", "3" , "-H", "50" , "--high" , "red" ] 10 , Run Battery [ - "-t", ": % - ", + "-t", "% 〉 ", "--", --"-c", "charge_full", "-O", "AC", @@ -18,19 +19,20 @@ Config { overrideRedirect = False "-l", "red" ] 10 , Run Alsa "default" "Master" - [ "--template", "Vol: " + [ "--template", "V〈〉 " , "--suffix" , "True" , "--" , "--on", "" ] , Run Memory ["--template", "Mem: %"] 10 - , Run Date "%a %Y-%m-%d %H:%M" "date" 10 + , Run Date "%a %b %e %H:%M" "date" 10 , Run Com "sb-pomo" [] "pomo" 10 , Run Com "sb-anki" [] "anki" 10 - , Run Com "sb-tasks" [] "tasks" 10 + , Run Com "sb-tasks" [] "tasks" 300 + , Run Com "sb-project" [] "proj" 300 , Run XMonadLog ] , sepChar = "%" , alignSep = "}{" - , template = "%XMonadLog%%anki%%pomo%%tasks% }{ %alsa:default:Master% | %battery% | %date%" + , template = "%XMonadLog% %anki% }%pomo% %proj% { %alsa:default:Master% %battery% %date%" }