152 lines
4.7 KiB
JSON
152 lines
4.7 KiB
JSON
// -*- mode: jsonc -*-
|
|
{
|
|
// "layer": "top", // Waybar at top layer
|
|
// "position": "bottom", // Waybar position (top|bottom|left|right)
|
|
"height": 30, // Waybar height (to be removed for auto height)
|
|
// "width": 1280, // Waybar width
|
|
"spacing": 4, // Gaps between modules (4px)
|
|
// Choose the order of the modules
|
|
"modules-left": [
|
|
"hyprland/workspaces",
|
|
"hyprland/submap"
|
|
],
|
|
"modules-center": [
|
|
"hyprland/window"
|
|
],
|
|
"modules-right": [
|
|
"cpu",
|
|
"memory",
|
|
"temperature",
|
|
"network",
|
|
"pulseaudio#sound",
|
|
"pulseaudio#mic",
|
|
"battery",
|
|
"backlight",
|
|
"clock",
|
|
"tray"
|
|
],
|
|
// Modules configuration
|
|
"hyprland/workspaces": {
|
|
"disable-scroll": true,
|
|
"all-outputs": true,
|
|
"warp-on-scroll": false,
|
|
"format": "{name}: {icon}",
|
|
"format-icons": {
|
|
"1": "",
|
|
"2": " ",
|
|
"3": "",
|
|
"4": "",
|
|
"5": " ",
|
|
// "urgent": "",
|
|
"focused": "",
|
|
"default": ""
|
|
}
|
|
},
|
|
"hyprland/submap": {
|
|
"format": "<span style=\"italic\">{}</span>"
|
|
},
|
|
"tray": {
|
|
// "icon-size": 21,
|
|
"spacing": 10
|
|
},
|
|
"clock": {
|
|
"format": "{:%Z: %R - %Y-%m-%d}",
|
|
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
|
|
"timezones": [
|
|
"Europe/Berlin",
|
|
"Etc/UTC",
|
|
"America/New_York",
|
|
"America/Los_Angeles",
|
|
"Australia/Perth"
|
|
],
|
|
"locale": "de_DE.UTF-8",
|
|
"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": "tz_up",
|
|
"on-click-right": "tz_down",
|
|
"on-click-middle": "mode"
|
|
}
|
|
},
|
|
"cpu": {
|
|
"format": "{usage}% ",
|
|
"tooltip": false
|
|
},
|
|
"memory": {
|
|
"format": "{used:0.1f}G/{total:0.1f}G "
|
|
},
|
|
"temperature": {
|
|
// "thermal-zone": 2,
|
|
// "hwmon-path": "/sys/class/hwmon/hwmon2/temp1_input",
|
|
"critical-threshold": 80,
|
|
// "format-critical": "{temperatureC}°C {icon}",
|
|
"format": "{temperatureC}°C {icon}",
|
|
"format-icons": [""]
|
|
},
|
|
"backlight": {
|
|
// "device": "acpi_video1",
|
|
"format": "{percent}% {icon}",
|
|
"format-icons": ["", "", "", "", "", "", "", "", ""]
|
|
},
|
|
"battery": {
|
|
"states": {
|
|
"full": 80,
|
|
"warning": 30,
|
|
"critical": 10
|
|
},
|
|
"format": "{capacity}% {icon}",
|
|
"format-full": "{capacity}% {icon}",
|
|
"format-charging": "{capacity}% ",
|
|
"format-plugged": "{capacity}% ",
|
|
"format-alt": "{time} {icon}",
|
|
// "format-good": "", // An empty format will hide the module
|
|
// "format-full": "",
|
|
"format-icons": ["", "", "", "", ""]
|
|
},
|
|
"network": {
|
|
// "interface": "wlp2*", // (Optional) To force the use of this interface
|
|
"format-wifi": "{essid} ({signalStrength}%) ",
|
|
"format-ethernet": "{ipaddr}/{cidr} ",
|
|
"tooltip-format": "{ifname} via {gwaddr} ",
|
|
"format-linked": "{ifname} (No IP) ",
|
|
"format-disconnected": "Disconnected ⚠",
|
|
"format-alt": "{ifname}: {ipaddr}/{cidr}"
|
|
},
|
|
"pulseaudio#sound": {
|
|
// "scroll-step": 1, // %, can be a float
|
|
"format": "{volume}% {icon}",
|
|
"format-bluetooth": "{volume}% {icon}",
|
|
"format-bluetooth-muted": " {icon}",
|
|
"format-muted": "",
|
|
"format-icons": {
|
|
"headphone": "",
|
|
"hands-free": "",
|
|
"headset": "",
|
|
"phone": "",
|
|
"portable": "",
|
|
"car": "",
|
|
"default": ["", "", ""]
|
|
},
|
|
"on-click": "pavucontrol"
|
|
},
|
|
"pulseaudio#mic": {
|
|
// "scroll-step": 1, // %, can be a float
|
|
"format": "{format_source}",
|
|
"format-muted": "{format_source}",
|
|
"format-source": "{volume}% ",
|
|
"format-source-muted": "",
|
|
"on-click": "pavucontrol"
|
|
}
|
|
}
|