260 lines
7 KiB
Text
260 lines
7 KiB
Text
{
|
|
"position": "top",
|
|
"height": 25,
|
|
"layer": "top",
|
|
|
|
// Modules order
|
|
|
|
"modules-left": [
|
|
"hyprland/workspaces",
|
|
"hyprland/window"
|
|
],
|
|
|
|
"modules-right": [
|
|
"tray",
|
|
"custom/arrow1",
|
|
"clock",
|
|
"custom/arrow2",
|
|
"cpu",
|
|
"memory",
|
|
"custom/arrow3",
|
|
"hyprland/language",
|
|
"custom/arrow4",
|
|
"idle_inhibitor",
|
|
"power-profiles-daemon",
|
|
"battery",
|
|
"battery#bat2",
|
|
"custom/arrow5",
|
|
"pulseaudio",
|
|
"custom/arrow6",
|
|
"backlight",
|
|
"custom/arrow7",
|
|
"network",
|
|
"bluetooth"
|
|
],
|
|
|
|
// 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",
|
|
}
|
|
},
|
|
|
|
"hyprland/window": {
|
|
"format": "{title}",
|
|
"icon": true,
|
|
"icon-size": 16,
|
|
"separate-outputs": true
|
|
},
|
|
|
|
"tray": {
|
|
"icon-size": 16,
|
|
"spacing": 10
|
|
},
|
|
|
|
"cpu": {
|
|
"interval": 1,
|
|
"format": "\uf4bc {usage}%",
|
|
"on-click": "kitty --class btop btop"
|
|
},
|
|
|
|
"memory": {
|
|
"interval": 1,
|
|
"format": "\uefc5 {percentage}%",
|
|
"on-click": "kitty --class btop btop"
|
|
},
|
|
|
|
"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 audiomixer 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"
|
|
},
|
|
|
|
"bluetooth": {
|
|
"format": "\udb80\udcb2",
|
|
"format-on": "\udb80\udcaf",
|
|
"fotmat-off": "\udb80\udcb2",
|
|
"fotmat-disabled": "\udb80\udcb2",
|
|
"format-connected": "\udb80\udcb1",
|
|
"tooltip-format": "{controller_alias}\t{controller_address} ON",
|
|
"tooltip-format-on": "{controller_alias}\t{controller_address} ON",
|
|
"tooltip-format-off": "{controller_alias}\t{controller_address} OFF",
|
|
"tooltip-format-disabled": "{controller_alias}\t{controller_address} OFF",
|
|
"tooltip-format-connected": "{controller_alias}\t{controller_address} ON\n\n{num_connections} connected\n\n{device_enumerate}",
|
|
"tooltip-format-enumerate-connected": "{device_alias}\t{device_address}",
|
|
"tooltip-format-enumerate-connected-battery": "{device_alias}\t{device_address}\t{device_battery_percentage}%",
|
|
"on-click": "$HOME/.config/rofi/scripts/rs_blue",
|
|
"on-click-right": "bluetoothctl disconnect",
|
|
"on-click-middle": "bluetoothctl power off"
|
|
},
|
|
|
|
"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
|
|
},
|
|
|
|
"custom/arrow7": {
|
|
"format": "",
|
|
"tooltip": false
|
|
},
|
|
}
|