111 lines
3.3 KiB
Text
111 lines
3.3 KiB
Text
// vim: ft=json5
|
|
{
|
|
// "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/window"],
|
|
// "modules-center": [],
|
|
"modules-right": [
|
|
"idle_inhibitor",
|
|
"mpris",
|
|
"wireplumber",
|
|
"cpu",
|
|
"memory",
|
|
"temperature",
|
|
"network",
|
|
"clock",
|
|
"upower",
|
|
"tray"
|
|
],
|
|
// Modules configuration
|
|
"hyprland/workspaces": {
|
|
"all-outputs": true,
|
|
"move-to-monitor": true
|
|
},
|
|
"keyboard-state": {
|
|
"numlock": true,
|
|
"capslock": true,
|
|
"format": "{name} {icon}",
|
|
"format-icons": {
|
|
"locked": "",
|
|
"unlocked": ""
|
|
}
|
|
},
|
|
"hyprland/window": {
|
|
"format": "{}",
|
|
"separate-outputs": true,
|
|
"icon": true
|
|
},
|
|
"wlr/workspaces": {
|
|
"all-outputs": true,
|
|
"sort-by-name": true,
|
|
"sort-by-coordinates": false
|
|
},
|
|
"wireplumber": {
|
|
"format": " {volume}%",
|
|
"format-muted": "",
|
|
"on-click": "systemd-run --scope --user rofi -show pulse -modi pulse:/home/vladimir/bin/pulsemenu"
|
|
},
|
|
"idle_inhibitor": {
|
|
"format": "{icon}",
|
|
"format-icons": {
|
|
"activated": "",
|
|
"deactivated": ""
|
|
}
|
|
},
|
|
"tray": {
|
|
// "icon-size": 21,
|
|
"spacing": 10
|
|
},
|
|
"clock": {
|
|
// "timezone": "America/New_York",
|
|
"format": " {:%H:%M}",
|
|
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
|
|
"format-alt": " {:%Y-%m-%d}"
|
|
},
|
|
"cpu": {
|
|
"format": " {usage}%",
|
|
"tooltip": false,
|
|
"on-click": "kitty -e htop"
|
|
},
|
|
"memory": {
|
|
"format": " {}%"
|
|
},
|
|
"temperature": {
|
|
// "thermal-zone": 2,
|
|
// "hwmon-path": "/sys/class/hwmon/hwmon2/temp1_input",
|
|
"critical-threshold": 80,
|
|
// "format-critical": "{temperatureC}°C {icon}",
|
|
"format": "{icon} {temperatureC}°C",
|
|
"format-icons": ["", "", ""]
|
|
},
|
|
"backlight": {
|
|
// "device": "acpi_video1",
|
|
"format": "{icon} {percent}%",
|
|
"format-icons": ["", "", "", "", "", "", "", "", ""]
|
|
},
|
|
"network": {
|
|
"interface": "wlan0", // (Optional) To force the use of this interface
|
|
"format-wifi": "{icon} {essid} ",
|
|
"format-icons": ["","","", ""],
|
|
"format-ethernet": " {ipaddr}/{cidr}",
|
|
"tooltip-format": "{signalStrength}% | {ipaddr}/{cidr} via {gwaddr}",
|
|
"format-linked": "{ifname} (No IP)",
|
|
"format-disconnected": "",
|
|
"format-alt": "{ifname}: {ipaddr}/{cidr}"
|
|
},
|
|
"mpris": {
|
|
"format": "{status_icon} {dynamic}",
|
|
"tooltip-format": "{player}",
|
|
"dynamic-order": ["artist", "title", "comment", "year"],
|
|
"dynamic-importance-order": ["title", "date", "artist", "comment" ],
|
|
"status-icons": {
|
|
"playing": "",
|
|
"paused": "",
|
|
"stopped": ""
|
|
}
|
|
}
|
|
}
|