Files
2026-04-28 03:59:07 +02:00

175 lines
3.7 KiB
JSON

{
"layer": "top",
"position": "top",
"height": 42,
"margin-top": 8,
"margin-left": 12,
"margin-right": 12,
"spacing": 6,
"modules-left": [
"hyprland/workspaces"
],
"modules-center": [
"group/dynamic-island"
],
"modules-right": [
"cpu",
"memory",
"temperature",
"pulseaudio",
"network",
"battery",
"custom/notifications",
"tray"
],
"hyprland/workspaces": {
"format": "{icon}",
"format-icons": {
"1": "1",
"2": "2",
"3": "3",
"4": "4",
"5": "5",
"6": "6",
"7": "7",
"8": "8",
"9": "9",
"10": "10",
"urgent": "!",
"active": "●",
"default": "○"
},
"on-click": "activate"
},
"hyprland/window": {
"format": "{}",
"max-length": 28,
"separate-outputs": true
},
"group/dynamic-island": {
"orientation": "horizontal",
"drawer": {
"transition-duration": 350,
"children-class": "island-drawer",
"transition-left-to-right": true
},
"modules": [
"custom/dynamic-island",
"custom/media-prev",
"custom/media-toggle",
"custom/media-next",
"hyprland/window"
]
},
"custom/dynamic-island": {
"exec": "/home/pascal/.config/waybar/scripts/island-media.sh",
"return-type": "json",
"interval": 1,
"format": "{}",
"on-click": "playerctl play-pause",
"on-click-middle": "playerctl previous",
"on-click-right": "playerctl next"
},
"custom/media-prev": {
"format": "󰒮",
"tooltip-format": "Zurück",
"on-click": "playerctl previous"
},
"custom/media-toggle": {
"exec": "playerctl status 2>/dev/null | grep -q Playing && echo 󰏤 || echo 󰐊",
"interval": 1,
"format": "{}",
"tooltip-format": "Start/Pause",
"on-click": "playerctl play-pause"
},
"custom/media-next": {
"format": "󰒭",
"tooltip-format": "Weiter",
"on-click": "playerctl next"
},
"clock": {
"format": " {:%H:%M}",
"tooltip-format": "{:%A, %d. %B %Y}"
},
"cpu": {
"format": " {usage}%",
"tooltip": true
},
"memory": {
"format": " {}%",
"tooltip": true
},
"temperature": {
"hwmon-path-abs": "/sys/devices/platform/coretemp.0/hwmon",
"input-filename": "temp1_input",
"critical-threshold": 85,
"format": " {temperatureC}°C",
"format-critical": " {temperatureC}°C",
"tooltip": true
},
"battery": {
"format": "{icon} {capacity}%",
"format-icons": ["", "", "", "", ""],
"states": {
"warning": 30,
"critical": 15
}
},
"network": {
"format-wifi": " {signalStrength}%",
"format-ethernet": "󰈀 LAN",
"format-disconnected": "󰤮 Offline",
"tooltip-format-wifi": "{essid} ({signalStrength}%)",
"tooltip-format-ethernet": "{ifname}: {ipaddr}/{cidr}"
},
"pulseaudio": {
"format": "{icon} {volume}%",
"format-muted": "󰖁 Muted",
"format-icons": {
"default": ["", "", ""]
}
},
"custom/notifications": {
"tooltip": true,
"format": "{icon}",
"format-icons": {
"notification": "󱅫",
"none": "",
"dnd-notification": "",
"dnd-none": "󰂛",
"inhibited-notification": "",
"inhibited-none": "",
"dnd-inhibited-notification": "",
"dnd-inhibited-none": "󰂛"
},
"return-type": "json",
"exec-if": "which swaync-client",
"exec": "swaync-client -swb",
"on-click": "swaync-client -t",
"on-click-right": "swaync-client -d",
"escape": true
},
"tray": {
"spacing": 10
}
}