update: events module

This commit is contained in:
Yingjie Wang 2024-08-27 13:42:14 -04:00
parent c223de3de1
commit 6faef90961
2 changed files with 45 additions and 3 deletions

View File

@ -11,7 +11,7 @@
[{ [{
// General Settings // General Settings
"layer": "top", "layer": "top",
"output": ["eDP-1", "DP-1", "DP-2"], "output": ["eDP-1", "DP-1"],
"margin-top": 0, "margin-top": 0,
"margin-bottom": 0, "margin-bottom": 0,
"layer": "top", "layer": "top",
@ -82,5 +82,46 @@
"tray", "tray",
"custom/events" "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"
]
},]

View File

@ -466,6 +466,7 @@
"default": "" "default": ""
}, },
"exec": "python3 ~/dotfiles/scripts/waybar-khal.py", "exec": "python3 ~/dotfiles/scripts/waybar-khal.py",
"return-type": "json" "return-type": "json",
"on-click-right": "vdirsyncer sync"
} }
} }