neodotfiles/.config/waybar/config
2024-07-26 13:43:09 -04:00

217 lines
5.6 KiB
Text

{
"position": "top",
"height": 34,
"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",
"power-profiles-daemon",
"battery",
"battery#bat2",
"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"
}
},
"hyprland/window": {
"format": "{title}",
"icon": true,
"icon-size": 24,
"separate-outputs": true
},
"hyprland/language": {
"format": "\udb80\udf0c {}",
"format-en": "US",
"format-es": "ES",
"on-click": "hyprctl switchxkblayout at-translated-set-2-keyboard next",
},
"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"
},
"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}%"
},
"idle_inhibitor": {
"format": "{icon}",
"format-icons": {
"activated": "\uea71",
"deactivated": "\ueabc"
}
},
"power-profiles-daemon": {
"format": "{icon}",
"tooltip-format": "Power profile: {profile}",
"tooltip": true,
"format-icons": {
"default": "󰾅",
"performance": "󰓅",
"balanced": "󰾅",
"power-saver": "󰾆"
}
},
"battery": {
"bat": "BAT0",
"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/rofi/scripts/rs_power"
},
"battery#bat2": {
"bat": "BAT1",
"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/rofi/scripts/rs_power"
},
"network": {
"format-wifi": "\udb81\udda9",
"format-ethernet": "\udb80\ude00",
"format-disconnected": "\udb80\udd5b",
"tooltip-format": "{essid} ({signalStrength}%) - {ifname}: {ipaddr}/{cidr}",
"on-click": "$HOME/.config/rofi/scripts/rs_wifi"
},
"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}"
},
"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
},
}