From 6faef909617618794f24bee24031ef7c38814364 Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Tue, 27 Aug 2024 13:42:14 -0400 Subject: [PATCH] update: events module --- waybar/themes/meow-blur/config | 45 ++++++++++++++++++++++++++-- waybar/themes/meow-blur/modules.json | 3 +- 2 files changed, 45 insertions(+), 3 deletions(-) diff --git a/waybar/themes/meow-blur/config b/waybar/themes/meow-blur/config index 58b3dfe..b700916 100644 --- a/waybar/themes/meow-blur/config +++ b/waybar/themes/meow-blur/config @@ -11,7 +11,7 @@ [{ // General Settings "layer": "top", - "output": ["eDP-1", "DP-1", "DP-2"], + "output": ["eDP-1", "DP-1"], "margin-top": 0, "margin-bottom": 0, "layer": "top", @@ -82,5 +82,46 @@ "tray", "custom/events" ] -}] +},{ + // General Settings + "layer": "top", + "output": ["DP-2"], + "margin-top": 0, + "margin-bottom": 0, + "layer": "top", + "margin-left": 0, + "margin-right": 0, + "spacing": 0, + + // Load Modules + "include": ["~/dotfiles/waybar/themes/meow-blur/modules.json"], + + // Modules Left + "modules-left": [ + "custom/appmenuicon", + "hyprland/workspaces", + //"custom/appmenu", + //"group/settings", + "wlr/taskbar", + //"group/quicklinks", + "hyprland/window", + "custom/empty" + ], + + // Modules Center + "modules-center": [ + "custom/events" + ], + + // Modules Right + "modules-right": [ + "custom/updates", + "group/hardware", + "group/hardware2", + "battery", + "battery#charging", + "tray", + "group/power" + ] +},] diff --git a/waybar/themes/meow-blur/modules.json b/waybar/themes/meow-blur/modules.json index dbe0315..6f69101 100644 --- a/waybar/themes/meow-blur/modules.json +++ b/waybar/themes/meow-blur/modules.json @@ -466,6 +466,7 @@ "default": "" }, "exec": "python3 ~/dotfiles/scripts/waybar-khal.py", - "return-type": "json" + "return-type": "json", + "on-click-right": "vdirsyncer sync" } }