update waybar workspaces icons

This commit is contained in:
Carlos Sousa 2025-03-15 11:35:04 +01:00
parent dabea51780
commit 20a78e65a2

View File

@ -5,9 +5,15 @@
// "width": 1280, // Waybar width // "width": 1280, // Waybar width
//"spacing": 4, // Gaps between modules (4px) //"spacing": 4, // Gaps between modules (4px)
// Choose the order of the modules // Choose the order of the modules
"modules-left": ["hyprland/window"], "modules-left": [
"modules-center": ["hyprland/workspaces", "hyprland/mode", "hyprland/scratchpad", "custom/media"], "hyprland/window"
//"modules-right": ["mpd", "idle_inhibitor", "pulseaudio", "network", "cpu", "memory", "temperature", "backlight", "keyboard-state", "battery", "battery#bat2", "clock", "tray"], ],
"modules-center": [
"hyprland/workspaces",
"hyprland/mode",
"hyprland/scratchpad",
"custom/media"
],
"modules-right": [ "modules-right": [
"mpd", "mpd",
"idle_inhibitor", "idle_inhibitor",
@ -26,22 +32,24 @@
"custom/power" "custom/power"
], ],
// Modules configuration // Modules configuration
// "hyprland/workspaces": { "hyprland/workspaces": {
// "disable-scroll": true, //"disable-scroll": true,
// "all-outputs": true, "all-outputs": true,
// "warp-on-scroll": false, "warp-on-scroll": false,
// "format": "{name}: {icon}", "format": "{name}: {icon}",
// "format-icons": { "format-icons": {
// "1": "", "1": "", // Current Work / Task
// "2": "", "2": "", // Documentation
// "3": "", "3": "🌐", // Browser
// "4": "", "4": "", // Console / Batch
// "5": "", "5": "🎮", // Fun / Leisure
// "urgent": "", "6": "", // Communication
// "focused": "", "7": "",
// "default": "" "urgent": "",
// } "focused": "",
// }, "default": ""
}
},
"keyboard-state": { "keyboard-state": {
"numlock": true, "numlock": true,
"capslock": true, "capslock": true,
@ -208,10 +216,11 @@
"menu": "on-click", "menu": "on-click",
"menu-file": "$HOME/.config/waybar/resources/power_menu.xml", // Menu file in resources folder "menu-file": "$HOME/.config/waybar/resources/power_menu.xml", // Menu file in resources folder
"menu-actions": { "menu-actions": {
"shutdown": "shutdown", "shutdown": "systemctl poweroff",
"reboot": "reboot", "reboot": "systemctl reboot",
"suspend": "systemctl suspend", "logout": "hyprctl dispath exit"
"hibernate": "systemctl hibernate" // "suspend": "systemctl suspend",
// "hibernate": "systemctl hibernate"
} }
} }
} }