feat(waybar): cleaner look

This commit is contained in:
fbachus
2025-01-10 02:02:17 +01:00
parent 32f6b882a5
commit 91f12faec9
2 changed files with 152 additions and 129 deletions

View File

@@ -8,9 +8,9 @@
// "width": 1280, // Waybar width
"spacing": 4, // Gaps between modules (4px)
// Choose the order of the modules
"modules-left": ["hyprland/window", "custom/media"],
"modules-center": ["hyprland/workspaces"],
"modules-right": ["pulseaudio", "cpu", "memory", "temperature", "backlight", "hyprland/language", "battery", "clock", "tray"],
"modules-left": ["hyprland/workspaces"],
"modules-center": ["clock"],
"modules-right": ["pulseaudio", "temperature", "cpu", "memory", "battery", "backlight", "hyprland/language", "tray"],
"hyprland/workspaces": {
"disable-scroll": false,
"all-outputs": false,
@@ -38,14 +38,25 @@
"unlocked": ""
}
},
"wlr/taskbar": {
"format": "{icon}",
"icon-size": 14,
"on-click": "activate",
},
"tray": {
// "icon-size": 21,
"spacing": 10
},
"clock": {
// "timezone": "America/New_York",
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
"format-alt": "{:%Y-%m-%d}"
"timezones": ["Europe/Berlin", "Asia/Hong_Kong"],
"tooltip-format": "<small>{tz_list}</small>\n<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
"format": "{:%H:%M}",
"format-alt": "{:%Y-%m-%d}",
"actions":{
"on-scroll-up": "tz_up",
"on-scroll-down": "tz_down",
},
"smooth-scrolling-threshold": 6.0,
},
"cpu": {
"format": "{usage}% ",
@@ -64,7 +75,7 @@
"format-icons": ["", "", ""]
},
"backlight": {
// "device": "acpi_video1",
"device": "intel_backlight",
"format": "{percent}%",// {icon}",
"format-icons": ["", "", "", "", "", "", "", "", ""]
},