2023-02-22 00:02:06 +00:00
|
|
|
|
{
|
2023-02-22 20:46:06 +00:00
|
|
|
|
"position": "top",
|
2023-02-25 16:12:09 +00:00
|
|
|
|
"height": 22,
|
2023-02-22 20:46:06 +00:00
|
|
|
|
"spacing": 3,
|
2023-02-22 00:02:06 +00:00
|
|
|
|
|
2023-02-22 20:46:06 +00:00
|
|
|
|
// Choose the order of the modules
|
|
|
|
|
"modules-left": ["wlr/workspaces"],
|
|
|
|
|
"modules-center": ["clock"],
|
2023-02-25 16:12:09 +00:00
|
|
|
|
"modules-right": ["idle_inhibitor", "hyprland/language", "pulseaudio", "backlight", "battery", "custom/powerprofiles", "network"],
|
2023-02-22 00:02:06 +00:00
|
|
|
|
|
2023-02-22 20:46:06 +00:00
|
|
|
|
"wlr/workspaces": {
|
|
|
|
|
"on-click": "activate",
|
|
|
|
|
"sort-by-number": true,
|
|
|
|
|
"on-scroll-up": "hyprctl dispatch workspace e+1",
|
|
|
|
|
"on-scroll-down": "hyprctl dispatch workspace e-1"
|
|
|
|
|
},
|
2023-02-22 00:02:06 +00:00
|
|
|
|
|
2023-02-22 20:46:06 +00:00
|
|
|
|
"hyprland/language": {
|
|
|
|
|
"format": "{} ",
|
|
|
|
|
"format-en": "US",
|
|
|
|
|
"format-es": "ES",
|
|
|
|
|
"keyboard-name": "at-translated-set-2-keyboard",
|
|
|
|
|
"on-click": "hyprctl switchxkblayout at-translated-set-2-keyboard next"
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
"idle_inhibitor": {
|
|
|
|
|
"format": "{icon}",
|
|
|
|
|
"format-icons": {
|
|
|
|
|
"activated": "⏽",
|
|
|
|
|
"deactivated": ""
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
"clock": {
|
|
|
|
|
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
|
|
|
|
|
"format": " {:%H:%M}",
|
|
|
|
|
"format-alt": " {:%Y-%m-%d}"
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
"backlight": {
|
|
|
|
|
"format": "{percent}% {icon}",
|
|
|
|
|
"format-icons": ["", "", "", "", "", "", "", "", ""]
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
"battery": {
|
|
|
|
|
"states": {
|
|
|
|
|
"warning": 30,
|
|
|
|
|
"critical": 15
|
2023-02-22 02:09:45 +00:00
|
|
|
|
},
|
2023-02-22 20:46:06 +00:00
|
|
|
|
"format": "{capacity}% {icon}",
|
|
|
|
|
"format-charging": "{capacity}% ",
|
|
|
|
|
"format-plugged": "{capacity}% ",
|
|
|
|
|
"format-alt": "{time} {icon}",
|
2023-02-25 16:12:09 +00:00
|
|
|
|
"format-critical": "{capacity}% {icon} ",
|
|
|
|
|
"format-warning": "{capacity}% {icon} ",
|
2023-02-22 20:46:06 +00:00
|
|
|
|
"format-icons": [" ", " ", " ", " ", " "]
|
|
|
|
|
},
|
|
|
|
|
|
2023-02-25 16:12:09 +00:00
|
|
|
|
"custom/powerprofiles": {
|
|
|
|
|
"exec": "bash $HOME/.config/waybar/power-profiles",
|
|
|
|
|
"restart-interval": 5,
|
|
|
|
|
"format": "{}",
|
|
|
|
|
},
|
|
|
|
|
|
2023-02-22 20:46:06 +00:00
|
|
|
|
"pulseaudio": {
|
|
|
|
|
"scroll-step": 1, // %, can be a float
|
|
|
|
|
"format": "{volume}% {icon} {format_source}",
|
|
|
|
|
"format-bluetooth": "{volume}% {icon} {format_source}",
|
|
|
|
|
"format-bluetooth-muted": " {icon} {format_source}",
|
|
|
|
|
"format-muted": " {format_source}",
|
|
|
|
|
"format-source": "{volume}% ",
|
|
|
|
|
"format-source-muted": "",
|
|
|
|
|
"format-icons": {
|
|
|
|
|
"headphone": "",
|
|
|
|
|
"hands-free": "",
|
|
|
|
|
"headset": "",
|
|
|
|
|
"phone": "",
|
|
|
|
|
"portable": "",
|
|
|
|
|
"car": "",
|
|
|
|
|
"default": ["", "", ""]
|
2023-02-22 00:02:06 +00:00
|
|
|
|
},
|
2023-02-22 20:46:06 +00:00
|
|
|
|
"on-click": "wezterm start -- pulsemixer"
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
"network": {
|
|
|
|
|
// "interface": "wlp2*", // (Optional) To force the use of this interface
|
2023-02-25 16:12:09 +00:00
|
|
|
|
"format-wifi": "{essid} ",
|
2023-02-22 20:46:06 +00:00
|
|
|
|
"format-ethernet": "{ipaddr}/{cidr} ",
|
|
|
|
|
"format-disconnected": "Disconnected ",
|
|
|
|
|
"format-alt": "{ifname}: {ipaddr}/{cidr}"
|
|
|
|
|
},
|
2023-02-22 00:02:06 +00:00
|
|
|
|
}
|
|
|
|
|
|