1
0
mirror of https://github.com/tiyn/dotfiles.git synced 2025-03-27 21:47:46 +01:00

statusbar: updated scripts

This commit is contained in:
tiyn 2023-10-14 00:12:13 +02:00
parent 78bfabfc08
commit 8097527147
2 changed files with 1 additions and 9 deletions

View File

@ -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"

View File

@ -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