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

{
// 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/hypridle",
"custom/wireguard",
"network",
"pulseaudio",
"backlight",
"battery",
],
// modules
"backlight": {
"device": "intel_backlight",
"format": "{icon} {percent}%",
"format-icons": [
"󰃞",
"󰃟",
"󰃠"
],
"on-scroll-up": "brightnessctl set 5%+",
"on-scroll-down": "brightnessctl set 5%-"
},
"battery": {
"format": "{icon} ",
"format-full": "{icon} ",
"format-icons": [
"",
"",
"",
"",
""
],
},
"clock": {
"format": "{: %R  %d-%m}",
"timezones": ["Europe/Amsterdam", "Asia/Kolkata"],
"actions": { "on-click": "tz_down" },
"tooltip-format": "<tt><small>{calendar}</small></tt>"
},
"custom/hypridle": {
"interval": 1,
"format": "{}",
"exec": "$HOME/.dotfiles/apps/hyprland/hypridle.sh",
"on-click": "$HOME/.dotfiles/apps/hyprland/hypridle.sh toggle"
},
"custom/wireguard": {
"interval": 1,
"format": "{}",
"exec": "$HOME/.dotfiles/apps/wireguard/wireguard.sh status",
"on-click": "$HOME/.dotfiles/apps/wireguard/wireguard.sh switch"
},
"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,
"format-wifi": "󰣶",
"format-ethernet": "󰱓",
"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"
},
"pulseaudio": {
"format": "{icon} {volume:2}%",
"format-muted": "󰖁 ",
"format-icons": {
"headphone": "",
"hands-free": "",
"headset": "",
"phone": "",
"portable": "",
"car": "",
"default": ["", "", ""]
},
"scroll-step": 5,
"on-click": "easyeffects"
},
"tray": {
"icon-size": 13,
"spacing": 10
}
}