mirror of
https://github.com/danbulant/dotfiles
synced 2026-07-05 19:21:10 +00:00
113 lines
3.8 KiB
Text
113 lines
3.8 KiB
Text
{
|
|
"layer": "top", // Waybar at top layer
|
|
"position": "bottom", // Waybar position (top|bottom|left|right)
|
|
"height": 32, // Waybar height (to be removed for auto height)
|
|
"spacing": 4, // Gaps between modules (4px)
|
|
"fixed-center": true,
|
|
|
|
// Choose the order of the modules
|
|
"modules-left": ["wlr/workspaces", "hyprland/window"],
|
|
// "modules-center": [],
|
|
"modules-right": ["mpd", "backlight", "pulseaudio", "network", "cpu", "memory", "disk", "battery", "clock", "tray"],
|
|
|
|
// Modules configuration
|
|
"wlr/workspaces": {
|
|
"disable-scroll": false,
|
|
"all-outputs": true,
|
|
"on-scroll-up": "hyprctl dispatch workspace e+1",
|
|
"on-scroll-down": "hyprctl dispatch workspace e-1",
|
|
"on-click": "activate",
|
|
"format": "{icon}"
|
|
},
|
|
|
|
"disk": {
|
|
"interval": 30,
|
|
"format": "{percentage_used}% <span color=\"#C778DD\"></span>",
|
|
"path": "/"
|
|
},
|
|
|
|
"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": 21,
|
|
"spacing": 10
|
|
},
|
|
|
|
"clock": {
|
|
// "timezone": "America/New_York",
|
|
"format": "{:%H:%M} <span color=\"#BF616A\"></span>",
|
|
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
|
|
"format-alt": "{:%Y-%m-%d} <span color=\"#BF616A\"></span>"
|
|
},
|
|
|
|
"cpu": {
|
|
"format": "{usage}% <span color=\"#EFCA84\"></span>",
|
|
"tooltip": false
|
|
},
|
|
|
|
"memory": {
|
|
"format": "{}% <span color=\"#62AEEF\"></span>"
|
|
},
|
|
|
|
"backlight": {
|
|
// "device": "acpi_video1",
|
|
"format": "{percent}% {icon}",
|
|
"format-icons": ["", "", "", "", "", "", "", "", ""]
|
|
},
|
|
|
|
"battery": {
|
|
"states": {
|
|
// "good": 95,
|
|
"warning": 30,
|
|
"critical": 15
|
|
},
|
|
"format": "{capacity}% <span color=\"#EFCA84\">{icon}</span>",
|
|
"format-charging": "{capacity}% <span color=\"#EFCA84\"></span>",
|
|
"format-plugged": "{capacity}% <span color=\"#EFCA84\"></span>",
|
|
"format-alt": "{time} <span color=\"#EFCA84\">{icon}</span>",
|
|
// "format-good": "", // An empty format will hide the module
|
|
// "format-full": "",
|
|
"format-icons": ["", "", "", "", ""]
|
|
},
|
|
|
|
"network": {
|
|
"format-wifi": "{essid} <span color=\"#C778DD\"></span>",
|
|
"format-ethernet": "{ipaddr}/{cidr} <span color=\"#C778DD\"></span>",
|
|
"tooltip-format": "{ifname} via {gwaddr} <span color=\"#C778DD\"></span>",
|
|
"format-linked": "{ifname} (No IP) <span color=\"#C778DD\"></span>",
|
|
"format-disconnected": "Disconnected 轢",
|
|
//"format-alt": "{ifname}: {ipaddr}/{cidr}"
|
|
"on-click": "~/.config/rofi/bin/network_menu",
|
|
"on-click-right": "nm-connection-editor"
|
|
},
|
|
|
|
"pulseaudio": {
|
|
// "scroll-step": 1, // %, can be a float
|
|
"format": "{volume}% <span color=\"#62AEEF\">{icon}</span>",
|
|
"format-bluetooth": "{volume}% <span color=\"#62AEEF\">{icon} </span>",
|
|
"format-bluetooth-muted": "MUTE 婢 ",
|
|
"format-muted": "MUTE 婢",
|
|
"format-source": "{volume}% <span color=\"#62AEEF\"></span>",
|
|
"format-source-muted": "",
|
|
"format-icons": {
|
|
"default": ["奄", "奄", "", "", "", ""]
|
|
},
|
|
"on-double-click": "pavucontrol",
|
|
"on-click": "pulsemixer --unmute",
|
|
"on-click-right": "pulsemixer --mute"
|
|
},
|
|
|
|
"hyprland/window": {
|
|
"format": "{}",
|
|
"max-length": 50,
|
|
"separate-outputs": true
|
|
}
|
|
}
|
|
|