94 lines
2.1 KiB
Plaintext
94 lines
2.1 KiB
Plaintext
{
|
|
"layer": "top",
|
|
"position": "top",
|
|
"height": 24,
|
|
"spacing": 4,
|
|
|
|
// Layout
|
|
"modules-left": ["hyprland/workspaces"],
|
|
"modules-center": ["hyprland/window"],
|
|
"modules-right": ["custom/version", "cpu", "memory", "temperature", "clock"],
|
|
|
|
// --- Modules ---
|
|
|
|
"hyprland/workspaces": {
|
|
"disable-scroll": true,
|
|
"all-outputs": false,
|
|
// We set the format to {icon} so it looks up the mapping below
|
|
"format": "{icon}",
|
|
"format-icons": {
|
|
// Monitor 1 (Standard)
|
|
"1": "1",
|
|
"2": "2",
|
|
"3": "3",
|
|
"4": "4",
|
|
"5": "5",
|
|
"6": "6",
|
|
"7": "7",
|
|
"8": "8",
|
|
"9": "9",
|
|
"10": "10",
|
|
|
|
// Monitor 2 (Map 11-20 back to 1-10)
|
|
"11": "1",
|
|
"12": "2",
|
|
"13": "3",
|
|
"14": "4",
|
|
"15": "5",
|
|
"16": "6",
|
|
"17": "7",
|
|
"18": "8",
|
|
"19": "9",
|
|
"20": "10",
|
|
|
|
// Monitor 3 (Map 21-30 back to 1-10, just in case)
|
|
"21": "1",
|
|
"22": "2",
|
|
"23": "3",
|
|
"24": "4",
|
|
"25": "5",
|
|
"26": "6",
|
|
"27": "7",
|
|
"28": "8",
|
|
"29": "9",
|
|
"30": "10",
|
|
|
|
// Fallback for any other workspace
|
|
"default": ""
|
|
}
|
|
},
|
|
|
|
"hyprland/window": {
|
|
"format": "{title}",
|
|
"max-length": 50,
|
|
"separate-outputs": true
|
|
},
|
|
|
|
"custom/version": {
|
|
"exec": "cat ~/.cache/hyprland-version",
|
|
"interval": 300,
|
|
"format": "{}"
|
|
},
|
|
|
|
"cpu": {
|
|
"interval": 10,
|
|
"format": "CPU {usage}%"
|
|
},
|
|
|
|
"memory": {
|
|
"interval": 30,
|
|
"format": "MEM {percentage}%"
|
|
},
|
|
|
|
"temperature": {
|
|
"critical-threshold": 80,
|
|
"format": "TMP {temperatureC}°C"
|
|
},
|
|
|
|
"clock": {
|
|
// 2025-12-28 Sun 16:05
|
|
"format": "{:%Y-%m-%d %a %H:%M}",
|
|
"tooltip-format": "<big>{:%Y %B}</big>\n<tt>{calendar}</tt>"
|
|
}
|
|
}
|