107 lines
3.2 KiB
JSON
107 lines
3.2 KiB
JSON
// -*- mode: jsonc -*-
|
|
{
|
|
"layer": "top", // Waybar at top layer
|
|
// "position": "bottom", // Waybar position (top|bottom|left|right)
|
|
"height": 52, // Waybar height (to be removed for auto height)
|
|
// "width": 1280, // Waybar width
|
|
"spacing": 0, // Gaps between modules (4px)
|
|
// Choose the order of the modules
|
|
"modules-left": [
|
|
"cpu",
|
|
"memory",
|
|
"custom/edit-config",
|
|
"hyprland/workspaces",
|
|
"hyprland/window"
|
|
],
|
|
"modules-center": [
|
|
"mpris"
|
|
],
|
|
"modules-right": [
|
|
"tray",
|
|
"gamemode",
|
|
"wireplumber",
|
|
"custom/notification",
|
|
"clock"
|
|
],
|
|
//"reload_style_on_change": true,
|
|
"hyprland/window":{
|
|
"separate-outputs": true,
|
|
"hide-empty-text": true,
|
|
},
|
|
"tray": {
|
|
// "icon-size": 21,
|
|
"spacing": 10
|
|
},
|
|
"clock": {
|
|
// "timezone": "America/New_York",
|
|
"format": "{:%I : %M %p %Y-%m-%d}",
|
|
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>"
|
|
},
|
|
"cpu": {
|
|
"format": "{usage}% ",
|
|
"tooltip": false
|
|
},
|
|
"memory": {
|
|
"format": "{}% "
|
|
},
|
|
"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": ["", "", ""]
|
|
},
|
|
"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}"
|
|
},
|
|
"wireplumber": {
|
|
"format": "{node_name} {volume}% {icon}",
|
|
"format-muted": "{node_name} ",
|
|
"on-click": "hyprctl dispatch -- exec flatpak run com.saivert.pwvucontrol",
|
|
"format-icons": ["", "", ""]
|
|
},
|
|
"custom/notification": {
|
|
"tooltip": false,
|
|
"format": "{} {icon}",
|
|
"format-icons": {
|
|
"notification": "",
|
|
"none": "",
|
|
"dnd-notification": "",
|
|
"dnd-none": "",
|
|
"inhibited-notification": "",
|
|
"inhibited-none": "",
|
|
"dnd-inhibited-notification": "",
|
|
"dnd-inhibited-none": ""
|
|
},
|
|
"return-type": "json",
|
|
"exec-if": "which swaync-client",
|
|
"exec": "swaync-client -swb",
|
|
"on-click": "swaync-client -t -sw",
|
|
"on-click-right": "swaync-client -d -sw",
|
|
"escape": true
|
|
},
|
|
"custom/edit-config": {
|
|
"format": "Edit",
|
|
"on-click": "$HOME/bin/local-lua $HOME/bin/launch-edit-configs.lua",
|
|
"on-click-right": "$HOME/bin/reload-waybar"
|
|
},
|
|
"mpris": {
|
|
"format": "{player_icon} {title} - {artist}",
|
|
"format-paused": "{status_icon} {title} - {artist}",
|
|
"player-icons": {
|
|
"default": "▶",
|
|
"mpv": "🎵"
|
|
},
|
|
"status-icons": {
|
|
"paused": "⏸"
|
|
}
|
|
},
|
|
}
|