#!/bin/sh case $BLOCK_BUTTON in 1) notify-send "Current:" "$(qc - -c)" ;; 2) notify-send "Next:" "$(qc - -n)" ;; 3) notify-send "Remaining:" "$(qc - -r)" ;; esac REM=$(qc - -r | wc -l) echo "Q:\ $REM ($(qc - -c | awk -F '[[:space:]][[:space:]]' '{print $3}'))"