|
|
@@ -1,167 +0,0 @@
|
|
|
-{
|
|
|
- "layer": "top",
|
|
|
- "position": "top",
|
|
|
- "margin": "5 0 0",
|
|
|
- "mod": "dock",
|
|
|
- "exclusive": true,
|
|
|
- "passthrough": false,
|
|
|
- "gtk-layer-shell": true,
|
|
|
- "height": 30,
|
|
|
- "margin-bottom": 0,
|
|
|
- "margin-top": 5,
|
|
|
- "margin-left": 10,
|
|
|
- "margin-right": 10,
|
|
|
- "battery": {
|
|
|
- "states": {
|
|
|
- "good": 95,
|
|
|
- "warning": 30,
|
|
|
- "critical": 15
|
|
|
- },
|
|
|
- "format": "{icon} {capacity}%",
|
|
|
- "format-charging": "{capacity}% ",
|
|
|
- "format-plugged": "{capacity}% ",
|
|
|
- "format-alt": "{icon} {time}",
|
|
|
- "format-icons": [
|
|
|
- "",
|
|
|
- "",
|
|
|
- "",
|
|
|
- "",
|
|
|
- ""
|
|
|
- ]
|
|
|
- },
|
|
|
- "memory": {
|
|
|
- "format": " {}%",
|
|
|
- "format-alt": " {used}/{total} GiB",
|
|
|
- "interval": 5
|
|
|
- },
|
|
|
- "cpu": {
|
|
|
- "format": " {usage}%",
|
|
|
- "format-alt": " {avg_frequency} GHz",
|
|
|
- "interval": 5
|
|
|
- },
|
|
|
- "disk": {
|
|
|
- "format": " {percentage_used}%",
|
|
|
- "format-alt": " {used}/{total} GiB",
|
|
|
- "interval": 5,
|
|
|
- "path": "/home"
|
|
|
- },
|
|
|
- "network": {
|
|
|
- "format-wifi": "",
|
|
|
- "format-ethernet": " {ifname}: Main",
|
|
|
- "format-linked": " {ifname} (No IP)",
|
|
|
- "format-disconnected": "",
|
|
|
- "format-alt": " {ifname}: {ipaddr}/{cidr}",
|
|
|
- "tooltip-format": "{essid}",
|
|
|
- "on-click-right": "nm-connection-editor"
|
|
|
- },
|
|
|
- "tray": {
|
|
|
- "icon-size": 16,
|
|
|
- "spacing": 5
|
|
|
- },
|
|
|
- "custom/randwall": {
|
|
|
- "format": "",
|
|
|
- "on-click": "$HOME/.bin/randwall",
|
|
|
- "on-click-right": "$HOME/.bin/randwall"
|
|
|
- },
|
|
|
- "custom/wf-recorder": {
|
|
|
- "format": "{}",
|
|
|
- "return-type": "json",
|
|
|
- "interval": 1,
|
|
|
- "exec": "$HOME/.bin/wlrecord.sh --status",
|
|
|
- "on-click": "$HOME/.bin/wlrecord.sh",
|
|
|
- "tooltip": true
|
|
|
- },
|
|
|
- "custom/notification": {
|
|
|
- "tooltip": false,
|
|
|
- "format": "{icon}",
|
|
|
- "format-icons": {
|
|
|
- "notification": "<span foreground='red'><sup></sup></span>",
|
|
|
- "none": "",
|
|
|
- "dnd-notification": "<span foreground='red'><sup></sup></span>",
|
|
|
- "dnd-none": "",
|
|
|
- "inhibited-notification": "<span foreground='red'><sup></sup></span>",
|
|
|
- "inhibited-none": "",
|
|
|
- "dnd-inhibited-notification": "<span foreground='red'><sup></sup></span>",
|
|
|
- "dnd-inhibited-none": ""
|
|
|
- },
|
|
|
- "return-type": "json",
|
|
|
- "exec-if": "which swaync-client",
|
|
|
- "exec": "swaync-client -swb",
|
|
|
- "on-click": "swaync-client -t -sw",
|
|
|
- "on-click-right": "swaync-client -d -sw",
|
|
|
- "escape": true
|
|
|
- },
|
|
|
- "hyprland/workspaces": {
|
|
|
- "disable-scroll": true,
|
|
|
- "format": "{icon}",
|
|
|
- "format-icons": {
|
|
|
- "1": "",
|
|
|
- "2": "",
|
|
|
- "3": "",
|
|
|
- "4": "",
|
|
|
- "7": "",
|
|
|
- "10": "",
|
|
|
- "urgent": "",
|
|
|
- "active": "",
|
|
|
- "default": ""
|
|
|
- }
|
|
|
- },
|
|
|
- "hyprland/window": {
|
|
|
- "format": "{}",
|
|
|
- "max-length": 50,
|
|
|
- "rewrite": {
|
|
|
- "(.*) - Mozilla Firefox": "🌎 $1",
|
|
|
- "(.*) - zsh": "> [$1]"
|
|
|
- }
|
|
|
- },
|
|
|
- "custom/playerctl": {
|
|
|
- "format": "{icon}",
|
|
|
- "return-type": "json",
|
|
|
- "max-length": 64,
|
|
|
- "exec": "playerctl -a metadata --format '{\"text\": \"{{artist}} - {{markup_escape(title)}}\", \"tooltip\": \"{{playerName}} : {{markup_escape(title)}}\", \"alt\": \"{{status}}\", \"class\": \"{{status}}\"}' -F",
|
|
|
- "on-click-middle": "playerctl play-pause",
|
|
|
- "on-click": "playerctl play-pause",
|
|
|
- "on-click-right": "playerctl play-pause",
|
|
|
- "format-icons": {
|
|
|
- "Playing": "<span foreground='#E5B9C6'></span>",
|
|
|
- "Paused": "<span foreground='#928374'></span>"
|
|
|
- }
|
|
|
- },
|
|
|
- "custom/playerlabel": {
|
|
|
- "format": "<span>{}</span>",
|
|
|
- "return-type": "json",
|
|
|
- "max-length": 48,
|
|
|
- "exec": "playerctl -a metadata --format '{\"text\": \"{{artist}} - {{markup_escape(title)}}\", \"tooltip\": \"{{playerName}} : {{markup_escape(title)}}\", \"alt\": \"{{status}}\", \"class\": \"{{status}}\"}' -F",
|
|
|
- "on-click-middle": "playerctl play-pause",
|
|
|
- "on-click": "playerctl previous",
|
|
|
- "on-click-right": "playerctl next",
|
|
|
- "format-icons": {
|
|
|
- "Playing": "<span foreground='#E5B9C6'> </span>",
|
|
|
- "Paused": "<span foreground='#928374'> </span>"
|
|
|
- }
|
|
|
- },
|
|
|
- "pulseaudio": {
|
|
|
- "ignored-sinks": [
|
|
|
- "Easy Effects Sink"
|
|
|
- ],
|
|
|
- "format": "{icon} {volume}%",
|
|
|
- "format-muted": "",
|
|
|
- "format-icons": {
|
|
|
- "default": [
|
|
|
- "",
|
|
|
- "",
|
|
|
- ""
|
|
|
- ]
|
|
|
- },
|
|
|
- "on-click-right": "pavucontrol",
|
|
|
- // "on-scroll-up": "pamixer --sink 77 -ui 5",
|
|
|
- // "on-scroll-down": "pamixer --sink 77 -ud 5",
|
|
|
- "on-click": "pactl set-sink-mute @DEFAULT_SINK@ toggle"
|
|
|
- },
|
|
|
- "clock": {
|
|
|
- "format": " {:%H:%M %d/%m}",
|
|
|
- "tooltip": "true",
|
|
|
- "tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
|
|
|
- "format-alt": " {:%d/%m}"
|
|
|
- }
|
|
|
-}
|