mirror of
https://codeberg.org/hako/Rosenthal.git
synced 2025-09-18 20:54:37 +00:00
* modules/rosenthal/examples/waybar/config.jsonc: Set height to 36. * modules/rosenthal/examples/waybar/style.css (#taskbar button): Fix padding.
107 lines
2.8 KiB
Plaintext
107 lines
2.8 KiB
Plaintext
// -*- mode: jsonc -*-
|
|
// SPDX-FileCopyrightText: 2025 Hilton Chain <hako@ultrarare.space>
|
|
//
|
|
// SPDX-License-Identifier: CC0-1.0
|
|
|
|
{
|
|
"layer": "top",
|
|
"height": 36,
|
|
"spacing": 5,
|
|
"modules-left": [
|
|
"temperature",
|
|
"cpu",
|
|
"memory",
|
|
"wlr/taskbar",
|
|
],
|
|
"modules-center": [
|
|
"clock",
|
|
],
|
|
"modules-right": [
|
|
"tray",
|
|
"wireplumber",
|
|
"backlight",
|
|
"battery",
|
|
],
|
|
// left
|
|
"temperature": {
|
|
"critical-threshold": 80,
|
|
"format": "{temperatureC}\u00B0C",
|
|
"interval": 2,
|
|
"tooltip": false,
|
|
},
|
|
"cpu": {
|
|
"format": "CPU {usage}%",
|
|
"states": {
|
|
"full": 90,
|
|
},
|
|
"interval": 2,
|
|
},
|
|
"memory": {
|
|
"format": "RAM {percentage}%",
|
|
"states": {
|
|
"full": 90,
|
|
},
|
|
"interval": 2,
|
|
},
|
|
"wlr/taskbar": {
|
|
"format": "{icon}",
|
|
"icon-size": 16,
|
|
"tooltip-format": "{title}",
|
|
"on-click": "activate",
|
|
"on-click-middle": "close",
|
|
},
|
|
// center
|
|
"clock": {
|
|
"format": "{:%A, %B %d, %Y (%R)}",
|
|
"tooltip-format": "<tt><small>{calendar}</small></tt>",
|
|
"calendar": {
|
|
"mode" : "year",
|
|
"mode-mon-col" : 3,
|
|
"weeks-pos" : "right",
|
|
"on-scroll" : 1,
|
|
"format": {
|
|
"months": "<span color='#FFEAD3'><b>{}</b></span>",
|
|
"days": "<span color='#ECC6D9'><b>{}</b></span>",
|
|
"weeks": "<span color='#99FFDD'><b>W{}</b></span>",
|
|
"weekdays": "<span color='#FFCC66'><b>{}</b></span>",
|
|
"today": "<span color='#FF6699'><b><u>{}</u></b></span>",
|
|
}
|
|
},
|
|
"actions": {
|
|
"on-click-right": "mode",
|
|
"on-scroll-up": "tz_up",
|
|
"on-scroll-down": "tz_down",
|
|
"on-scroll-up": "shift_up",
|
|
"on-scroll-down": "shift_down",
|
|
}
|
|
},
|
|
// right
|
|
"tray": {
|
|
"spacing": 10,
|
|
},
|
|
"wireplumber": {
|
|
"scroll-step": 5,
|
|
"format": "{icon} {volume}%",
|
|
"format-icons": ["\uF026", "\uF027", "\uF028"],
|
|
"format-muted": "Muted {volume}%",
|
|
"on-click": "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle",
|
|
"on-click-right": "pavucontrol",
|
|
},
|
|
"backlight": {
|
|
"on-scroll-down": "light -U 5",
|
|
"on-scroll-up": "light -A 5",
|
|
"format": "{icon} {percent}%",
|
|
"format-icons": ["\uF186", "\uF0EB"],
|
|
"tooltip": false,
|
|
},
|
|
"battery": {
|
|
"interval": 60,
|
|
"states": {
|
|
"warning": 30,
|
|
"critical": 15,
|
|
},
|
|
"format": "{icon} {capacity}%",
|
|
"format-icons": ["\uF244", "\uF243", "\uF242", "\uF241", "\uF240"],
|
|
},
|
|
}
|