dotfiles/.config/waybar/config.jsonc

126 lines
3.2 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",
"clock",
],
// Modules configuration
"hyprland/workspaces": {
"disable-scroll": true,
"disable-markup": false,
"all-outputs": false,
"format": "{name}",
"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": 16,
"spacing": 4,
},
"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/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
// },
}