[xmobar] Added gruvbox theme
This commit is contained in:
parent
fb1b10e0e0
commit
45ea35660b
4 changed files with 17 additions and 22 deletions
|
@ -13,10 +13,10 @@ else
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$temp" -ge "$temp2" ] ; then
|
if [ "$temp" -ge "$temp2" ] ; then
|
||||||
echo "<fn=6></fn> <fc=#C1514E>$temp</fc>°C"
|
echo "<fc=#7C6F64><fn=6></fn></fc> <fc=#FB4934> $temp°C</fc>"
|
||||||
elif [ "$temp" -ge "$temp1" ] ; then
|
elif [ "$temp" -ge "$temp1" ] ; then
|
||||||
echo "<fn=6></fn> <fc=#C1A24E>$temp</fc>°C"
|
echo "<fc=#7C6F64><fn=6></fn></fc> <fc=#FE8019> $temp°C</fc>"
|
||||||
else
|
else
|
||||||
echo "<fn=6></fn> <fc=#AAC0F0>$temp</fc>°C"
|
echo "<fc=#7C6F64><fn=6></fn></fc> <fc=#B8BB26> $temp°C</fc>"
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
freespace=$(btrfs fi usage / | grep -Po 'Free \(estimated\):.*' | awk '{print $3}')
|
freespace=$(btrfs fi usage / | grep -Po 'Free \(estimated\):.*' | awk '{print $3}')
|
||||||
echo "<fn=6></fn> <fc=#AAC0F0> $freespace</fc>"
|
echo "<fc=#7C6F64><fn=6></fn></fc> <fc=#B8BB26> $freespace</fc>"
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
update_number=$(checkupdates | wc -l)
|
update_number=$(checkupdates | wc -l)
|
||||||
echo "<fn=6> </fn> <fc=#AAC0F0>$update_number</fc>"
|
echo "<fc=#7C6F64><fn=6> </fn></fc> <fc=#B8BB26>$update_number</fc>"
|
||||||
|
|
|
@ -8,14 +8,9 @@ Config {font = "Ubuntu bold 10"
|
||||||
, "Font Awesome 6 Free Solid 17"
|
, "Font Awesome 6 Free Solid 17"
|
||||||
, "Font Awesome 6 Free Solid 13"
|
, "Font Awesome 6 Free Solid 13"
|
||||||
]
|
]
|
||||||
, bgColor = "#2B2E37"
|
, bgColor = "#282828"
|
||||||
, fgColor = "#929AAD"
|
, fgColor = "#ebdbb2"
|
||||||
-- Position TopSize and BottomSize take 3 arguments:
|
, position = TopH 36
|
||||||
-- 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
|
|
||||||
, lowerOnStart = True
|
, lowerOnStart = True
|
||||||
, hideOnStart = False
|
, hideOnStart = False
|
||||||
, allDesktops = True
|
, allDesktops = True
|
||||||
|
@ -23,9 +18,9 @@ Config {font = "Ubuntu bold 10"
|
||||||
, iconRoot = "/home/afonso/.config/xmobar/xpm/" -- default: "."
|
, iconRoot = "/home/afonso/.config/xmobar/xpm/" -- default: "."
|
||||||
, commands = [
|
, commands = [
|
||||||
Run XMonadLog
|
Run XMonadLog
|
||||||
, Run Date "%a, %d %b <fn=1></fn> %H:%M" "date" 10
|
, Run Date "<fc=#A89984>%a, %d %b <fn=1></fn> %H:%M</fc>" "date" 10
|
||||||
, Run Mpris2 "playerctld" ["-t", "<fc=#AAC0F0><artist> - <title></fc>"] 10
|
, Run Mpris2 "playerctld" ["-t", "<artist> - <title>"] 10
|
||||||
, Run Memory ["-t","<fn=6></fn> <fc=#AAC0F0><usedratio></fc>%"] 50
|
, Run Memory ["-t","<fc=#7C6F64><fn=6></fn></fc> <fc=#B8BB26> <usedratio>%</fc>"] 50
|
||||||
, Run Com "/home/afonso/.config/xmobar/scripts/disk.sh" [] "disk" 100
|
, 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/cpu_temp.sh" [] "cpu" 50
|
||||||
, Run Com "/home/afonso/.config/xmobar/scripts/battery.sh" [] "battery" 50
|
, Run Com "/home/afonso/.config/xmobar/scripts/battery.sh" [] "battery" 50
|
||||||
|
@ -41,7 +36,7 @@ Config {font = "Ubuntu bold 10"
|
||||||
\%date%\
|
\%date%\
|
||||||
\<hspace=20/>\
|
\<hspace=20/>\
|
||||||
\{\
|
\{\
|
||||||
\Playing: %mpris2%\
|
\<fc=#7C6F64>Playing:</fc> <fc=#B8BB26>%mpris2%</fc>\
|
||||||
\ \
|
\ \
|
||||||
\|\
|
\|\
|
||||||
\ \
|
\ \
|
||||||
|
@ -54,10 +49,10 @@ Config {font = "Ubuntu bold 10"
|
||||||
\%cpu%\
|
\%cpu%\
|
||||||
\ \
|
\ \
|
||||||
\ \
|
\ \
|
||||||
\%disk%\
|
\%disk%\
|
||||||
\ \
|
\ \
|
||||||
\ \
|
\ \
|
||||||
\%battery%\
|
\%battery%\
|
||||||
\|\
|
\|\
|
||||||
\%trayerpad%"
|
\%trayerpad%"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue