2023-03-12 15:58:22 -04:00
|
|
|
{
|
2023-07-10 06:53:13 -04:00
|
|
|
"layer": "top", // Waybar at top layer
|
2023-03-12 15:58:22 -04:00
|
|
|
"position": "top",
|
|
|
|
|
|
|
|
"height": 39,
|
|
|
|
"width": 1895,
|
2023-07-10 06:53:13 -04:00
|
|
|
"spacing": 3,
|
2023-03-12 15:58:22 -04:00
|
|
|
|
2023-07-10 06:53:13 -04:00
|
|
|
"modules-left": ["hyprland/window", "pulseaudio","tray"],
|
2023-03-12 15:58:22 -04:00
|
|
|
"modules-center": ["wlr/workspaces"],
|
2023-07-10 06:53:13 -04:00
|
|
|
"modules-right": ["custom/cmus", "custom/weather", "custom/language", "clock", "battery"],
|
2023-03-12 15:58:22 -04:00
|
|
|
|
|
|
|
"wlr/workspaces": {
|
|
|
|
"format": "{icon}",
|
|
|
|
"on-scroll-up": "hyprctl dispatch workspace e+1",
|
|
|
|
"on-scroll-down": "hyprctl dispatch workspace e-1",
|
|
|
|
"on-click": "activate",
|
|
|
|
"all-outputs": false,
|
|
|
|
"format": "{icon}",
|
2023-07-10 06:53:13 -04:00
|
|
|
|
|
|
|
// "format-icons": {
|
|
|
|
// "1": "",
|
|
|
|
// "2": "",
|
|
|
|
// "3": "",
|
|
|
|
// "4": "",
|
|
|
|
// "5": "",
|
|
|
|
// "6": "",
|
|
|
|
// "urgent": "",
|
|
|
|
// "focused": "",
|
|
|
|
// "default": ""
|
|
|
|
//}
|
|
|
|
|
2023-03-12 15:58:22 -04:00
|
|
|
"format-icons": {
|
2023-07-10 06:53:13 -04:00
|
|
|
"1": "",
|
|
|
|
"2": "",
|
|
|
|
"3": "",
|
|
|
|
"4": "",
|
|
|
|
"5": "",
|
|
|
|
"6": "",
|
|
|
|
"7": "",
|
|
|
|
"8": "",
|
|
|
|
"9": "",
|
|
|
|
"focused": " ",
|
|
|
|
"urgent": " ",
|
|
|
|
//"default": " ",
|
|
|
|
},
|
|
|
|
"icon-size": 14
|
2023-03-12 15:58:22 -04:00
|
|
|
},
|
|
|
|
|
|
|
|
"sway/mode": {
|
|
|
|
"format": "<span style=\"italic\">{}</span>"
|
|
|
|
},
|
|
|
|
|
|
|
|
"tray": {
|
|
|
|
"spacing": 10,
|
|
|
|
"icon-size": 15
|
|
|
|
},
|
|
|
|
|
|
|
|
"clock": {
|
2023-07-10 06:53:13 -04:00
|
|
|
"format": "{:%a, %d/%m/%Y %I:%M %p}",
|
2023-03-12 15:58:22 -04:00
|
|
|
},
|
|
|
|
|
|
|
|
"custom/cmus": {
|
|
|
|
"format": " {}",
|
|
|
|
"max-length": 45,
|
|
|
|
"interval": 10,
|
|
|
|
"exec": "cmus-remote -C \"format_print '%F'\"",
|
|
|
|
"exec-if": "pgrep cmus",
|
|
|
|
"on-click": "cmus-remote -u",
|
|
|
|
"on-scroll-up": "cmus-remote --next",
|
|
|
|
"on-scroll-down": "cmus-remote --prev",
|
|
|
|
"escape": true
|
|
|
|
},
|
|
|
|
|
|
|
|
"custom/weather": {
|
|
|
|
"format": "{}",
|
|
|
|
"exec": "~/.config/waybar/openweathermap-simple.sh",
|
|
|
|
// "exec": "curl 'https://wttr.in/?format=1'",
|
|
|
|
"interval": 3600
|
|
|
|
},
|
|
|
|
|
|
|
|
"hyprland/window": {
|
|
|
|
"format": "{}",
|
|
|
|
"separate-outputs": false,
|
|
|
|
"max-length": 20
|
|
|
|
},
|
|
|
|
|
|
|
|
"custom/language": {
|
|
|
|
"exec": "~/.config/hypr/scripts/kb_hypr",
|
|
|
|
"interval": 1,
|
|
|
|
"format": " {}",
|
|
|
|
},
|
|
|
|
|
|
|
|
"battery": {
|
|
|
|
"states": {
|
|
|
|
"good": 60,
|
|
|
|
"warning": 40,
|
|
|
|
"critical": 30
|
|
|
|
},
|
|
|
|
"format": "{icon} {capacity}%",
|
|
|
|
"format-charging": " {capacity}%",
|
|
|
|
"format-plugged": " {capacity}%",
|
|
|
|
"format-full": " full charged",
|
|
|
|
"format-warning": " {capacity}%",
|
|
|
|
"format-critical": " {capacity}%",
|
|
|
|
"format-alt": "{time} {icon}",
|
|
|
|
"format-icons": ["", "", "", "", ""]
|
|
|
|
},
|
2023-04-03 09:29:42 -04:00
|
|
|
|
|
|
|
"bluetooth": {
|
|
|
|
// "controller": "controller1", // specify the alias of the controller if there are more than 1 on the system
|
|
|
|
"format": " {status}",
|
|
|
|
"format-disabled": "", // an empty format will hide the module
|
|
|
|
"format-connected": " {device_alias} connected",
|
|
|
|
"tooltip-format": "{controller_alias}\t{controller_address}",
|
|
|
|
"tooltip-format-connected": "{controller_alias}\t{controller_address}\n\n{device_enumerate}",
|
|
|
|
"tooltip-format-enumerate-connected": "{device_alias}\t{device_address}"
|
|
|
|
},
|
2023-03-12 15:58:22 -04:00
|
|
|
|
|
|
|
"pulseaudio": {
|
|
|
|
"scroll-step": 1,
|
2023-04-03 09:29:42 -04:00
|
|
|
"format": "{volume}% {icon}",
|
2023-03-12 15:58:22 -04:00
|
|
|
"format-bluetooth": "{volume}% {icon} ",
|
|
|
|
"format-bluetooth-muted": " {icon} ",
|
|
|
|
"format-muted": "",
|
|
|
|
"format-source": "",
|
|
|
|
"format-source-muted": "",
|
|
|
|
"format-icons": {
|
|
|
|
"headphone": "",
|
|
|
|
"default": ["", "", ""]
|
|
|
|
},
|
|
|
|
"on-click": "pkill pulsemixer; foot -e pulsemixer"
|
|
|
|
}
|
|
|
|
}
|