refactor(waybar): reorganize top bar with groups and add new modules
- config_top.jsonc: - Group modules into traygroup, pomodorogroup, bench, general - Add weather, language, CPU, memory, temperature modules with icons and states - Add pomodoro preset buttons (10m,20m,30m,1h,1h30m) - Split battery into #watt (power draw) and #charge (charge level) - Add invisible separators for spacing - config_bottom.jsonc: - Remove unused modules from left/right, add margin-top - style_top.css: - Style new groups and modules, define state-based colors for CPU/memory/temperature - Add hover effects and critical animation for paused pomodoro - style_bottom.css: - Style minimized taskbar buttons - Fix side panel group selector (use #group)
This commit is contained in:
@@ -7,24 +7,19 @@
|
||||
"height": 30,
|
||||
"margin-left": 5,
|
||||
"margin-right": 5,
|
||||
"margin-top": 5,
|
||||
"margin-bottom": 5,
|
||||
"position": "bottom",
|
||||
"layer": "top",
|
||||
"spacing": 0,
|
||||
"reload_style_on_change": true,
|
||||
"modules-left": [
|
||||
"tray",
|
||||
"custom/pomodoro"
|
||||
],
|
||||
"modules-center": [
|
||||
"wlr/taskbar",
|
||||
"custom/launcher"
|
||||
],
|
||||
"modules-right": [
|
||||
"battery",
|
||||
"cpu",
|
||||
"memory",
|
||||
"temperature"
|
||||
],
|
||||
"custom/separator": {
|
||||
"format": " ",
|
||||
|
||||
Reference in New Issue
Block a user