statusbar: updated scripts

master
tiyn 1 year ago
parent 78bfabfc08
commit 8097527147

@ -1,7 +1,3 @@
#!/bin/sh
date +" %d %b %H:%M"
case $BLOCK_BUTTON in
1) notify-send -u low "This Month" "$(cal --color=always | sed "s/..7m/<b><span color=\"red\">/;s/..0m/<\/span><\/b>/")" ;;
esac
date +" %d %b %H:%M"

@ -6,7 +6,3 @@
[ ! -n "${wifiicon+var}" ] && wifiicon=$(grep "^\s*w" /proc/net/wireless | awk '{ print "", int($3 * 100 / 70) "%" }')
printf "%s %s\n" "$(cat /sys/class/net/e*/operstate | sed "s/down//;s/up/󰈀/")" "$wifiicon"
case $BLOCK_BUTTON in
1) $TERMINAL -e "nmtui" ;;
esac

Loading…
Cancel
Save