2023-02-22 00:02:06 +00:00
|
|
|
|
{
|
2023-02-22 20:46:06 +00:00
|
|
|
|
"position": "top",
|
|
|
|
|
"height": 26,
|
|
|
|
|
"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"],
|
|
|
|
|
"modules-right": ["idle_inhibitor", "hyprland/language", "pulseaudio", "backlight", "battery", "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}",
|
|
|
|
|
"format-critical": "{capacity}% {icon}",
|
|
|
|
|
"format-warning": "{capacity}% {icon}",
|
|
|
|
|
"format-icons": [" ", " ", " ", " ", " "]
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
"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
|
|
|
|
|
"format-wifi": "{essid} ({signalStrength}%) ",
|
|
|
|
|
"format-ethernet": "{ipaddr}/{cidr} ",
|
|
|
|
|
"format-disconnected": "Disconnected ",
|
|
|
|
|
"format-alt": "{ifname}: {ipaddr}/{cidr}"
|
|
|
|
|
},
|
2023-02-22 00:02:06 +00:00
|
|
|
|
}
|
|
|
|
|
|