mirror of
https://github.com/danbulant/dotfiles
synced 2026-06-06 08:11:34 +00:00
64 lines
2.4 KiB
Text
Executable file
64 lines
2.4 KiB
Text
Executable file
{
|
||
"layer": "top", // Waybar at top layer
|
||
"position": "bottom", // Waybar position (top|bottom|left|right)
|
||
"height": 30, // Waybar height (to be removed for auto height)
|
||
"fixed-center": true,
|
||
"spacing": 6, // Gaps between modules (4px)
|
||
|
||
// Choose the order of the modules
|
||
"modules-left": ["mpd"],
|
||
"modules-center": ["network"],
|
||
"modules-right": ["backlight", "pulseaudio", "tray"],
|
||
|
||
// Modules configuration
|
||
"mpd": {
|
||
"format": " {title} - {artist}",
|
||
"format-disconnected": "Disconnected",
|
||
"format-stopped": "Stopped",
|
||
"max-length": 50,
|
||
"on-click": "~/.config/rofi/bin/music",
|
||
"on-click-right": "alacritty -e ncmpcpp"
|
||
},
|
||
|
||
"network": {
|
||
// "interface": "wlan0", // (Optional) To force the use of this interface,
|
||
"format-wifi": "歷 {ifname}: {ipaddr}/{cidr}",
|
||
// "format-ethernet": "{ifname}: {ipaddr}/{cidr} ",
|
||
"format-ethernet": "{ifname} 歷",
|
||
// "format-linked": "{ifname} (No IP) ",
|
||
"format-linked": "{ifname} 歷",
|
||
"format-disconnected": "轢 Disconected",
|
||
// "format-alt": "{ifname}: {ipaddr}/{cidr}",
|
||
// "format-alt": "歷 {ifname}",
|
||
"family": "ipv4",
|
||
"tooltip-format-wifi": " {ifname} @ {essid}\nIP: {ipaddr}\nStrength: {signalStrength}%\nFreq: {frequency}MHz\n⬆️ {bandwidthUpBits} ⬇️ {bandwidthDownBits}",
|
||
"tooltip-format-ethernet": " {ifname}\nIP: {ipaddr}\n⬆️ {bandwidthUpBits} ⬇️ {bandwidthDownBits}",
|
||
"on-click": "~/.config/rofi/bin/network_menu",
|
||
"on-click-right": "nm-connection-editor"
|
||
},
|
||
|
||
"pulseaudio": {
|
||
"scroll-step": 3, // %, can be a float
|
||
"format": "{icon} {volume}%",
|
||
"format-bluetooth": "{icon} {volume}%",
|
||
"format-bluetooth-muted": "婢 MUTE",
|
||
"format-muted": "婢 MUTE",
|
||
//"format-source": "{volume}% ",
|
||
//"format-source-muted": "",
|
||
"format-source": "",
|
||
"format-source-muted": "",
|
||
"format-icons": {
|
||
"headphone": "",
|
||
"hands-free": "",
|
||
"headset": "",
|
||
"phone": "",
|
||
"portable": "",
|
||
"car": "",
|
||
"default": ["", "", ""]
|
||
},
|
||
"on-double-click": "pavucontrol",
|
||
"on-click": "pulsemixer --unmute",
|
||
"on-click-right": "pulsemixer --mute"
|
||
}
|
||
}
|
||
|