diff options
| author | Luke Smith <luke@lukesmith.xyz> | 2020-04-08 22:01:51 -0400 |
|---|---|---|
| committer | Luke Smith <luke@lukesmith.xyz> | 2020-04-08 22:01:51 -0400 |
| commit | 4814403bbf58794da3349f21e55746e50e68eab4 (patch) | |
| tree | 3bc52b7cd8eefc02d9d74e1442e7a979507b460d /.local/bin/statusbar/clock | |
| parent | 3e8f5c1647e15586b7ec09f9c415b3a50f49e6ac (diff) | |
| download | eibhear-4814403bbf58794da3349f21e55746e50e68eab4.tar.gz eibhear-4814403bbf58794da3349f21e55746e50e68eab4.tar.zst eibhear-4814403bbf58794da3349f21e55746e50e68eab4.zip | |
pgrep junk removed and minor script changes
Diffstat (limited to '.local/bin/statusbar/clock')
| -rwxr-xr-x | .local/bin/statusbar/clock | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/.local/bin/statusbar/clock b/.local/bin/statusbar/clock index 23e881e..9799b97 100755 --- a/.local/bin/statusbar/clock +++ b/.local/bin/statusbar/clock @@ -3,8 +3,8 @@ date '+%Y %b %d (%a) %I:%M%p' case $BLOCK_BUTTON in - 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 -d3)" ;; - 2) $TERMINAL -e calcurse -D ${XDG_CONFIG_HOME:-$HOME/.config}/calcurse ;; - 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\` + 1) 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) 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 |
