195 lines
6.3 KiB
JSON
195 lines
6.3 KiB
JSON
{
|
|
"layer": "top",
|
|
"position": "top",
|
|
"mod": "dock",
|
|
"exclusive": true,
|
|
"passthrough": false,
|
|
"gtk-layer-shell": true,
|
|
"height": 0,
|
|
"modules-left": [
|
|
"hyprland/submap",
|
|
"clock",
|
|
"hyprland/workspaces"
|
|
],
|
|
"modules-center": [
|
|
"hyprland/window"
|
|
],
|
|
"modules-right": [
|
|
"tray",
|
|
"cpu",
|
|
"memory",
|
|
"network",
|
|
"bluetooth",
|
|
"backlight",
|
|
"battery",
|
|
"pulseaudio",
|
|
"pulseaudio#microphone"
|
|
],
|
|
"bluetooth": {
|
|
"format": "{icon}",
|
|
"format-disabled": "\udb80\udcb2",
|
|
"format-off": "\udb80\udcb2",
|
|
"format-on": "\udb80\udcaf",
|
|
"format-connected": "\udb80\udcb1",
|
|
"format-icons": [
|
|
"\udb82\udd47",
|
|
"\udb82\udd3e",
|
|
"\udb82\udd3f",
|
|
"\udb82\udd40",
|
|
"\udb82\udd41",
|
|
"\udb82\udd42",
|
|
"\udb82\udd43",
|
|
"\udb82\udd44",
|
|
"\udb82\udd45",
|
|
"\udb82\udd46"
|
|
],
|
|
"tooltip-format": "{controller_alias}\t{controller_address}\n\n{num_connections} connected",
|
|
"tooltip-format-connected": "{controller_alias}\t{controller_address}\n\n{num_connections} connected\n\n{device_enumerate}",
|
|
"tooltip-format-enumerate-connected": "{device_alias}\t{device_address}",
|
|
"tooltip-format-enumerate-connected-battery": "{device_alias}\t{device_address}\t{device_battery_percentage}%",
|
|
"on-click": "alacritty -e bluetui -T bluetui"
|
|
},
|
|
"hyprland/submap": {
|
|
// "format": "{icon}",
|
|
"max-length": 4,
|
|
"tooltip": false
|
|
// "icons": {
|
|
// "device": "\uf4a9",
|
|
// "groups": "\udb80\udec3",
|
|
// "launch": "\udb85\udcde",
|
|
// "notifications": "\uf400",
|
|
// "screenshot": "\udb83\ude51",
|
|
// "window": "\ueb7f",
|
|
// "workspace": "\ueb23",
|
|
// "groupedlaunch": "\uf0c0"
|
|
// }
|
|
},
|
|
"hyprland/window": {
|
|
"format": "{}",
|
|
"tooltip-format": "Class: {class}",
|
|
"rewrite": {
|
|
"(.*) — Librewolf": "🌎 $1",
|
|
"nvim - (.*)": "\ue6ae $1",
|
|
"Yazi: (.*)": "\udb81\ude45 $1"
|
|
}
|
|
},
|
|
"tray": {
|
|
"icon-size": 14,
|
|
"spacing": 8
|
|
},
|
|
"network": {
|
|
"format-disconnected": "\udb80\udf19",
|
|
"format-wifi": "{icon} {essid}",
|
|
"format-ethernet": "\udb80\ude00",
|
|
"tooltip-format-ethernet": "<big>Ethernet</big>\nInterface: {ifname}\nIP: {ipaddr}\nUp/Down (bps): {bandwidthUpBits}/{bandwidthDownBits}",
|
|
"tooltip-format-wifi": "<big>Wi-Fi</big>\nSSID: {essid}\nIP: {ipaddr}\nSignal strength: {signalStrength}%\nUp/Down (bps): {bandwidthUpBits}/{bandwidthDownBits}\nFrequency: {frequency}GHz",
|
|
"tooltip-format-disconnected": "<big>Networking</big>\n{ifname} disconnected",
|
|
"on-click": "alacritty -e nmtui -T nmtui",
|
|
"format-icons": [
|
|
"\udb82\udd2f",
|
|
"\udb82\udd1f",
|
|
"\udb82\udd22",
|
|
"\udb82\udd25",
|
|
"\udb82\udd28"
|
|
]
|
|
},
|
|
"clock": {
|
|
"format": "{:%a, %d.%m %H:%M:%S}",
|
|
"tooltip-format": "<big>Calendar</big>\n<tt><small>{calendar}</small></tt>",
|
|
"interval": 1
|
|
},
|
|
"hyprland/workspaces": {
|
|
"disable-scroll": true,
|
|
"all-outputs": true,
|
|
"tooltips": {
|
|
"default": "{name}: {windows}",
|
|
"empty": "" // Will result in no tooltip
|
|
}
|
|
},
|
|
"cpu": {
|
|
"tooltip-format": "<big>CPU</big>\n<tt>Total: {usage}</tt>",
|
|
"format": "\uf4bc {usage}",
|
|
"interval": 5,
|
|
"on-click": "alacritty -e dgop -T dgop"
|
|
},
|
|
"memory": {
|
|
"format": "\uefc5 {percentage}",
|
|
"interval": 5,
|
|
"on-click": "alacritty -e dgop -T dgop"
|
|
},
|
|
"pulseaudio": {
|
|
"format": "{icon} {volume}",
|
|
"tooltip": true,
|
|
"format-muted": "\udb81\udcc4 Off",
|
|
"on-click": "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle",
|
|
"on-scroll-up": "wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+",
|
|
"on-scroll-down": "wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-",
|
|
"scroll-step": 5,
|
|
"format-icons": {
|
|
"headphone": "\uf025",
|
|
"hands-free": "",
|
|
"headset": "\uee59",
|
|
"phone": "\udb82\udd70",
|
|
"portable": "\udb82\udda2",
|
|
"car": "🏎",
|
|
"default": [
|
|
"\udb81\udcc3",
|
|
"\udb81\udf1f"
|
|
]
|
|
}
|
|
},
|
|
"battery":{
|
|
"states": {
|
|
"95": 100,
|
|
"85": 90,
|
|
"75": 80,
|
|
"65": 70,
|
|
"55": 60,
|
|
"45": 50,
|
|
"35": 40,
|
|
"25": 30,
|
|
"15": 20,
|
|
"5": 10,
|
|
"critical": 0,
|
|
},
|
|
"format":" {capacity}",
|
|
"format-95": " {capacity}",
|
|
"format-85": " {capacity}",
|
|
"format-75": " {capacity}",
|
|
"format-65": " {capacity}",
|
|
"format-55": " {capacity}",
|
|
"format-45": " {capacity}",
|
|
"format-35": " {capacity}",
|
|
"format-25": " {capacity}",
|
|
"format-15": " {capacity}",
|
|
"format-15": " {capacity}",
|
|
"format-critical": " {capacity}",
|
|
"format-charging":" {capacity}",
|
|
"format-plugged": " ",
|
|
"format-full": " 100",
|
|
"format-empty": " ({capacity}%)",
|
|
"tooltip-format":"<big>Battery</big>\nCurrently {timeTo}\nCurrently drawing: {power}W\nBattery status: {capacity}%"
|
|
},
|
|
"backlight": {
|
|
"stages": {
|
|
"high": 50,
|
|
"low": 0,
|
|
},
|
|
"format": "🌣 {percent}",
|
|
"format-high": " {percent}",
|
|
"format-low": " {percent}",
|
|
"tooltip-format": "<big>Brightness</big>\n🌣 {percent}",
|
|
"on-scroll-up": "light -A 1",
|
|
"on-scroll-down": "light -U 1"
|
|
},
|
|
"pulseaudio#microphone": {
|
|
"format": "{format_source}",
|
|
"format-source": "\uf130 {volume}",
|
|
"format-source-muted": "\uf131 Off",
|
|
"on-click": "wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle",
|
|
"on-scroll-up": "wpctl set-volume @DEFAULT_AUDIO_SOURCE@ 5%+",
|
|
"on-scroll-down": "wpctl set-volume @DEFAULT_AUDIO_SOURCE@ 5%-",
|
|
"scroll-step": 5
|
|
}
|
|
}
|