Add clickable date.sh to polybar config

This commit is contained in:
Riyyi
2020-07-19 02:54:53 +02:00
parent 439c661eaf
commit 310bc8819e
2 changed files with 7 additions and 1 deletions
+1 -1
View File
@@ -144,7 +144,7 @@ interval = 5
time = %I:%M %p
time-alt =
format = <label>
format = %{A1:$HOME/.scripts/panel/date.sh:}<label>%{A}
format-foreground = ${colors.white-bright}
label = %{T4}%{T-} %time%
+6
View File
@@ -0,0 +1,6 @@
#!/bin/sh
DATE="$(date +'%A, %B %d, %Y')"
notify-send -r 3 "Date" "\
$DATE"