186 lines
4.7 KiB
Plaintext
Raw Normal View History

[
{
"battery": {
"format": "{icon} {capacity}%",
"format-charging": "󰂄 {capacity}%",
"format-icons": [
"󰁺",
"󰁻",
"󰁼",
"󰁽",
"󰁾",
"󰁿",
"󰂀",
"󰂁",
"󰂂",
"󰁹"
],
"format-plugged": "󱘖 {capacity}%",
"on-click": "",
"states": {
"critical": 15,
"warning": 30
},
"tooltip": false
},
"clock": {
"format": " {:L%H:%M}",
"tooltip": true,
"tooltip-format": "<big>{:%A, %d.%B %Y }</big><tt><small>{calendar}</small></tt>"
},
"cpu": {
"format": " {usage:2}%",
"interval": 5,
"tooltip": true
},
"custom/exit": {
"format": "",
"on-click": "sleep 0.1 && wlogout",
"tooltip": false
},
"custom/hyprbindings": {
"format": " Bindings",
"on-click": "sleep 0.1 && list-hypr-bindings",
"tooltip": false
},
"custom/spotify": {
"format": "{} ",
"exec": "~/.local/bin/waybay-spotify.sh",
"return-type": "json",
"on-click": "playerctl -p spotify play-pause",
"on-scroll-up": "playerctl -p spotify next",
"on-scroll-down": "playerctl -p spotify previous",
"exec-if": "pgrep spotfiy"
},
"custom/notification": {
"exec-if": "which swaync-client",
"exec": "swaync-client -swb",
"format": "{icon} {}",
"format-icons": {
"dnd-inhibited-none": "",
"dnd-inhibited-notification": "<span foreground='red'><sup></sup></span>",
"dnd-none": "",
"dnd-notification": "<span foreground='red'><sup></sup></span>",
"inhibited-none": "",
"inhibited-notification": "<span foreground='red'><sup></sup></span>",
"none": "",
"notification": "<span foreground='red'><sup></sup></span>"
},
"on-click": "task-waybar",
"return-type": "json",
"tooltip": false
},
"custom/startmenu": {
"format": " ",
"on-click": "sleep 0.1 && rofi -show drun",
"tooltip": false
},
"custom/themeselector": {
"format": "",
"on-click": "sleep 0.1 && theme-selector",
"tooltip": false
},
"disk": {
"format": " {free}",
"tooltip": true
},
"mpd": {
"format": "{artist} - {title} ({elapsedTime:%M:%S}/{totalTime:%M:%S}) ⸨{songPosition}|{queueLength}⸩ {volume}% ",
"format-disconnected": "Disconnected ",
"format-stopped": "{consumeIcon}{randomIcon}{repeatIcon}{singleIcon}Stopped ",
"unknown-tag": "N/A",
"interval": 5,
"consume-icons": {
"on": " "
},
},
"dwl/window": {
"max-length": 200,
"rewrite": {
"": " 🙈 No Windows? "
},
"separate-outputs": true
},
"wlr/taskbar": {
"format": "{icon}",
"icon-size": 18,
"tooltip-format": "{title}",
"on-click": "activate",
"on-click-middle": "close",
"ignore-list": ["Alacritty", "kitty"],
"app_ids-mapping": {},
},
"idle_inhibitor": {
"format": "{icon}",
"format-icons": {
"activated": "",
"deactivated": ""
},
"tooltip": "true"
},
"layer": "top",
"memory": {
"format": " {}%",
"interval": 5,
"tooltip": true
},
"modules-center": [
"clock",
"cpu",
"memory",
"custom/spotify"
],
"modules-left": [
"custom/startmenu",
"wlr/taskbar",
"dwl/window"
],
"modules-right": [
"pulseaudio",
"custom/hyprbindings",
"idle_inhibitor",
"custom/notification",
"tray"
],
"network": {
"format-disconnected": "󰤮",
"format-ethernet": " {bandwidthDownOctets}",
"format-icons": [
"󰤯",
"󰤟",
"󰤢",
"󰤥",
"󰤨"
],
"format-wifi": "{icon} {signalStrength}%",
"tooltip": false
},
"position": "top",
"pulseaudio": {
"format": "{icon} {volume}% {format_source}",
"format-bluetooth": "{volume}% {icon} {format_source}",
"format-bluetooth-muted": " {icon} {format_source}",
"format-icons": {
"car": "",
"default": [
"",
"",
""
],
"hands-free": "",
"headphone": "",
"headset": "",
"phone": "",
"portable": ""
},
"format-muted": " {format_source}",
"format-source": " {volume}%",
"format-source-muted": "",
"on-click": "sleep 0.1 && pavucontrol"
},
"tray": {
"spacing": 12
}
}
]