feat: add date widget
This commit is contained in:
parent
ed88184a04
commit
99464bed6e
6 changed files with 21 additions and 12 deletions
waybar/scripts
8
waybar/scripts/date-toggle.sh
Executable file
8
waybar/scripts/date-toggle.sh
Executable file
|
@ -0,0 +1,8 @@
|
|||
#!/bin/bash
|
||||
|
||||
if [[ $(eww state | grep calendar_month) ]]; then
|
||||
eww close date && eww close closer
|
||||
else
|
||||
eww close-all
|
||||
eww open date && eww open closer
|
||||
fi
|
|
@ -3,5 +3,6 @@
|
|||
if [[ $(eww state | grep br_icon) ]]; then
|
||||
eww close actions && eww close closer
|
||||
else
|
||||
eww close-all
|
||||
eww open actions && eww open closer
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue