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": {
|
2023-03-31 13:34:13 +00:00
|
|
|
"on-click": "activate",
|
|
|
|
"sort-by-number": true,
|
|
|
|
"on-scroll-up": "hyprctl dispatch workspace e+1",
|
|
|
|
"on-scroll-down": "hyprctl dispatch workspace e-1",
|
|
|
|
"format": "{icon}",
|
|
|
|
"format-icons": {
|
|
|
|
"1": "\udb80\udd8b",
|
|
|
|
"2": "\udb80\ude4b",
|
|
|
|
"3": "\udb83\udc8b",
|
|
|
|
"4": "\udb82\udf79",
|
|
|
|
"5": "\udb81\udf5a",
|
|
|
|
"6": "\udb82\ude1c",
|
|
|
|
"7": "\udb80\udee9",
|
|
|
|
"8": "\udb80\ude19",
|
|
|
|
"9": "\udb80\ude96",
|
|
|
|
"10": "\udb80\udf7b",
|
2023-04-01 05:00:52 +00:00
|
|
|
"urgent": "\udb80\udc26",
|
|
|
|
"focused": "\udb83\udeff",
|
|
|
|
"default": "\udb80\udc94"
|
2023-03-31 13:34:13 +00:00
|
|
|
}
|
2023-02-22 20:46:06 +00:00
|
|
|
},
|
2023-02-22 00:02:06 +00:00
|
|
|
|
2023-02-22 20:46:06 +00:00
|
|
|
"hyprland/language": {
|
2023-04-01 05:00:52 +00:00
|
|
|
"format": "{} \udb80\udf0c",
|
2023-02-22 20:46:06 +00:00
|
|
|
"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": {
|
2023-04-01 05:00:52 +00:00
|
|
|
"activated": "\udb83\udf62",
|
|
|
|
"deactivated": "\udb83\udf64"
|
2023-02-22 20:46:06 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
"clock": {
|
|
|
|
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
|
2023-04-01 05:00:52 +00:00
|
|
|
"format": "\udb82\udd54 {:%H:%M}",
|
|
|
|
"format-alt": "\udb80\udcf5 {:%Y-%m-%d}"
|
2023-02-22 20:46:06 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
"backlight": {
|
|
|
|
"format": "{percent}% {icon}",
|
2023-04-01 05:00:52 +00:00
|
|
|
"format-icons": ["\udb86\ude4e", "\udb86\ude4f", "\udb86\ude50", "\udb86\ude51", "\udb86\ude52", "\udb86\ude53", "\udb86\ude54", "\udb86\ude55", "\udb81\udee8"]
|
2023-02-22 20:46:06 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
"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}",
|
2023-04-01 05:00:52 +00:00
|
|
|
"format-charging": "{capacity}% {icon}\udb81\udea5",
|
|
|
|
"format-plugged": "{capacity}% {icon}\udb81\udea5",
|
2023-02-22 20:46:06 +00:00
|
|
|
"format-alt": "{time} {icon}",
|
2023-04-01 05:00:52 +00:00
|
|
|
"format-critical": "{capacity}% {icon}\udb84\ude38",
|
|
|
|
"format-warning": "{capacity}% {icon}\udb84\ude38",
|
|
|
|
"format-icons": ["\udb80\udc7a", "\udb80\udc7c", "\udb80\udc7e", "\udb80\udc80", "\udb80\udc79"]
|
2023-02-22 20:46:06 +00:00
|
|
|
},
|
|
|
|
|
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}",
|
2023-04-01 05:00:52 +00:00
|
|
|
"format-bluetooth": "{volume}% {icon}\udb80\udcaf {format_source}",
|
|
|
|
"format-bluetooth-muted": "\udb81\udd81 {icon}\udb80\udcaf {format_source}",
|
|
|
|
"format-muted": "\udb81\udd81 {format_source}",
|
|
|
|
"format-source": "{volume}% \udb80\udf6c",
|
|
|
|
"format-source-muted": "\udb80\udf6d",
|
2023-02-22 20:46:06 +00:00
|
|
|
"format-icons": {
|
2023-04-01 05:00:52 +00:00
|
|
|
"headphone": "\udb80\udecb",
|
|
|
|
"hands-free": "\udb86\udc4f",
|
|
|
|
"headset": "\udb80\udece",
|
|
|
|
"phone": "\udb80\udff2",
|
|
|
|
"portable": "\udb80\udff2",
|
|
|
|
"car": "\udb80\udd0b",
|
|
|
|
"default": ["\udb81\udd7f", "\udb81\udd80", "\udb81\udd7e"]
|
2023-02-22 00:02:06 +00:00
|
|
|
},
|
2023-04-01 05:00:52 +00:00
|
|
|
"on-click": "wezterm start --class pulsemixer -- pulsemixer"
|
2023-02-22 20:46:06 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
"network": {
|
|
|
|
// "interface": "wlp2*", // (Optional) To force the use of this interface
|
2023-04-01 05:00:52 +00:00
|
|
|
"format-wifi": "{essid} \udb81\udda9",
|
|
|
|
"format-ethernet": "{ipaddr}/{cidr} \udb80\ude00",
|
|
|
|
"format-disconnected": "Disconnected \udb81\uddaa",
|
2023-02-22 20:46:06 +00:00
|
|
|
"format-alt": "{ifname}: {ipaddr}/{cidr}"
|
|
|
|
},
|
2023-02-22 00:02:06 +00:00
|
|
|
}
|
|
|
|
|