This repository has been archived on 2024-07-10. You can view files and clone it, but cannot push or open issues or pull requests.
dotfiles-nix/apps/waybar/waybar.conf

130 lines
2.6 KiB
Plaintext
Raw Normal View History

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",
"custom/wireguard",
2024-03-30 13:34:41 +01:00
"network",
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-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-03-31 20:34:18 +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
},
"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"
}
},
"network": {
"tooltip": true,
2024-03-31 20:34:18 +02:00
"format-wifi": "󰣶 ",
"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}",
"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-25 17:37:05 +01:00
"on-click": "easyeffects"
2024-03-24 16:15:15 +01:00
},
"tray": {
"icon-size": 13,
"spacing": 10
}
}