// -*- mode: jsonc -*-
[{
"output": ["eDP-1"],
// "layer": "top", // Waybar at top layer
"position": "bottom", // Waybar position (top|bottom|left|right)
"height": 20, // Waybar height (to be removed for auto height)
// "width": 1280, // Waybar width
"spacing": 8, // Gaps between modules (4px)
"margin-bottom": 2,
"margin-top": -14,
// Choose the order of the modules
"modules-left": [
"launcher",
"hyprland/workspaces",
"cava",
"hyprland/mode",
"hyprland/scratchpad"
],
"modules-center": [
"hyprland/window"
],
"modules-right": [
"idle_inhibitor",
"load",
"backlight",
"clock",
"network",
"wireplumber",
"memory",
"battery",
"tray"
],
// Modules configuration
"hyprland/workspaces": {
"format": "{icon}",
"on-click": "activate",
"format-icons": {
"1": "1",
"2": "2",
"3": "3",
"4": "4",
"5": "5",
"9": "9",
"10": "0"
},
"persistent-workspaces": {
"*": 10
},
},
"wireplumber": {
"tooltip": false,
"scroll-step": 5,
"format": "{icon} {volume}%",
"format-muted": " {volume}%",
"on-click": "pavucontrol",
"format-icons": ["", "", ""]
},
"memory": {
"interval": 30,
"format": " {used:0.1f}G/{total:0.1f}G",
"max-length": 20
},
"launcher": {
"format": "Nix",
"on-click": "kitty --class float vim ~/.config/hypr/hyprland.conf",
"on-click-right":"killall rofi"
},
"hyprland/window": {
"format": "{title}",
"max-length": 40,
"all-outputs": true
},
"cava": {
// "cava_config": "$XDG_CONFIG_HOME/cava/cava.conf",
"framerate": 30,
"autosens": 1,
"bars": 14,
"lower_cutoff_freq": 50,
"higher_cutoff_freq": 10000,
"method": "pipewire",
"source": "auto",
"stereo": true,
"bar_delimiter": 0,
"noise_reduction": 0.77,
"input_delay": 2,
"hide_on_silence": true,
"format-icons": ["▁", "▂", "▃", "▄", "▅", "▆", "▇", "█" ],
"actions": {
"on-click-right": "mode"
}
},
"mpris": {
"format": " {status_icon} {dynamic}",
"interval": 1,
"dynamic-len": 40,
"status-icons": {
"playing": "▶",
"paused": "⏸",
"stopped": ""
},
"dynamic-order": ["title", "artist"],
"ignored-players": ["firefox"]
},
"idle_inhibitor": {
"format": "{icon}",
"format-icons": {
"activated": "",
"deactivated": ""
}
},
"hyprland/mode": {
"format": "{}"
},
"hyprland/scratchpad": {
"format": "{icon} {count}",
"show-empty": false,
"format-icons": ["", ""],
"tooltip": true,
"tooltip-format": "{app}: {title}"
},
"tray": {
"icon-size": 14,
"spacing": 10
},
"load": {
"format": " {}"
},
"clock": {
// "timezone": "America/New_York",
"tooltip-format": "{:%Y %B}\n{calendar}",
"format-alt": "{:%Y-%m-%d}"
},
"network": {
"tooltip": true,
"format-wifi": " ",
"rotate": 0,
"format-ethernet": " ",
"tooltip-format": "Network: {essid}\nSignal strength: {signaldBm}dBm ({signalStrength}%)\nFrequency: {frequency}MHz\nInterface: {ifname}\nIP: {ipaddr}/{cidr}\nGateway: {gwaddr}\nNetmask: {netmask}",
"format-linked": " {ifname} (No IP)",
"format-disconnected": " ",
"tooltip-format-disconnected": "Disconnected",
"interval": 2,
"on-click": "kitty --class float nmtui"
},
"cpu": {
"format": "{usage}% ",
"tooltip": false
},
"memory": {
"format": "{}% "
},
"temperature": {
// "thermal-zone": 2,
// "hwmon-path": "/sys/class/hwmon/hwmon2/temp1_input",
"critical-threshold": 80,
// "format-critical": "{temperatureC}°C {icon}",
"format": "{temperatureC}°C {icon}",
"format-icons": ["", "", ""]
},
"backlight": {
// "device": "acpi_video1",
"format": "{icon} {percent}%",
"format-icons": ["", "", "", "", "", "", "", "", ""]
},
"battery": {
"states": {
// "good": 95,
"warning": 30,
"critical": 15
},
"format": "{icon} {capacity}%",
"format-full": "{icon} {capacity}%",
"format-charging": " {capacity}%",
"format-plugged": " {capacity}%",
"format-alt": "{icon} {time}",
// "format-good": "", // An empty format will hide the module
// "format-full": "",
"format-icons": ["", "", "", "", ""]
},
"wireplumber": {
"scroll-step": 5, // %, can be a float
"format": "{icon} {volume}%",
"format-bluetooth": "{icon} {volume}% ",
"format-bluetooth-muted": " {icon}",
"format-muted": "",
"format-icons": {
"headphone": "",
"hands-free": "",
"headset": "",
"phone": "",
"portable": "",
"car": "",
"default": ["", "", ""]
},
"on-click": "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle"
}
},{
"output": ["HDMI-A-1"],
// "layer": "top", // Waybar at top layer
// "position": "bottom", // Waybar position (top|bottom|left|right)
"height": 24, // Waybar height (to be removed for auto height)
// "width": 1280, // Waybar width
"spacing": 4, // Gaps between modules (4px)
// Choose the order of the modules
"modules-left": [
"hyprland/workspaces",
"hyprland/mode",
"hyprland/scratchpad"
],
"modules-center": [
"clock"
],
"modules-right": [
"hyprland/window"
],
"hyprland/workspaces": {
"all-outputs": true,
"warp-on-scroll": true,
"enable-bar-scroll": true,
"format": "{icon}",
"format-icons": {
"1": "",
"2": "",
"3": "",
"4": "",
"5": "",
"9": "",
"10": ""
}
},
"hyprland/window": {
"format": "{title}",
"max-length": 40,
"all-outputs": true
},
"hyprland/mode": {
"format": "{}"
},
"hyprland/scratchpad": {
"format": "{icon} {count}",
"show-empty": false,
"format-icons": ["", ""],
"tooltip": true,
"tooltip-format": "{app}: {title}"
},
"clock": {
// "timezone": "America/New_York",
"tooltip-format": "{:%Y %B}\n{calendar}",
"format-alt": "{:%Y-%m-%d}"
}
}]