173 lines
5.6 KiB
JSON
173 lines
5.6 KiB
JSON
{
|
|
"layer": "top",
|
|
"position": "bottom",
|
|
"margin-bottom": 10,
|
|
"margin-left": 10,
|
|
"margin-right": 10,
|
|
"modules-left": ["wlr/workspaces", "hyprland/language", "keyboard-state", "hyprland/submap", "mpd", "hyprland/window"],
|
|
"modules-center": ["tray", "custom/notifications", "clock"],
|
|
"modules-right": ["network", "pulseaudio#output", "pulseaudio#input", "temperature", "cpu", "memory"],
|
|
"wlr/workspaces": {
|
|
"disable-scroll": true,
|
|
"all-outputs": true,
|
|
"format": "{icon} {name}",
|
|
"format-icons": {
|
|
"1": "",
|
|
"3": "",
|
|
"4": "",
|
|
"5": "",
|
|
"urgent": "",
|
|
"focused": "",
|
|
"default": ""
|
|
},
|
|
"on-scroll-up": "hyprctl dispatch workspace e-1",
|
|
"on-scroll-down": "hyprctl dispatch workspace e+1",
|
|
"on-click": "activate",
|
|
"sort-by-number": true
|
|
},
|
|
"mpd": {
|
|
"tooltip": false,
|
|
"format": "{stateIcon} {artist} - {album} - {title} ({elapsedTime:%M:%S}/{totalTime:%M:%S})",
|
|
"format-disconnected": "ﳌ",
|
|
"format-stopped": "",
|
|
"state-icons": {
|
|
"playing": "",
|
|
"paused": ""
|
|
}
|
|
},
|
|
"hyprland/submap": {
|
|
"format": " {}"
|
|
},
|
|
"hyprland/window": {
|
|
"separate-out puts": true,
|
|
"format": " {}"
|
|
},
|
|
"tray": {
|
|
"spacing": 8
|
|
},
|
|
"custom/notifications": {
|
|
"tooltip": false,
|
|
"format": "{icon} {}",
|
|
"format-icons": {
|
|
"notification": "<span foreground='magenta'><sup></sup></span>",
|
|
"none": "",
|
|
"dnd-notification": "<span foreground='magenta'><sup></sup></span>",
|
|
"dnd-none": "",
|
|
"inhibited-notification": "<span foreground='magenta'><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
|
|
},
|
|
"pulseaudio#output": {
|
|
"format": "{icon} {volume}%",
|
|
"format-bluetooth": " {volume}%",
|
|
"format-bluetooth-muted": " {volume}%",
|
|
"format-muted": " {volume}%",
|
|
"format-icons": {
|
|
"headphone": " ",
|
|
"hands-free": " ",
|
|
"headset": " ",
|
|
"phone": " ",
|
|
"portable": " ",
|
|
"car": " ",
|
|
"default": ["", "", ""]
|
|
},
|
|
"on-click": "pavucontrol -t 3",
|
|
"on-scroll-up": "swayosd --output-volume=raise",
|
|
"on-scroll-down": "swayosd --output-volume=lower"
|
|
},
|
|
"pulseaudio#input": {
|
|
"format": "{format_source}",
|
|
"format-source": " {volume}%",
|
|
"format-source-muted": " {volume}%",
|
|
"format-icons": {
|
|
"headphone": " ",
|
|
"hands-free": " ",
|
|
"headset": " ",
|
|
"phone": " ",
|
|
"portable": " ",
|
|
"car": " ",
|
|
"default": ["", "", ""]
|
|
},
|
|
"on-click": "pavucontrol -t 4",
|
|
"on-scroll-up": "swayosd --input-volume=raise",
|
|
"on-scroll-down": "swayosd --input-volume=lower"
|
|
},
|
|
"temperature": {
|
|
"thermal-zone": 2,
|
|
"hwmon-path": "/sys/class/hwmon/hwmon0/temp1_input",
|
|
"critical-threshold": 80,
|
|
"format-critical": "{icon} {temperatureC}°C",
|
|
"format": "{icon} {temperatureC}°C",
|
|
"format-icons": ["", "", ""]
|
|
},
|
|
"network": {
|
|
"interface": "eth1", // (Optional) To force the use of this interface
|
|
"format-wifi": " {essid} ({signalStrength}%)",
|
|
"format-ethernet": " {ipaddr}/{cidr}",
|
|
"tooltip-format": " {ifname} via {gwaddr}",
|
|
"format-linked": " {ifname} (No IP)",
|
|
"format-disconnected": " Disconnected",
|
|
"format-alt": " {ifname}: {ipaddr}/{cidr}"
|
|
},
|
|
"cpu": {
|
|
"tooltip": false,
|
|
"format": " {}%"
|
|
},
|
|
"memory": {
|
|
"tooltip": false,
|
|
"format": " {}%"
|
|
},
|
|
"clock": {
|
|
"format": " {:%Y-%m-%d | %H:%M:%S}",
|
|
"interval": 1,
|
|
"tooltip-format": "<tt><small>{calendar}</small></tt>",
|
|
"calendar": {
|
|
"mode" : "year",
|
|
"mode-mon-col" : 3,
|
|
"weeks-pos" : "right",
|
|
"on-scroll" : 1,
|
|
"on-click-right": "mode",
|
|
"format": {
|
|
"months": "<span color='#ffead3'><b>{}</b></span>",
|
|
"days": "<span color='#ecc6d9'><b>{}</b></span>",
|
|
"weeks": "<span color='#99ffdd'><b>W{}</b></span>",
|
|
"weekdays": "<span color='#ffcc66'><b>{}</b></span>",
|
|
"today": "<span color='#ff6699'><b><u>{}</u></b></span>"
|
|
}
|
|
},
|
|
"actions": {
|
|
"on-click-right": "mode",
|
|
"on-click-forward": "tz_up",
|
|
"on-click-backward": "tz_down",
|
|
"on-scroll-up": "shift_up",
|
|
"on-scroll-down": "shift_down"
|
|
}
|
|
},
|
|
"keyboard-state": {
|
|
"numlock": true,
|
|
"capslock": true,
|
|
"format": {
|
|
"capslock": "C {icon} ",
|
|
"numlock": "N {icon} "
|
|
},
|
|
"format-icons": {
|
|
"locked": "",
|
|
"unlocked": ""
|
|
}
|
|
},
|
|
"hyprland/language": {
|
|
"format": " {}",
|
|
"format-fr": "FR"
|
|
}
|
|
}
|
|
|
|
// vim: set ft=json
|
|
|