dotfiles-mirror/config/waybar/config.jsonc
coast 3c3f332f83 remove some things from the Nvim config, change up the waybar config,
switch to Niri WM and update my Niri config, change up some stuff in
    nixos configuration
2025-11-02 13:53:18 +03:30

115 lines
2.7 KiB
JSON

{
"position": "top",
"layer": "top",
"modules-left": [
"niri/workspaces",
"niri/mode",
],
"modules-center": [
],
"modules-right": [
"clock",
"pulseaudio",
"network"
],
"pulseaudio": {
"tooltip": false,
"scroll-step": 5,
"format": "VOL {volume}%",
"format-muted": "muted",
"format-icons": {
"default": [
"",
"",
""
]
}
},
"privacy": {
"icon-spacing": 10,
"icon-size": 18,
"transition-duration": 250,
"tooltip": false,
"modules": [
{
"type": "screenshare",
"tooltip": true,
"tooltip-icon-size": 24
},
{
"type": "audio-out",
"tooltip": true,
"tooltip-icon-size": 24
},
{
"type": "audio-in",
"tooltip": true,
"tooltip-icon-size": 24
}
]
},
"bluetooth": {
"format": " {status}",
"format-connected": " CONN",
"tooltip": true,
"on-click": "footclient -e bluetoothctl",
"tooltip-format-connected": "{device_alias}"
},
"clock": {
"format": "TIME {:%I:%M %p}",
"tooltip": true,
"tooltip-format": "{:%a, %b %d, :%I:%M:%S %p}"
},
"niri/workspaces": {
"format": "●",
"persistent-workspaces": {
"1": 1,
"2": 2,
"3": 3,
"4": 4,
"5": 5,
"6": 6,
"7": 7,
"8": 8,
"9": 9
},
},
"niri/window": {
"icon": false,
"icon-size": 20
},
"niri/mode": {
"format": "<span style=\"italic\">{}</span>"
},
"network": {
"interface": "eno1",
// "interface": "wlo1",
"format-wifi": "WLAN {essid}",
"format-ethernet": "ETH {ipaddr}/{cidr}",
"format-disconnected": "disconnected",
"tooltip": true,
"tooltip-format": "Click to copy",
"max-length": 50,
"on-click": "sh -c 'ip addr show eno1 | grep \"inet \" | awk \"{print \\$2}\" | sed \"s#/.*##\" | wl-copy'"
},
"battery": {
"format": "{icon}: {capacity}%",
"interval": 10,
"states": {
"warning": 20,
"critical": 10
},
"format-time": "{H}:{m}",
"format-icons": [
"",
"",
"",
"",
""
],
"format-charging": "{icon} +: {capacity}%",
"format-discharging": "{icon} -: {capacity}%",
"tooltip-format": "{power}W, {cycles} cycles"
}
}