182 lines
4.7 KiB
Text
182 lines
4.7 KiB
Text
{
|
|
"position": "top",
|
|
"height": 28,
|
|
"layer": "top",
|
|
|
|
// Modules order
|
|
|
|
"modules-left": [
|
|
"hyprland/workspaces"
|
|
],
|
|
|
|
// "modules-center": [
|
|
// "hyprland/window"
|
|
// ],
|
|
|
|
"modules-right": [
|
|
"custom/arrow1",
|
|
"hyprland/language",
|
|
"custom/arrow2",
|
|
"pulseaudio",
|
|
"custom/arrow3",
|
|
"backlight",
|
|
"custom/arrow4",
|
|
"idle_inhibitor",
|
|
"custom/powerprofiles",
|
|
"battery",
|
|
"custom/arrow5",
|
|
"network",
|
|
"custom/arrow6",
|
|
"clock"
|
|
],
|
|
|
|
// Modules
|
|
|
|
"hyprland/workspaces": {
|
|
"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\udd69 cde",
|
|
"2": "\udb82\uddad tbx",
|
|
"3": "\udb80\ude56 fle",
|
|
"4": "\udb81\udd9f web",
|
|
"5": "\udb80\udf6a cht",
|
|
"6": "\udb83\udcb8 aud",
|
|
"7": "\udb82\udfdc vid",
|
|
"8": "\udb82\udd76 img",
|
|
"9": "\udb82\uddee doc",
|
|
"10": "\udb83\ude3f gme",
|
|
"urgent": "\uf12a",
|
|
"focused": "\uf192",
|
|
"default": "\uf444"
|
|
}
|
|
},
|
|
|
|
"idle_inhibitor": {
|
|
"format": "{icon}",
|
|
"format-icons": {
|
|
"activated": "\uea71",
|
|
"deactivated": "\ueabc"
|
|
}
|
|
},
|
|
|
|
"hyprland/language": {
|
|
"format": "\udb80\udf0c {}",
|
|
"format-en": "US",
|
|
"format-es": "ES",
|
|
"on-click": "hyprctl switchxkblayout at-translated-set-2-keyboard next",
|
|
},
|
|
|
|
"clock": {
|
|
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
|
|
"format": "\udb82\udd54 {:%H:%M}",
|
|
"format-alt": "\udb80\udcf5 {:%Y-%m-%d}"
|
|
},
|
|
|
|
"backlight": {
|
|
"format": "{icon}",
|
|
"format-icons": [
|
|
"\udb86\ude4e",
|
|
"\udb86\ude4f",
|
|
"\udb86\ude50",
|
|
"\udb86\ude51",
|
|
"\udb86\ude52",
|
|
"\udb86\ude53",
|
|
"\udb86\ude54",
|
|
"\udb86\ude55",
|
|
"\udb81\udee8"
|
|
],
|
|
"tooltip-format": "{percent}%"
|
|
},
|
|
|
|
"battery": {
|
|
"states": {
|
|
"warning": 30,
|
|
"critical": 15
|
|
},
|
|
"format": "{icon}",
|
|
"format-charging": "{icon} \udb81\udea5",
|
|
"format-plugged": "{icon} \udb81\udea5",
|
|
"format-critical": "{icon} \udb84\ude38",
|
|
"format-warning": "{icon} \udb84\ude38",
|
|
"format-icons": [
|
|
"\udb80\udc7a",
|
|
"\udb80\udc7c",
|
|
"\udb80\udc7e",
|
|
"\udb80\udc80",
|
|
"\udb80\udc79"
|
|
],
|
|
"tooltip-format": "{capacity}% - {timeTo}",
|
|
"on-click": "$HOME/.config/fuzzel/scripts/fuzz_power"
|
|
},
|
|
|
|
"custom/powerprofiles": {
|
|
"exec": "bash $HOME/.config/waybar/power-profiles",
|
|
"restart-interval": 5,
|
|
"format": "{}",
|
|
"tooltip": false,
|
|
"on-click": "$HOME/.config/fuzzel/scripts/fuzz_power"
|
|
},
|
|
|
|
"pulseaudio": {
|
|
"scroll-step": 1, // %, can be a float
|
|
"tooltip-format": "{volume}% - {desc}",
|
|
"format": "{icon} {format_source}",
|
|
"format-bluetooth": "{icon}\udb80\udcaf {format_source}",
|
|
"format-bluetooth-muted": "\udb81\udd81 {icon}\udb80\udcaf {format_source}",
|
|
"format-muted": "\udb81\udd81 {format_source}",
|
|
"format-source": "\udb80\udf6c",
|
|
"format-source-muted": "\udb80\udf6d",
|
|
"format-icons": {
|
|
"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"]
|
|
},
|
|
"on-click": "kitty --class pulsemixer pulsemixer"
|
|
},
|
|
|
|
"network": {
|
|
"format-wifi": "\udb81\udda9 {essid}",
|
|
"format-ethernet": "\udb80\ude00",
|
|
"format-disconnected": "\udb81\uddaa Disconnected",
|
|
"tooltip-format": "{signalStrength}% - {ifname}: {ipaddr}/{cidr}",
|
|
"on-click": "$HOME/.config/fuzzel/scripts/fuzz_wifi"
|
|
},
|
|
|
|
"custom/arrow1": {
|
|
"format": "",
|
|
"tooltip": false
|
|
},
|
|
|
|
"custom/arrow2": {
|
|
"format": "",
|
|
"tooltip": false
|
|
},
|
|
|
|
"custom/arrow3": {
|
|
"format": "",
|
|
"tooltip": false
|
|
},
|
|
|
|
"custom/arrow4": {
|
|
"format": "",
|
|
"tooltip": false
|
|
},
|
|
|
|
"custom/arrow5": {
|
|
"format": "",
|
|
"tooltip": false
|
|
},
|
|
|
|
"custom/arrow6": {
|
|
"format": "",
|
|
"tooltip": false
|
|
},
|
|
}
|