diff options
| author | Luke Smith <luke@lukesmith.xyz> | 2019-04-02 19:20:26 -0400 |
|---|---|---|
| committer | Luke Smith <luke@lukesmith.xyz> | 2019-04-02 19:20:26 -0400 |
| commit | fd57c4350b5cebe82ca0790856340eae1dbb3d81 (patch) | |
| tree | f15f34c1dec271d0bf7548325ef95a78991bc5fe /.scripts/statusbar/clock | |
| parent | 72095821e987c38520b1beab56fa69f2006d8615 (diff) | |
| download | eibhear-fd57c4350b5cebe82ca0790856340eae1dbb3d81.tar.gz eibhear-fd57c4350b5cebe82ca0790856340eae1dbb3d81.tar.zst eibhear-fd57c4350b5cebe82ca0790856340eae1dbb3d81.zip | |
fix for dunst update
Diffstat (limited to '.scripts/statusbar/clock')
| -rwxr-xr-x | .scripts/statusbar/clock | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/.scripts/statusbar/clock b/.scripts/statusbar/clock index 588c523..d6d54ef 100755 --- a/.scripts/statusbar/clock +++ b/.scripts/statusbar/clock @@ -3,9 +3,8 @@ date '+%Y %b %d (%a) %I:%M%p' case $BLOCK_BUTTON in - 1) pgrep -x dunst >/dev/null && notify-send "$(cal --color=always | sed "s/..7m/<b><span color=\"red\">/;s/..27m/<\/span><\/b>/")" && notify-send "$(calcurse -D ~/.config/calcurse -d3)" ;; + 1) pgrep -x dunst >/dev/null && notify-send "This Month" "$(cal --color=always | sed "s/..7m/<b><span color=\"red\">/;s/..27m/<\/span><\/b>/")" && notify-send "Appointments" "$(calcurse -D ~/.config/calcurse -d3)" ;; 2) "$TERMINAL" -e calcurse -D ~/.config/calcurse ;; - 3) pgrep -x dunst >/dev/null && notify-send "<b>📅 Time/date module:</b> -- Left click to show upcoming appointments for the next three days via \`calcurse -d3\` and show the month via \`cal\` + 3) pgrep -x dunst >/dev/null && notify-send "📅 Time/date module" "\- Left click to show upcoming appointments for the next three days via \`calcurse -d3\` and show the month via \`cal\` - Middle click opens calcurse if installed" ;; esac |
