[
{
"layer": "top",
"position": "top",
"height": 30,
"modules-left": ["hyprland/workspaces", "hyprland/window"],
"modules-center": ["clock"],
"modules-right": ["tray", "battery", "group/storage", "wireplumber"],
"gtk-layer-shell": true,
"group/storage": {
"orientation": "horizontal",
"drawer": {
"transition-duration": 250,
"children-class": "not-power",
"transition-left-to-right": false,
},
"modules": [
"disk#root",
"disk#storage",
],
},
"disk#root": {
"path": "/",
"interval": 30,
"format": " {percentage_used}%",
"tooltip-format": "{used} of {total} ({free} free)",
},
"disk#storage": {
"path": "/mnt/Storage",
"interval": 30,
"format": " {percentage_used}%",
"tooltip-format": "{used} of {total} ({free} free)",
},
"clock": {
"format": "{:%B %d %Y, %A - %H:%M}",
"timezone": "America/Argentina/Buenos_Aires",
"tooltip": false
},
"battery": {
"format": "{icon} {capacity}%",
"format-icons": ["", "", "", "", ""]
},
"wireplumber": {
"format": "{icon} {volume}%",
"format-muted": "MUTED",
"format-icons": ["", "", "", "", "", "", ""],
"tooltip": false,
"on-click": "$DOTFILES_DIR/scripts/audio.sh mute",
"on-click-right": "$DOTFILES_DIR/scripts/audio.sh switch_sink",
"on-scroll-up": "$DOTFILES_DIR/scripts/audio.sh raise 2",
"on-scroll-down": "$DOTFILES_DIR/scripts/audio.sh lower 2"
},
"hyprland/window": {
"rewrite": {
"(.*) — Mozilla Firefox": "$1",
"(.*) - GNU Emacs at [A-z]*": "emacs: $1",
},
},
"hyprland/workspaces": {
"on-click": "activate",
"on-scroll-up": "hyprctl dispatch workspace e+1",
"on-scroll-down": "hyprctl dispatch workspace e-1",
"active-only": false,
"sort-by-number": true,
"persistent-workspaces": {
"*": 9
}
},
"tray": {
"spacing": 10
}
}
]
* {
font-family: UbuntuMono Nerd Font;
font-size: 14px;
}
window#waybar {
background-color: #<<base(i="00")>>;
color: #<<base(i="01")>>;
}
window#waybar.empty #window {
background-color: #<<base(i="00")>>;
}
button {
border: none;
border-radius: 0;
}
#window,
#disk,
#wireplumber,
#workspaces,
#clock,
#battery,
#tray {
color: #<<base(i="05")>>;
background-color: #<<base(i="01")>>;
margin: 5px;
padding-left: 10px;
padding-right: 10px;
padding-top: 0px;
padding-bottom: 0px;
border-radius: 3px;
}
/* Open windows, not active */
#workspaces button {
background-color: #<<base(i="03")>>;
color: #<<base(i="06")>>;
}
/* Empty workspace */
#workspaces button.empty {
background-color: #<<base(i="01")>>;
color: #<<base(i="05")>>;
}
/* Current workspace */
#workspaces button.active {
background-color: #<<base(i="09")>>;
color: #<<base(i="01")>>;
}
#workspaces button.urgent {
background-color: #<<base(i="08")>>;
}
#workspaces button:hover {
background-color: #<<base(i="02")>>;
color: #<<base(i="05")>>;
box-shadow: inset 0 -3px transparent;
}