mirror of
https://github.com/arthur-pbty/arch-custom-iso.git
synced 2026-08-01 20:28:05 +02:00
140 lines
3.5 KiB
JSON
140 lines
3.5 KiB
JSON
{
|
|
"reload_style_on_change": true,
|
|
"layer": "top",
|
|
"position": "left",
|
|
"spacing": 0,
|
|
"width": 35,
|
|
"modules-left": ["custom/clock", "cpu", "memory", "custom/media"],
|
|
"modules-center": ["hyprland/workspaces"],
|
|
"modules-right": ["group/tray-expander", "pulseaudio", "bluetooth", "network", "battery"],
|
|
"hyprland/workspaces": {
|
|
"on-click": "activate",
|
|
"format": "{icon}",
|
|
"format-icons": {
|
|
"default": "",
|
|
"1": "1",
|
|
"2": "2",
|
|
"3": "3",
|
|
"4": "4",
|
|
"5": "5",
|
|
"6": "6",
|
|
"7": "7",
|
|
"8": "8",
|
|
"9": "9",
|
|
"10": "0",
|
|
"active": ""
|
|
},
|
|
"persistent-workspaces": {
|
|
"1": [],
|
|
"2": [],
|
|
"3": [],
|
|
"4": [],
|
|
"5": [],
|
|
"6": [],
|
|
"7": [],
|
|
"8": [],
|
|
"9": [],
|
|
"10": []
|
|
}
|
|
},
|
|
"cpu": {
|
|
"interval": 2,
|
|
"format": "{icon} ",
|
|
"format-icons": ["", "", "", "", "", "", "", ""],
|
|
"on-click": "btop"
|
|
},
|
|
"memory": {
|
|
"interval": 2,
|
|
"format": "{icon} ",
|
|
"format-icons": ["", "", "", "", "", "", "", ""],
|
|
"on-click": "btop"
|
|
},
|
|
"custom/clock": {
|
|
"exec": "~/.config/waybar/clock.sh",
|
|
"return-type": "json",
|
|
"tooltip": true
|
|
},
|
|
"custom/media": {
|
|
"exec": "~/.config/waybar/media.sh",
|
|
"return-type": "json",
|
|
"interval": 1,
|
|
"on-click": "~/.config/waybar/media_click.sh",
|
|
"on-click-right": "playerctl -p subtui next",
|
|
"on-click-middle": "playerctl -p subtui previous",
|
|
"tooltip": true
|
|
},
|
|
"network": {
|
|
"format-icons": ["", "", "", "", ""],
|
|
"format": "{icon}",
|
|
"format-wifi": "{icon}",
|
|
"format-ethernet": "",
|
|
"format-disconnected": "",
|
|
"tooltip-format-wifi": "{essid} ({frequency} GHz)",
|
|
"tooltip-format-ethernet": "Connected",
|
|
"tooltip-format-disconnected": "Disconnected",
|
|
"interval": 3,
|
|
"spacing": 1,
|
|
"on-click": "impala"
|
|
},
|
|
"battery": {
|
|
"format": "{capacity}% {icon}",
|
|
"format-discharging": "{icon}",
|
|
"format-charging": "{icon}",
|
|
"format-plugged": "",
|
|
"format-icons": {
|
|
"charging": ["", "", "", "", "", "", "", "", "", ""],
|
|
"default": ["", "", "", "", "", "", "", "", "", ""]
|
|
},
|
|
"format-full": "",
|
|
"tooltip-format-discharging": "{power:>1.0f}W↓ {capacity}%",
|
|
"tooltip-format-charging": "{power:>1.0f}W↑ {capacity}%",
|
|
"interval": 5,
|
|
"states": {
|
|
"warning": 20,
|
|
"critical": 10
|
|
}
|
|
},
|
|
"bluetooth": {
|
|
"format": "",
|
|
"format-off": "",
|
|
"format-disabled": "",
|
|
"format-connected": "",
|
|
"format-no-controller": "",
|
|
"tooltip-format": "Devices connected: {num_connections}",
|
|
"on-click": "bluetui"
|
|
},
|
|
"pulseaudio": {
|
|
"format": "{icon}",
|
|
"on-click": "wiremix",
|
|
"on-click-right": "pamixer -t",
|
|
"tooltip-format": "Playing at {volume}%",
|
|
"scroll-step": 5,
|
|
"format-muted": "",
|
|
"format-icons": {
|
|
"headphone": "",
|
|
"headset": "",
|
|
"default": ["", "", ""]
|
|
}
|
|
},
|
|
"group/tray-expander": {
|
|
"orientation": "inherit",
|
|
"drawer": {
|
|
"transition-duration": 600,
|
|
"children-class": "tray-group-item"
|
|
},
|
|
"modules": ["custom/expand-icon", "tray"]
|
|
},
|
|
"custom/expand-icon": {
|
|
"format": "",
|
|
"tooltip": false,
|
|
"on-scroll-up": "",
|
|
"on-scroll-down": "",
|
|
"on-scroll-left": "",
|
|
"on-scroll-right": ""
|
|
},
|
|
"tray": {
|
|
"icon-size": 12,
|
|
"spacing": 17
|
|
}
|
|
}
|