summaryrefslogtreecommitdiff
path: root/config/hyprland/waybar/config.jsonc
diff options
context:
space:
mode:
Diffstat (limited to 'config/hyprland/waybar/config.jsonc')
-rw-r--r--config/hyprland/waybar/config.jsonc171
1 files changed, 77 insertions, 94 deletions
diff --git a/config/hyprland/waybar/config.jsonc b/config/hyprland/waybar/config.jsonc
index 5428f79..ea9d1b3 100644
--- a/config/hyprland/waybar/config.jsonc
+++ b/config/hyprland/waybar/config.jsonc
@@ -1,98 +1,81 @@
{
- "position": "top",
- "height": 25,
-
- "modules-left": ["wlr/workspaces"],
- "modules-center": ["custom/media"],
- "modules-right": ["battery", "network", "pulseaudio", "clock", "tray"],
-
- "wlr/workspaces": {
- "disable-scroll": true,
- "all-outputs": true,
+ // "layer": "top", // Waybar at top layer
+ // "position": "bottom", // Waybar position (top|bottom|left|right)
+ "height": 30, // Waybar height (to be removed for auto height)
+ // "width": 1280, // Waybar width
+ "spacing": 0, // Gaps between modules (4px)
+ // Choose the order of the modules
+ "modules-left": ["wlr/workspaces"],
+ "modules-center": ["hyprland/window"],
+ "modules-right": ["mpd", "pulseaudio", "cpu", "memory", "backlight", "battery", "battery#bat2", "clock", "tray"],
+ // Modules configuration
+ "wlr/workspaces": {
+ "disable-scroll": true,
+ "all-outputs": true,
+ "format": "{name}",
"on-click": "activate",
- //"format": "{icon}",
- "persistent_workspaces": {
- "1": [],
- "2": [],
- "3": [],
- "4": [],
- "5": [],
- "6": [],
- "7": [],
- "8": [],
- "9": [],
- "10": []
- },
- /*"format-icons": {
- "1": "",
- "2": "",
- "3": "",
- "4": "",
- "5": "",
- "6": "",
- "7": "",
- "8": "",
- "9": "",
- "10": "",
- "default": "",
- "active": ""
- }*/
- },
- "battery": {
- "states": {
- "good": 95,
- "warning": 30,
- "critical": 15
- },
- "format": "{capacity}% {icon}",
- "format-charging": "{capacity}% ",
- "format-plugged": "{capacity}% ",
- "format-alt": "{time} {icon}",
- // "format-good": "", // An empty format will hide the module
- // "format-full": "",
- "format-icons": ["", "", "", "", ""]
- },
- "battery#bat2": {
- "bat": "BAT2"
- },
- "clock": {
- "format": "{: %R  %d/%m}",
- "tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>"
- },
- "network": {
- "format-wifi": " {essid}",
- "format-ethernet": " {essid}",
- "format-linked": "{ifname} (No IP) ",
- "format-disconnected": "睊 Disconnected",
- "tooltip-format-wifi": "Signal Strenght: {signalStrength}% | Down Speed: {bandwidthDownBits}, Up Speed: {bandwidthUpBits}"
- },
- "pulseaudio": {
- "format": "{icon} {volume}%",
- "format-muted": "Muted",
- "on-click": "pactl set-sink-mute @DEFAULT_SINK@ toggle",
- "scroll-step": 1,
- "format-icons": {
- "headphone": "",
- "hands-free": "",
- "headset": "",
- "phone": "",
- "portable": "",
- "car": "",
- "default": ["", "", "墳", ""]
- }
- },
- "mpd": {
- "format": "{icon} {}",
- "return-type": "json",
- "max-length": 40,
- "format-icons": {
- "spotify": "",
- "default": ""
- },
- "escape": true,
- },
- "tray": {
- "icon-size": 13,
- "spacing": 10
+ },
+ "hyprland/window": {
+ "format": "{}",
+ "seperate-outputs": true
},
+ "mpd": {
+ "format": "{artist} - {title} {elapsedTime:%M:%S}/{totalTime:%M:%S}",
+ "format-disconnected": "",
+ "format-stopped": "",
+ "format-paused": "",
+ "unknown-tag": "",
+ "interval": 1,
+ "title-len": 48,
+ "tooltip": false
+ },
+ "clock": {
+ "tooltip": false,
+ },
+ "cpu": {
+ "format": "{usage}% ",
+ "tooltip": false
+ },
+ "memory": {
+ "format": "{used:0.1f}G "
+ },
+ "backlight": {
+ // "device": "acpi_video1",
+ "format": "{percent}% {icon}",
+ "format-icons": ["", "", "", "", "", "", "", "", ""]
+ },
+ "battery": {
+ "states": {
+ // "good": 95,
+ "warning": 30,
+ "critical": 15
+ },
+ "format": "{capacity}% {icon}",
+ "format-charging": "{capacity}% ",
+ "format-plugged": "{capacity}% ",
+ "format-alt": "{time} {icon}",
+ // "format-good": "", // An empty format will hide the module
+ // "format-full": "",
+ "format-icons": ["", "", "", "", ""]
+ },
+ "battery#bat2": {
+ "bat": "BAT2"
+ },
+ "pulseaudio": {
+ // "scroll-step": 1, // %, can be a float
+ "format": "{volume}% {icon}",
+ "format-bluetooth": "{volume}% {icon} {format_source}",
+ "format-bluetooth-muted": " {icon} {format_source}",
+ "format-muted": " {format_source}",
+ "format-icons": {
+ "headphone": "",
+ "hands-free": "",
+ "headset": "",
+ "phone": "",
+ "portable": "",
+ "car": "",
+ "default": ["", "", ""]
+ },
+ "on-click": "pavucontrol"
+ },
}