diff --git a/.config/xmobar/scripts/cpu_temp.sh b/.config/xmobar/scripts/cpu_temp.sh
index 70dc8b8..81522d4 100755
--- a/.config/xmobar/scripts/cpu_temp.sh
+++ b/.config/xmobar/scripts/cpu_temp.sh
@@ -13,10 +13,10 @@ else
fi
if [ "$temp" -ge "$temp2" ] ; then
- echo " $temp°C"
+ echo " $temp°C"
elif [ "$temp" -ge "$temp1" ] ; then
- echo " $temp°C"
+ echo " $temp°C"
else
- echo " $temp°C"
+ echo " $temp°C"
fi
diff --git a/.config/xmobar/scripts/disk.sh b/.config/xmobar/scripts/disk.sh
index bc4969f..dba295b 100755
--- a/.config/xmobar/scripts/disk.sh
+++ b/.config/xmobar/scripts/disk.sh
@@ -1,3 +1,3 @@
#!/bin/sh
freespace=$(btrfs fi usage / | grep -Po 'Free \(estimated\):.*' | awk '{print $3}')
-echo " $freespace"
+echo " $freespace"
diff --git a/.config/xmobar/scripts/updates.sh b/.config/xmobar/scripts/updates.sh
index ed93d23..3af2a8f 100755
--- a/.config/xmobar/scripts/updates.sh
+++ b/.config/xmobar/scripts/updates.sh
@@ -1,4 +1,4 @@
#!/bin/bash
update_number=$(checkupdates | wc -l)
-echo " $update_number"
+echo " $update_number"
diff --git a/.config/xmobar/xmobarrc b/.config/xmobar/xmobarrc
index dd4773d..d942a4c 100644
--- a/.config/xmobar/xmobarrc
+++ b/.config/xmobar/xmobarrc
@@ -8,14 +8,9 @@ Config {font = "Ubuntu bold 10"
, "Font Awesome 6 Free Solid 17"
, "Font Awesome 6 Free Solid 13"
]
- , bgColor = "#2B2E37"
- , fgColor = "#929AAD"
- -- Position TopSize and BottomSize take 3 arguments:
- -- an alignment parameter (L/R/C) for Left, Right or Center.
- -- an integer for the percentage width, so 100 would be 100%.
- -- an integer for the minimum pixel height for xmobar, so 24 would force a height of at least 24 pixels.
- -- NOTE: The height should be the same as the trayer (system tray) height.
- , position = TopHM 36 8 8 4 0
+ , bgColor = "#282828"
+ , fgColor = "#ebdbb2"
+ , position = TopH 36
, lowerOnStart = True
, hideOnStart = False
, allDesktops = True
@@ -23,9 +18,9 @@ Config {font = "Ubuntu bold 10"
, iconRoot = "/home/afonso/.config/xmobar/xpm/" -- default: "."
, commands = [
Run XMonadLog
- , Run Date "%a, %d %b %H:%M" "date" 10
- , Run Mpris2 "playerctld" ["-t", " - "] 10
- , Run Memory ["-t"," %"] 50
+ , Run Date "%a, %d %b %H:%M" "date" 10
+ , Run Mpris2 "playerctld" ["-t", " - "] 10
+ , Run Memory ["-t"," %"] 50
, Run Com "/home/afonso/.config/xmobar/scripts/disk.sh" [] "disk" 100
, Run Com "/home/afonso/.config/xmobar/scripts/cpu_temp.sh" [] "cpu" 50
, Run Com "/home/afonso/.config/xmobar/scripts/battery.sh" [] "battery" 50
@@ -41,7 +36,7 @@ Config {font = "Ubuntu bold 10"
\%date%\
\\
\{\
- \Playing: %mpris2%\
+ \Playing: %mpris2%\
\ \
\|\
\ \
@@ -54,10 +49,10 @@ Config {font = "Ubuntu bold 10"
\%cpu%\
\ \
\ \
- \%disk%\
- \ \
- \ \
- \%battery%\
- \|\
+ \%disk%\
+ \ \
+ \ \
+ \%battery%\
+ \|\
\%trayerpad%"
}