Skip to content
Stephan Raabe edited this page Jul 11, 2024 · 3 revisions

Waybar is the statusbar shipped with the ML4W Hyprland Starter Package. Several modules are already included and pre-configured.

Reload waybar

After customizing the waybar configuration you have to reload waybar. You can do this easily with the key binding SUPER + SHIFT + B

Manage Quicklinks

The icons right to the Apps button are quicklinks. Quicklinks are icons with a click command. You can manage your own custom setup of quicklinks in the file ~/.config/ml4w/settings/waybar-quicklinks.json

{
    "custom/quicklink1": {
        "format": " ",
        "on-click": "~/.config/ml4w/apps/ML4W_Hyprland_Settings-x86_64.AppImage",
        "tooltip-format": "Open Hyprland Settings"
    }, 
    "custom/quicklink2": {
        "format": " ",
        "on-click": "~/.config/ml4w/settings/browser.sh",
        "tooltip-format": "Open the browser"
    },
    "custom/quicklink3": {
        "format": " ",
        "on-click": "~/.config/ml4w/settings/filemanager.sh",
        "tooltip-format": "Open the filemanager"
    }, 
    "custom/quicklinkempty": {
    }, 
    "group/quicklinks": {
        "orientation": "horizontal",
        "modules": [
            "custom/quicklink1",
            "custom/quicklink2",
            "custom/quicklink3",
            "custom/quicklinkempty"
        ]
    }
}

Up to 10 quicklinks are supported. Define your custom quicklink module at the beginning and include it in the group/quicklinks section at the bottom of the file.

Important: Your custom setup of quicklinks can be restored during the installation.

Waybar documentation

Waybar configuration: https://github.com/Alexays/Waybar/wiki/Configuration Waybar Styling: https://github.com/Alexays/Waybar/wiki/Styling