mirror of
https://github.com/danbulant/dotfiles
synced 2026-06-24 17:22:10 +00:00
111 lines
3.4 KiB
Text
Executable file
111 lines
3.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,
|
||
|
||
// Choose the order of the modules
|
||
"modules-left": ["wlr/workspaces", "cpu", "memory", "disk"],
|
||
"modules-right": ["battery", "backlight", "pulseaudio", "network", "clock", "tray"],
|
||
|
||
// Modules configuration
|
||
|
||
"wlr/workspaces": {
|
||
"disable-scroll": false,
|
||
"on-scroll-up": "hyprctl dispatch workspace e+1",
|
||
"on-scroll-down": "hyprctl dispatch workspace e-1",
|
||
"all-outputs": true,
|
||
"on-click": "activate",
|
||
"format": "{name}"
|
||
},
|
||
"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"
|
||
},
|
||
|
||
"tray": {
|
||
//"icon-size": 11,
|
||
"spacing": 5
|
||
},
|
||
|
||
"clock": {
|
||
"format": " {:%I:%M %p %e %b}",
|
||
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
|
||
"today-format": "<b>{}</b>"
|
||
},
|
||
|
||
"cpu": {
|
||
"interval": 10,
|
||
"format": "{}% ",
|
||
"max-length": 10
|
||
},
|
||
|
||
"memory": {
|
||
"interval": 30,
|
||
"format": "{}% ",
|
||
"max-length": 10
|
||
},
|
||
|
||
"disk": {
|
||
"interval": 30,
|
||
"format": "{percentage_used}% ",
|
||
"path": "/"
|
||
},
|
||
|
||
"network": {
|
||
// "interface": "wlan0", // (Optional) To force the use of this interface,
|
||
"format-wifi": "歷 {essid}",
|
||
// "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"
|
||
},
|
||
|
||
"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": {
|
||
"default": ["", "", ""]
|
||
},
|
||
"on-click": "pulsemixer --unmute",
|
||
"on-click-right": "pulsemixer --mute"
|
||
},
|
||
|
||
"battery": {
|
||
"states": {
|
||
// "good": 95,
|
||
"warning": 30,
|
||
"critical": 15
|
||
},
|
||
"format": "{icon} {capacity}%",
|
||
"format-charging": " {capacity}%",
|
||
"format-plugged": " {capacity}%",
|
||
"format-alt": "{icon} {time}",
|
||
"format-icons": ["", "", "", "", ""]
|
||
},
|
||
|
||
"backlight": {
|
||
// "device": "acpi_video1",
|
||
"format": "{icon} {percent}%",
|
||
"format-icons": ["", "", "", "", "", "", "", ""]
|
||
}
|
||
}
|
||
|