Fix statusbar

This commit is contained in:
Alexis Jhon Gaspar 2023-09-18 19:06:23 +08:00
parent 11ed18bc11
commit d962800e93
4 changed files with 4 additions and 4 deletions

View file

@ -51,7 +51,7 @@
* Patch: https://gist.github.com/danbyl/54f7c1d57fc6507242a95b71c3d8fdea
* https://dwm.suckless.org/patches/statuscmd/
*/
#define BAR_DWMBLOCKS_SIGUSR1_PATCH 1
#define BAR_DWMBLOCKS_SIGUSR1_PATCH 0
/* This patch shows the titles of all visible windows in the status bar
* (as opposed to showing only the selected one).

View file

@ -2,7 +2,7 @@
# Displays the current time in HH:MM:SS (AM|PM)
notify() {
notify-send -i office-calendar-symbolic \
notify-send -a Calendar -i office-calendar-symbolic \
-h string:x-canonical-private-synchronous:"$1" "$@"
}

View file

@ -10,4 +10,4 @@ load=$(cut -d' ' -f1 /proc/loadavg)
. sb-theme
[ 1 -eq "$(echo "$load > $threshold" | bc)" ] && color=9
display " $load" "$color"
display " $load" "$color"

View file

@ -6,4 +6,4 @@ case $BLOCK_BUTTON in
esac
. sb-theme
display " $(free --mebi | awk 'NR==2 {printf ("%2.2fGiB\n", ($3 / 1024))}')"
display " $(free --mebi | awk 'NR==2 {printf ("%2.2fGiB\n", ($3 / 1024))}')"