summaryrefslogtreecommitdiffstats
path: root/roles/waybar
diff options
context:
space:
mode:
Diffstat (limited to 'roles/waybar')
-rw-r--r--roles/waybar/meta/main.yml1
-rw-r--r--roles/waybar/templates/waybar/config.jsonc.j23
2 files changed, 3 insertions, 1 deletions
diff --git a/roles/waybar/meta/main.yml b/roles/waybar/meta/main.yml
index 3a9129ab..42bff5f1 100644
--- a/roles/waybar/meta/main.yml
+++ b/roles/waybar/meta/main.yml
@@ -6,6 +6,7 @@ dependencies:
- role: "bluetui"
- role: "wlctl"
- role: "wiremix"
+ - role: "gnome-calendar"
galaxy_info:
author: "a14m"
description: "Install waybar"
diff --git a/roles/waybar/templates/waybar/config.jsonc.j2 b/roles/waybar/templates/waybar/config.jsonc.j2
index 7eef4ac2..f88c7927 100644
--- a/roles/waybar/templates/waybar/config.jsonc.j2
+++ b/roles/waybar/templates/waybar/config.jsonc.j2
@@ -42,7 +42,8 @@
"clock": {
"format": "󰸘 {0:L%a %b %d} -  {0:%H:%M}",
"format-alt": "󰸘 {0:L%A %d %B %Y (W%V)} -  {0:%H:%M}",
- "tooltip": false
+ "tooltip": false,
+ "on-click-right": "uwsm-app -- gnome-calendar"
},
"network": {
"format-icons": ["󰤯", "󰤟", "󰤢", "󰤥", "󰤨"],