Fix statusbar
This commit is contained in:
parent
11ed18bc11
commit
d962800e93
|
@ -51,7 +51,7 @@
|
||||||
* Patch: https://gist.github.com/danbyl/54f7c1d57fc6507242a95b71c3d8fdea
|
* Patch: https://gist.github.com/danbyl/54f7c1d57fc6507242a95b71c3d8fdea
|
||||||
* https://dwm.suckless.org/patches/statuscmd/
|
* 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
|
/* This patch shows the titles of all visible windows in the status bar
|
||||||
* (as opposed to showing only the selected one).
|
* (as opposed to showing only the selected one).
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
# Displays the current time in HH:MM:SS (AM|PM)
|
# Displays the current time in HH:MM:SS (AM|PM)
|
||||||
|
|
||||||
notify() {
|
notify() {
|
||||||
notify-send -i office-calendar-symbolic \
|
notify-send -a Calendar -i office-calendar-symbolic \
|
||||||
-h string:x-canonical-private-synchronous:"$1" "$@"
|
-h string:x-canonical-private-synchronous:"$1" "$@"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -10,4 +10,4 @@ load=$(cut -d' ' -f1 /proc/loadavg)
|
||||||
|
|
||||||
. sb-theme
|
. sb-theme
|
||||||
[ 1 -eq "$(echo "$load > $threshold" | bc)" ] && color=9
|
[ 1 -eq "$(echo "$load > $threshold" | bc)" ] && color=9
|
||||||
display " $load" "$color"
|
display " $load" "$color"
|
||||||
|
|
|
@ -6,4 +6,4 @@ case $BLOCK_BUTTON in
|
||||||
esac
|
esac
|
||||||
|
|
||||||
. sb-theme
|
. 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))}')"
|
||||||
|
|
Loading…
Reference in a new issue