waybar-config/config
2024-03-01 16:32:45 -05:00

185 lines
3.9 KiB
JSON

// -*- mode: json -*-
{
"layer": "top",
"position": "bottom",
"modules-left": [
"sway/workspaces",
"custom/right-arrow-dark",
],
"modules-center": [
],
"modules-right": [
"custom/left-arrow-dark",
"custom/twcount",
"custom/left-arrow-light",
"custom/left-arrow-dark",
"custom/fortivpn",
"custom/left-arrow-light",
"custom/left-arrow-dark",
"idle_inhibitor",
"custom/left-arrow-light",
"custom/left-arrow-dark",
"pulseaudio",
"custom/left-arrow-light",
"custom/left-arrow-dark",
"battery",
"custom/left-arrow-light",
"custom/left-arrow-dark",
"tray",
"custom/left-arrow-light",
"custom/left-arrow-dark",
"custom/notification",
"clock"
],
"custom/twcount": {
"format": " {}",
"exec": "task status:pending count",
"interval": 30
},
"custom/fortivpn": {
"format": "{icon} ",
"return-type": "json",
"tooltip": "{}",
"interval": 30,
"on-click": "forticlient gui",
"exec": "/home/kellya/.config/waybar/scripts/fortivpn.sh",
"format-icons": {
"connected": "<span color='green'></span>",
"not running": ""
}
},
"custom/left-arrow-dark": {
"format": "",
"tooltip": false
},
"custom/left-arrow-light": {
"format": "",
"tooltip": false
},
"custom/right-arrow-dark": {
"format": "",
"tooltip": false
},
"custom/right-arrow-light": {
"format": "",
"tooltip": false
},
"sway/workspaces": {
"disable-scroll": true,
"format": "{icon}",
"format-icons": {
"1": "",
"2": "",
"3": "",
"4": "",
"5": "🎝",
"6": "",
"7": "",
"urgent": ""
}
},
"clock#1": {
"format": "{:%a}",
"tooltip": false
},
"clock#2": {
"format": "{:%H:%M}",
"tooltip": false
},
"clock#3": {
"format": "{:%m-%d}",
"tooltip": false
},
"pulseaudio": {
"format": "{icon} {volume:2}%",
"format-bluetooth": "{icon} {volume}%",
"format-muted": "MUTE",
"format-icons": {
"headphones": "",
"default": [
"",
""
]
},
"scroll-step": 5,
"on-click": "pamixer -t",
"on-click-right": "pavucontrol"
},
"memory": {
"interval": 5,
"format": "Mem {}%"
},
"cpu": {
"interval": 5,
"format": "CPU {usage:2}%"
},
"battery": {
"bat": "BAT0",
"states": {
"good": 95,
"warning": 30,
"critical": 15
},
"format": "{icon} {capacity}%",
"format-discharging": "{icon} {capacity}% {time}",
"tooltip-format": "{time} {capacity}%",
"format-icons": [
"",
"",
"",
"",
""
]
},
"disk": {
"interval": 5,
"format": "Disk {percentage_used:2}%",
"path": "/"
},
"idle_inhibitor": {
"format": "{icon}",
"format-icons": {
"activated": "",
"deactivated": ""
}
},
"tray": {
"icon-size": 15,
"spacing": 8
},
"clock": {
// "timezone": "America/New_York",
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
"format-alt": "{:%Y-%m-%d}"
},
"custom/notification": {
"tooltip": true,
"format": "{icon}",
"tooltip-format": "{}",
"format-icons": {
"notification": "<span foreground='red'><sup></sup></span>",
"none": "",
"dnd-notification": "<span foreground='red'><sup></sup></span>",
"dnd-none": "",
"inhibited-notification": "<span foreground='red'><sup></sup></span>",
"inhibited-none": "",
"dnd-inhibited-notification": "<span foreground='red'><sup></sup></span>",
"dnd-inhibited-none": ""
},
"return-type": "json",
"exec-if": "which swaync-client",
"exec": "swaync-client -swb",
"on-click": "swaync-client -t -sw",
"on-click-right": "swaync-client -d -sw",
"escape": true
},
}