Add clickable date.sh to polybar config
This commit is contained in:
@@ -144,7 +144,7 @@ interval = 5
|
|||||||
time = %I:%M %p
|
time = %I:%M %p
|
||||||
time-alt =
|
time-alt =
|
||||||
|
|
||||||
format = <label>
|
format = %{A1:$HOME/.scripts/panel/date.sh:}<label>%{A}
|
||||||
format-foreground = ${colors.white-bright}
|
format-foreground = ${colors.white-bright}
|
||||||
|
|
||||||
label = %{T4}%{T-} %time%
|
label = %{T4}%{T-} %time%
|
||||||
|
|||||||
Executable
+6
@@ -0,0 +1,6 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
DATE="$(date +'%A, %B %d, %Y')"
|
||||||
|
|
||||||
|
notify-send -r 3 "Date" "\
|
||||||
|
$DATE"
|
||||||
Reference in New Issue
Block a user