147 lines
4 KiB
JSON
147 lines
4 KiB
JSON
{
|
|
"layer": "top", // Waybar at top layer
|
|
"position": "top", // Waybar position (top|bottom|left|right)
|
|
"height": 32, // Waybar height
|
|
// "width": 120, // Waybar width
|
|
// Choose the order of the modules
|
|
"modules-center": ["hyprland/workspaces"],
|
|
"modules-left": ["hyprland/window"],
|
|
"modules-right": [
|
|
"network",
|
|
"bluetooth",
|
|
"tray",
|
|
"cpu",
|
|
"memory",
|
|
"pulseaudio",
|
|
"custom/notification",
|
|
"clock",
|
|
],
|
|
// Modules configuration
|
|
"hyprland/workspaces": {
|
|
"disable-scroll": true,
|
|
"disable-markup": false,
|
|
"all-outputs": false,
|
|
"format": "{id}",
|
|
"persistent-workspaces": {
|
|
"HDMI-A-1": [1, 2, 3, 4, 5],
|
|
},
|
|
// "format": "{icon}",
|
|
// "format-icons": {
|
|
// "1": "",
|
|
// "2": "",
|
|
// "3": "",
|
|
// "4": "",
|
|
// "5": "",
|
|
// "focused": "",
|
|
// "default": "",
|
|
// },
|
|
},
|
|
// "wlr/taskbar": {
|
|
// "format": "{icon}",
|
|
// "tooltip": true,
|
|
// "tooltip-format": "{title}",
|
|
// "on-click": "activate",
|
|
// "on-click-middle": "close",
|
|
// "active-first": true,
|
|
// },
|
|
// "hyprland/mode": {
|
|
// "format": "<span style=\"italic\">{}</span>",
|
|
// },
|
|
"tray": {
|
|
"icon-size": 24,
|
|
"spacing": 6,
|
|
},
|
|
"clock": {
|
|
"format": "{:%A | %B %e, %Y - %I:%M %p}",
|
|
"tooltip": true,
|
|
"tooltip-format": "<tt><span>{calendar}</span></tt>",
|
|
// "calendar": {
|
|
// "mode": "month",
|
|
// "format": {
|
|
// "months": "<span><b>{}</b></span>",
|
|
// "days": "<span color='#cdd6f4'><b>{}</b></span>",
|
|
// "weekdays": "<span><b>{}</b></span>",
|
|
// "today": "<span><b>{}</b></span>",
|
|
// },
|
|
// },
|
|
"calendar": {
|
|
"mode": "month",
|
|
"format": {
|
|
"months": "<span><b>{}</b></span>",
|
|
"days": "<span color='#999999'><b>{}</b></span>",
|
|
"weekdays": "<span><b>{}</b></span>",
|
|
"today": "<span color='#ffffff'>{}</span>",
|
|
},
|
|
},
|
|
},
|
|
"bluetooth": {
|
|
"format": "",
|
|
"format-disabled": "",
|
|
"tooltip": true,
|
|
"tooltip-format": "Bluetooth",
|
|
"on-click": "blueman-applet",
|
|
},
|
|
"cpu": {
|
|
"format": "{usage}% ",
|
|
},
|
|
"memory": {
|
|
"format": "{}% 💻",
|
|
},
|
|
"network": {
|
|
// "interface": "",
|
|
"format-wifi": "Connected ",
|
|
"format-ethernet": "{ifname}: {ipaddr}/{cidr} ",
|
|
"format-disconnected": "Disconnected ⚠",
|
|
"interval": 10,
|
|
"tooltip": true,
|
|
"tooltip-format": "Network: {essid}\nSignal strength: {signaldBm}dBm ({signalStrength}%)\nFrequency: {frequency}MHz\nInterface: {ifname}",
|
|
//"on-click": "nmtui"
|
|
},
|
|
"pulseaudio": {
|
|
"tooltip": false,
|
|
//"scroll-step": 1,
|
|
"format": "{volume}% {icon}",
|
|
"format-bluetooth": "{volume}% {icon}",
|
|
"format-muted": "🔈️",
|
|
"format-icons": {
|
|
"headphones": "🎧️",
|
|
"headset": "🎧️",
|
|
"phone": "📞",
|
|
"portable": "📞",
|
|
"car": "🚘️",
|
|
"default": ["🔈️", "🔊"],
|
|
},
|
|
"on-click": "pavucontrol",
|
|
},
|
|
"custom/notification": {
|
|
"tooltip": false,
|
|
"format": "{icon}",
|
|
"format-icons": {
|
|
"notification": "<span foreground='red'><sup></sup></span>",
|
|
"none": "",
|
|
"dnd-notification": "<span foreground='red'><sup></sup></span>",
|
|
"dnd-none": "",
|
|
"inhibited-notification": "<span foreground='red'><sup></sup></span>",
|
|
"inhibited-none": "",
|
|
"dnd-inhibited-notification": "<span foreground='red'><sup></sup></span>",
|
|
"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/media": {
|
|
// "format": "{icon} {}",
|
|
// "return-type": "json",
|
|
// "max-length": 40,
|
|
// "format-icons": {
|
|
// "spotify": "",
|
|
// "default": "🎜",
|
|
// },
|
|
// "escape": true,
|
|
// "exec": "$HOME/.config/waybar/mediaplayer.py 2> /dev/null", // Script in resources folder
|
|
// },
|
|
}
|