Add clickable date.sh to polybar config
This commit is contained in:
@@ -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%
|
||||
|
||||
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