summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Barrett <tom@tombarrett.xyz>2024-05-19 12:35:20 +0200
committerTom Barrett <tom@tombarrett.xyz>2024-05-19 12:35:20 +0200
commitb8af3372d789d93c39e2a571ac25609f426b80b8 (patch)
tree234374acadb107cffde5725da88b90d18fc78979
parent63badd58cf19fe6f4b823fee53a4d6f6c2187e74 (diff)
better less, spaces around ip
-rw-r--r--home.nix2
-rw-r--r--xmobarrc4
2 files changed, 3 insertions, 3 deletions
diff --git a/home.nix b/home.nix
index 4451d4d..f1b3eb4 100644
--- a/home.nix
+++ b/home.nix
@@ -38,7 +38,7 @@ in {
sessionVariables =
vars
// {
- LESS = "-R";
+ LESS = "-R -F";
EDITOR = "vim";
};
diff --git a/xmobarrc b/xmobarrc
index 7bd4c08..52b9159 100644
--- a/xmobarrc
+++ b/xmobarrc
@@ -10,10 +10,10 @@ Config
, Run DiskU [("/", "<free>")] ["-L", "1"] 50
, Run Battery ["-t", "<left>%"] 10
, Run Cpu ["-t", "<total>%"] 10
- , Run Com "sh" ["-c", "ip -br -4 a | awk '!/lo/ {if ($3) printf $3 }'"] "" 10
+ , Run Com "sh" ["-c", "ip -br -4 a | awk '!/lo/ {if ($3) printf \"%s \", $3 }'"] "" 10
, Run XMonadLog
]
, sepChar = "%"
, alignSep = "}{"
- , template = "%XMonadLog% }{ <fc=#b8b8b8,#181818> %sh% | %cpu% | %disku% | %battery% | %date% </fc>"
+ , template = "%XMonadLog% }{ <fc=#b8b8b8,#181818> %sh%| %cpu% | %disku% | %battery% | %date% </fc>"
}