2024-03-24 16:15:15 +01:00
|
|
|
{
|
|
|
|
|
|
|
|
// generic
|
|
|
|
"exclusive": true,
|
|
|
|
"gtk-layer-shell": true,
|
|
|
|
"height": 0,
|
|
|
|
"layer": "top",
|
|
|
|
"mod": "dock",
|
|
|
|
"passthrough": false,
|
|
|
|
"position": "top",
|
|
|
|
|
|
|
|
// modules location
|
|
|
|
"modules-left": [
|
|
|
|
"hyprland/workspaces",
|
|
|
|
"hyprland/window",
|
|
|
|
],
|
|
|
|
|
|
|
|
"modules-center": [
|
|
|
|
"clock"
|
|
|
|
],
|
|
|
|
|
|
|
|
"modules-right": [
|
|
|
|
"tray",
|
2024-03-31 23:07:54 +02:00
|
|
|
"disk",
|
|
|
|
"cpu",
|
|
|
|
"memory",
|
2024-06-04 15:22:25 +02:00
|
|
|
"group/connections",
|
2024-03-24 16:15:15 +01:00
|
|
|
"pulseaudio",
|
2024-03-31 19:40:27 +02:00
|
|
|
"backlight",
|
|
|
|
"battery",
|
2024-03-31 19:52:34 +02:00
|
|
|
"custom/hypridle",
|
2024-03-24 16:15:15 +01:00
|
|
|
],
|
|
|
|
|
|
|
|
// modules
|
|
|
|
"backlight": {
|
|
|
|
"device": "intel_backlight",
|
2024-03-31 20:34:18 +02:00
|
|
|
"format": "{icon} {percent}% ",
|
2024-03-24 16:15:15 +01:00
|
|
|
"format-icons": [
|
2024-03-31 18:23:17 +02:00
|
|
|
"",
|
|
|
|
"",
|
|
|
|
""
|
2024-03-24 16:15:15 +01:00
|
|
|
],
|
|
|
|
"on-scroll-up": "brightnessctl set 5%+",
|
|
|
|
"on-scroll-down": "brightnessctl set 5%-"
|
|
|
|
},
|
|
|
|
|
|
|
|
"battery": {
|
2024-03-31 20:35:01 +02:00
|
|
|
"format": "{icon} ",
|
|
|
|
"format-full": "{icon} ",
|
2024-03-24 16:15:15 +01:00
|
|
|
"format-icons": [
|
2024-03-31 18:23:17 +02:00
|
|
|
"",
|
|
|
|
"",
|
|
|
|
"",
|
|
|
|
"",
|
|
|
|
""
|
2024-03-24 16:15:15 +01:00
|
|
|
],
|
|
|
|
},
|
|
|
|
|
|
|
|
"clock": {
|
2024-03-31 20:07:41 +02:00
|
|
|
"format": "{:%R %d-%m}",
|
2024-03-24 16:15:15 +01:00
|
|
|
"timezones": ["Europe/Amsterdam", "Asia/Kolkata"],
|
|
|
|
"actions": { "on-click": "tz_down" },
|
|
|
|
"tooltip-format": "<tt><small>{calendar}</small></tt>"
|
2024-03-31 23:07:54 +02:00
|
|
|
},
|
|
|
|
|
|
|
|
"cpu": {
|
|
|
|
"interval": 2,
|
|
|
|
"format": " {usage:2}%"
|
|
|
|
},
|
2024-03-24 16:15:15 +01:00
|
|
|
|
2024-03-30 13:34:41 +01:00
|
|
|
"custom/hypridle": {
|
2024-03-31 18:23:17 +02:00
|
|
|
"interval": 1,
|
2024-03-31 19:54:02 +02:00
|
|
|
"format": "{} ",
|
2024-03-30 13:34:41 +01:00
|
|
|
"exec": "$HOME/.dotfiles/apps/hyprland/hypridle.sh",
|
|
|
|
"on-click": "$HOME/.dotfiles/apps/hyprland/hypridle.sh toggle"
|
|
|
|
},
|
|
|
|
|
2024-03-24 16:15:15 +01:00
|
|
|
"custom/wireguard": {
|
2024-03-31 18:23:17 +02:00
|
|
|
"interval": 1,
|
2024-06-04 15:22:25 +02:00
|
|
|
"format": "{}",
|
2024-03-24 19:56:47 +01:00
|
|
|
"exec": "$HOME/.dotfiles/apps/wireguard/wireguard.sh status",
|
|
|
|
"on-click": "$HOME/.dotfiles/apps/wireguard/wireguard.sh switch"
|
2024-03-24 16:15:15 +01:00
|
|
|
},
|
|
|
|
|
2024-03-31 23:07:54 +02:00
|
|
|
"disk": {
|
|
|
|
"interval": 10,
|
|
|
|
"path": "/",
|
|
|
|
"format": " {percentage_used}%",
|
|
|
|
},
|
|
|
|
|
2024-03-24 16:15:15 +01:00
|
|
|
"hyprland/window": {
|
|
|
|
"format": "{}"
|
|
|
|
},
|
|
|
|
|
|
|
|
"hyprland/workspaces": {
|
|
|
|
"all-outputs": true,
|
|
|
|
"sort-by-number": true,
|
|
|
|
"format": "{icon}",
|
|
|
|
"format-icons": {
|
|
|
|
"1": "1",
|
|
|
|
"2": "2",
|
|
|
|
"3": "3",
|
|
|
|
"4": "4",
|
|
|
|
"5": "5",
|
|
|
|
"6": "6",
|
|
|
|
"7": "7",
|
|
|
|
"8": "8",
|
|
|
|
"9": "9",
|
|
|
|
"10": "10"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
2024-03-31 23:07:54 +02:00
|
|
|
"memory": {
|
|
|
|
"interval": 2,
|
|
|
|
"format": " {}%",
|
|
|
|
"tooltip-format": "{used:0.1f}GB / {total:0.1f}GB",
|
|
|
|
},
|
|
|
|
|
2024-03-24 16:15:15 +01:00
|
|
|
"network": {
|
2024-06-04 15:22:25 +02:00
|
|
|
"tooltip": false,
|
|
|
|
"format-wifi": " ",
|
|
|
|
"format-ethernet": " ",
|
|
|
|
"on-click": "alacritty --class nmtui --command ~/.dotfiles/apps/hyprland/nmtui.sh"
|
|
|
|
},
|
|
|
|
|
|
|
|
"network#full": {
|
2024-03-24 16:15:15 +01:00
|
|
|
"tooltip": true,
|
2024-06-04 15:22:25 +02:00
|
|
|
"format-wifi": "{essid}({signalStrength}%)",
|
2024-03-31 20:34:18 +02:00
|
|
|
"format-ethernet": " ",
|
2024-03-24 16:15:15 +01:00
|
|
|
"tooltip-format-wifi": "SSID: {essid}\nSignal Strength: {signalStrength}%\nIP: {ipaddr}\nNetmask: {netmask} (/{cidr})\nGateway: {gwaddr}",
|
|
|
|
"tooltip-format-ethernet": "IP: {ipaddr}\nNetmask: {netmask} (/{cidr})\nGateway: {gwaddr}",
|
2024-03-30 13:14:09 +01:00
|
|
|
"on-click": "alacritty --class nmtui --command ~/.dotfiles/apps/hyprland/nmtui.sh"
|
2024-03-24 16:15:15 +01:00
|
|
|
},
|
|
|
|
|
|
|
|
"pulseaudio": {
|
2024-03-31 20:34:18 +02:00
|
|
|
"format": "{icon} {volume:2}% ",
|
2024-03-31 18:23:17 +02:00
|
|
|
"format-muted": " ",
|
2024-03-24 16:15:15 +01:00
|
|
|
"format-icons": {
|
2024-03-31 18:23:17 +02:00
|
|
|
"headphone": "",
|
|
|
|
"hands-free": "",
|
|
|
|
"headset": "",
|
|
|
|
"phone": "",
|
|
|
|
"portable": "",
|
|
|
|
"car": "",
|
|
|
|
"default": ["", "", ""]
|
|
|
|
},
|
2024-03-24 16:15:15 +01:00
|
|
|
"scroll-step": 5,
|
2024-03-31 23:35:23 +02:00
|
|
|
"on-click": "pavucontrol"
|
2024-03-24 16:15:15 +01:00
|
|
|
},
|
|
|
|
|
|
|
|
"tray": {
|
|
|
|
"icon-size": 13,
|
|
|
|
"spacing": 10
|
2024-06-04 15:22:25 +02:00
|
|
|
},
|
|
|
|
|
|
|
|
"group/connections": {
|
|
|
|
"orientation": "horizontal",
|
|
|
|
"drawer": {
|
|
|
|
"transition-duration": 500,
|
|
|
|
"children-class": "network",
|
|
|
|
"transition-left-to-right": true
|
|
|
|
},
|
|
|
|
"modules": [
|
|
|
|
"network",
|
|
|
|
"custom/wireguard",
|
|
|
|
"network#full",
|
|
|
|
]
|
|
|
|
},
|
2024-03-24 16:15:15 +01:00
|
|
|
}
|