Browse Source

Add clickable date.sh to polybar config

master
Riyyi 4 years ago
parent
commit
310bc8819e
  1. 2
      .config/polybar/modules
  2. 6
      .scripts/panel/date.sh

2
.config/polybar/modules

@ -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
.scripts/panel/date.sh

@ -0,0 +1,6 @@
#!/bin/sh
DATE="$(date +'%A, %B %d, %Y')"
notify-send -r 3 "Date" "\
$DATE"
Loading…
Cancel
Save