209 lines
5.5 KiB
JSON
209 lines
5.5 KiB
JSON
// ~/.config/waybar/config.jsonc
|
|
[
|
|
{
|
|
"name": "top",
|
|
"layer": "top",
|
|
"position": "top",
|
|
"height": 39,
|
|
"spacing": 4,
|
|
"margin-top": 6,
|
|
"margin-left": 10,
|
|
"margin-right": 10,
|
|
|
|
"modules-left": [
|
|
"group/spaces"
|
|
],
|
|
"modules-center": [
|
|
"group/center"
|
|
],
|
|
"modules-right": [
|
|
"group/powertray"
|
|
],
|
|
|
|
// --- Standard Modules ---
|
|
"hyprland/workspaces": {
|
|
"format": "{icon}",
|
|
"on-click": "activate"
|
|
},
|
|
"hyprland/window": {
|
|
"format": "{}",
|
|
"max-length": 50
|
|
},
|
|
"clock": {
|
|
"format": "{:%a %d %b %H:%M}",
|
|
"tooltip": false
|
|
},
|
|
"custom/mpris": {
|
|
"format": "{}",
|
|
"return-type": "json",
|
|
"exec": "fluxo-rs mpris",
|
|
"on-click": "playerctl play-pause",
|
|
"signal": 11
|
|
},
|
|
"tray": {
|
|
"icon-size": 18,
|
|
"spacing": 10
|
|
},
|
|
"group/spaces": {
|
|
"orientation": "horizontal",
|
|
"modules": [
|
|
"hyprland/workspaces",
|
|
"hyprland/window"
|
|
]
|
|
},
|
|
"group/powertray": {
|
|
"orientation": "horizontal",
|
|
"modules": [
|
|
"tray",
|
|
"custom/dnd",
|
|
"custom/gamemode",
|
|
"custom/power_status"
|
|
]
|
|
},
|
|
"group/center": {
|
|
"orientation": "horizontal",
|
|
"modules": [
|
|
"custom/mpris",
|
|
"clock"
|
|
]
|
|
},
|
|
"custom/gamemode": {
|
|
"format": "{}",
|
|
"return-type": "json",
|
|
"exec": "fluxo-rs game",
|
|
"on-click": "~/.config/hypr/scripts/gamemode.sh",
|
|
"signal": 7
|
|
},
|
|
|
|
"custom/power_status": {
|
|
"format": "{} ",
|
|
"return-type": "json",
|
|
"exec": "fluxo-rs power",
|
|
"on-click": "~/.config/hypr/scripts/powermenu.sh & disown",
|
|
"signal": 10,
|
|
"interval": 5
|
|
}
|
|
},
|
|
{
|
|
"name": "bottom",
|
|
"layer": "top",
|
|
"position": "bottom",
|
|
"height": 35,
|
|
"spacing": 4,
|
|
"margin-bottom": 6,
|
|
"margin-left": 10,
|
|
"margin-right": 10,
|
|
|
|
"modules-left": [
|
|
"group/hardware"
|
|
],
|
|
"group/hardware": {
|
|
"orientation": "horizontal",
|
|
"modules": [
|
|
"custom/sys",
|
|
"custom/cpu",
|
|
"custom/mem",
|
|
"custom/disk-root",
|
|
"custom/network",
|
|
"custom/backlight"
|
|
]
|
|
},
|
|
"modules-center": [
|
|
],
|
|
"modules-right": [
|
|
"custom/bluetooth-audio",
|
|
"custom/volume",
|
|
"custom/mic"
|
|
],
|
|
|
|
// --- Fluxo-rs System & Hardware ---
|
|
"custom/sys": {
|
|
"format": "{}",
|
|
"return-type": "json",
|
|
"exec": "fluxo-rs sys",
|
|
"signal": 5,
|
|
"interval": 5
|
|
},
|
|
"custom/cpu": {
|
|
"format": "{}",
|
|
"return-type": "json",
|
|
"exec": "fluxo-rs cpu",
|
|
"on-click": "zenmonitor & disown",
|
|
"signal": 2
|
|
},
|
|
"custom/mem": {
|
|
"format": "{}",
|
|
"return-type": "json",
|
|
"exec": "fluxo-rs mem",
|
|
"signal": 3
|
|
},
|
|
"custom/gpu": {
|
|
"format": "{}",
|
|
"return-type": "json",
|
|
"exec": "fluxo-rs gpu",
|
|
"signal": 4
|
|
},
|
|
"custom/network": {
|
|
"format": "{}",
|
|
"return-type": "json",
|
|
"exec": "fluxo-rs net",
|
|
"signal": 1
|
|
},
|
|
|
|
"custom/disk-root": {
|
|
"format": "{}",
|
|
"return-type": "json",
|
|
"exec": "fluxo-rs disk /",
|
|
"signal": 6
|
|
},
|
|
|
|
// --- Fluxo-rs Audio & BT ---
|
|
"custom/volume": {
|
|
"format": "{}",
|
|
"return-type": "json",
|
|
"exec": "fluxo-rs vol",
|
|
"on-click": "fluxo-rs vol mute",
|
|
"on-scroll-up": "fluxo-rs vol up 5",
|
|
"on-scroll-down": "fluxo-rs vol down 5",
|
|
"on-click-right": "fluxo-rs vol cycle",
|
|
"on-click-middle": "pavucontrol",
|
|
"signal": 8
|
|
},
|
|
"custom/mic": {
|
|
"format": "{}",
|
|
"return-type": "json",
|
|
"exec": "fluxo-rs mic",
|
|
"on-click": "fluxo-rs mic mute",
|
|
"on-scroll-up": "fluxo-rs mic up 5",
|
|
"on-scroll-down": "fluxo-rs mic down 5",
|
|
"on-click-right": "fluxo-rs mic cycle",
|
|
"on-click-middle": "pavucontrol",
|
|
"signal": 8
|
|
},
|
|
"custom/bluetooth-audio": {
|
|
"format": "{}",
|
|
"return-type": "json",
|
|
"exec": "fluxo-rs bt",
|
|
"on-click": "fluxo-rs bt menu",
|
|
"on-click-right": "fluxo-rs bt cycle_mode",
|
|
"signal": 9,
|
|
"tooltip": true
|
|
},
|
|
"custom/dnd": {
|
|
"format": "{}",
|
|
"return-type": "json",
|
|
"exec": "fluxo-rs dnd",
|
|
"on-click": "fluxo-rs dnd toggle",
|
|
"signal": 13
|
|
},
|
|
"custom/backlight": {
|
|
"format": "{}",
|
|
"return-type": "json",
|
|
"exec": "fluxo-rs backlight",
|
|
"on-scroll-up": "brightnessctl s +10%",
|
|
"on-scroll-down": "brightnessctl s 10%",
|
|
"signal": 12
|
|
}
|
|
}
|
|
]
|