#!/bin/sh
case $BLOCK_BUTTON in
- 1) notify-send " memory users" "$(ps axch -o cmd:15,%mem --sort=-%mem | head)" ;;
- 3) notify-send " memory status" "\- shows memory used/total
+ 1) notify-send "🧠 memory users" "$(ps axch -o cmd:15,%mem --sort=-%mem | head)" ;;
+ 3) notify-send "🧠 memory status" "\- shows memory used/total
- left click to show memory users" ;;
6) setsid -f "$TERMINAL" -e "$EDITOR" "$0" ;;
esac
1) device=$(pactl get-default-sink)
otherDevices=$(pactl list short sinks | grep -v $device | awk '{print $2}' | cut -d'.' -f2 | cut -c -25)
pkill -RTMIN+10 "${STATUSBAR:-dwmblocks}" ;
- notify-send " Devices" "*$(echo $device | cut -d'.' -f2 | cut -c -25)
+ notify-send "📢 Devices" "*$(echo $device | cut -d'.' -f2 | cut -c -25)
$otherDevices" ;;
2) wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle ;;
- 3) notify-send " sound" "\- shows volume , if muted.
+ 3) notify-send "📢 sound" "\- shows volume , if muted.
- left-click to show audio device
- middle-click to mute" ;;
6) setsid -f "$TERMINAL" -e "$EDITOR" "$0" ;;
#!/bin/sh
case $BLOCK_BUTTON in
- 1) notify-send " weather" "$(curl 'wttr.in/Brockport?format=%l:+\n%C+%c\nfeels-like:%f+actual:%t\nsunrise:%S+sunset:%s\n')" ;;
+ 1) notify-send "🌦️ weather" "$(curl 'wttr.in/Brockport?format=%l:+\n%C+%c\nfeels-like:%f+actual:%t\nsunrise:%S+sunset:%s\n')" ;;
6) setsid -f "$TERMINAL" -e "$EDITOR" "$0" ;;
esac