initial config
This commit is contained in:
115
config/waybar/config.jsonc
Normal file
115
config/waybar/config.jsonc
Normal file
@@ -0,0 +1,115 @@
|
||||
// ══════════════════════════════════════════
|
||||
// WAYBAR CONFIGURATION — Gruvbox Dark
|
||||
// ══════════════════════════════════════════
|
||||
{
|
||||
"layer": "top",
|
||||
"position": "top",
|
||||
"height": 36,
|
||||
"spacing": 4,
|
||||
"margin-top": 4,
|
||||
"margin-left": 8,
|
||||
"margin-right": 8,
|
||||
|
||||
// Module layout
|
||||
"modules-left": [
|
||||
"hyprland/workspaces",
|
||||
"hyprland/window"
|
||||
],
|
||||
"modules-center": [
|
||||
"clock"
|
||||
],
|
||||
"modules-right": [
|
||||
"tray",
|
||||
"pulseaudio",
|
||||
"network",
|
||||
"bluetooth",
|
||||
"battery",
|
||||
"custom/power"
|
||||
],
|
||||
|
||||
// ── Workspaces ────────────────────────
|
||||
"hyprland/workspaces": {
|
||||
"format": "{icon}",
|
||||
"format-icons": {
|
||||
"1": "1",
|
||||
"2": "2",
|
||||
"3": "3",
|
||||
"4": "4",
|
||||
"5": "5",
|
||||
"6": "6",
|
||||
"7": "7",
|
||||
"8": "8",
|
||||
"9": "9",
|
||||
"10": "0"
|
||||
},
|
||||
"on-click": "activate",
|
||||
"sort-by-number": true,
|
||||
"active-only": false
|
||||
},
|
||||
|
||||
// ── Window Title ──────────────────────
|
||||
"hyprland/window": {
|
||||
"format": "{}",
|
||||
"max-length": 40,
|
||||
"separate-outputs": true
|
||||
},
|
||||
|
||||
// ── Clock ─────────────────────────────
|
||||
"clock": {
|
||||
"format": "{:%H:%M}",
|
||||
"format-alt": "{:%A, %B %d, %Y %H:%M}",
|
||||
"tooltip-format": "<tt><small>{calendar}</small></tt>"
|
||||
},
|
||||
|
||||
// ── Audio ─────────────────────────────
|
||||
"pulseaudio": {
|
||||
"format": "{icon} {volume}%",
|
||||
"format-muted": " muted",
|
||||
"format-icons": {
|
||||
"default": ["", "", ""]
|
||||
},
|
||||
"on-click": "pavucontrol"
|
||||
},
|
||||
|
||||
// ── Network ───────────────────────────
|
||||
"network": {
|
||||
"format-wifi": " {signalStrength}%",
|
||||
"format-ethernet": " {ipaddr}",
|
||||
"format-disconnected": " off",
|
||||
"tooltip-format-wifi": "{essid} ({signalStrength}%)\n{ipaddr}",
|
||||
"on-click": "nm-connection-editor"
|
||||
},
|
||||
|
||||
// ── Bluetooth ─────────────────────────
|
||||
"bluetooth": {
|
||||
"format": " {status}",
|
||||
"format-connected": " {device_alias}",
|
||||
"format-disabled": "",
|
||||
"on-click": "blueman-manager"
|
||||
},
|
||||
|
||||
// ── Battery ───────────────────────────
|
||||
"battery": {
|
||||
"states": {
|
||||
"warning": 30,
|
||||
"critical": 15
|
||||
},
|
||||
"format": "{icon} {capacity}%",
|
||||
"format-charging": " {capacity}%",
|
||||
"format-plugged": " {capacity}%",
|
||||
"format-icons": ["", "", "", "", ""]
|
||||
},
|
||||
|
||||
// ── System Tray ───────────────────────
|
||||
"tray": {
|
||||
"icon-size": 16,
|
||||
"spacing": 8
|
||||
},
|
||||
|
||||
// ── Power Button ──────────────────────
|
||||
"custom/power": {
|
||||
"format": "",
|
||||
"on-click": "hyprlock",
|
||||
"tooltip": false
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user