95 lines
2.7 KiB
JSON
95 lines
2.7 KiB
JSON
{
|
|
"layer": "top",
|
|
"position": "top",
|
|
"height": 35,
|
|
"spacing": 0,
|
|
"margin-top": 10,
|
|
"margin-bottom": 0,
|
|
|
|
// Choose the order of the modules
|
|
|
|
"modules-center": ["hyprland/workspaces", "idle_inhibitor", "pulseaudio", "network", "cpu", "memory", "battery", "clock"],
|
|
|
|
// Modules configuration
|
|
|
|
"hyprland/workspaces": {
|
|
"disable-scroll": true,
|
|
"all-outputs": false,
|
|
"format": "{name}"
|
|
},
|
|
"keyboard-state": {
|
|
"numlock": true,
|
|
"capslock": true,
|
|
"format": " {name} {icon}",
|
|
"format-icons": {
|
|
"locked": "",
|
|
"unlocked": ""
|
|
}
|
|
},
|
|
"idle_inhibitor": {
|
|
"format": "{icon}",
|
|
"format-icons": {
|
|
"activated": "",
|
|
"deactivated": ""
|
|
}
|
|
},
|
|
"clock": {
|
|
// "timezone": "America/New_York",
|
|
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
|
|
"format-alt": "{:%Y-%m-%d}"
|
|
},
|
|
"cpu": {
|
|
"format": "{usage}% ",
|
|
"tooltip": false
|
|
},
|
|
"memory": {
|
|
"format": "{}% "
|
|
},
|
|
"battery": {
|
|
"states": {
|
|
// "good": 95,
|
|
"warning": 30,
|
|
"critical": 15
|
|
},
|
|
"format": "{capacity}% {icon}",
|
|
"format-charging": "{capacity}% ",
|
|
"format-plugged": "{capacity}% ",
|
|
"format-alt": "{time} {icon}",
|
|
// "format-good": "", // An empty format will hide the module
|
|
// "format-full": "",
|
|
"format-icons": ["", "", "", "", ""]
|
|
},
|
|
"battery#bat2": {
|
|
"bat": "BAT2"
|
|
},
|
|
"network": {
|
|
// "interface": "wlp2*", // (Optional) To force the use of this interface
|
|
"format-wifi": "{essid} ({signalStrength}%) ",
|
|
"format-ethernet": "Connected ",
|
|
"tooltip-format": "{ifname} via {gwaddr} ",
|
|
"format-linked": "{ifname} (No IP) ",
|
|
"format-disconnected": "Disconnected ⚠",
|
|
"format-alt": "{ifname}: {ipaddr}/{cidr}",
|
|
"on-click-right": "bash ~/.config/rofi/wifi_menu/rofi_wifi_menu"
|
|
},
|
|
"pulseaudio": {
|
|
// "scroll-step": 1, // %, can be a float
|
|
"format": "{volume}% {icon}",
|
|
"format-bluetooth": "{volume}% {icon}",
|
|
"format-bluetooth-muted": "{icon} {format_source}",
|
|
"format-muted": "{format_source}",
|
|
"format-source": "",
|
|
"format-source-muted": "",
|
|
"format-icons": {
|
|
"headphone": "",
|
|
"hands-free": "",
|
|
"headset": "",
|
|
"phone": "",
|
|
"portable": "",
|
|
"car": "",
|
|
"default": ["", "", ""]
|
|
},
|
|
"on-click": "pavucontrol"
|
|
},
|
|
}
|