|
|
|
@ -1,7 +1,8 @@
|
|
|
|
|
// vim: ft=jsonc
|
|
|
|
|
// vim: ft=json
|
|
|
|
|
{
|
|
|
|
|
"layer": "bottom", // Waybar at top layer
|
|
|
|
|
"height": 22, // Waybar height
|
|
|
|
|
"layer": "top",
|
|
|
|
|
"test": "asd",
|
|
|
|
|
"height": 22,
|
|
|
|
|
"modules-left": ["sway/workspaces", "sway/mode", "custom/media"],
|
|
|
|
|
"modules-center": ["sway/window"],
|
|
|
|
|
"modules-right": [
|
|
|
|
@ -14,7 +15,6 @@
|
|
|
|
|
"clock",
|
|
|
|
|
"tray"
|
|
|
|
|
],
|
|
|
|
|
// Modules configuration
|
|
|
|
|
"sway/workspaces": {
|
|
|
|
|
"disable-scroll": true,
|
|
|
|
|
"all-outputs": true,
|
|
|
|
@ -45,18 +45,18 @@
|
|
|
|
|
"format": "{ifname}",
|
|
|
|
|
"format-wifi": "{essid} ({signalStrength}%) ",
|
|
|
|
|
"format-ethernet": "{ipaddr} ",
|
|
|
|
|
"format-disconnected": "Disconnected ", //An empty format will hide the module.
|
|
|
|
|
"format-disconnected": "Disconnected ",
|
|
|
|
|
"tooltip-format": "{ifname}",
|
|
|
|
|
"tooltip-format-wifi": "{ifname} {frequency}MHz ",
|
|
|
|
|
"tooltip-format-ethernet": "{ifname} ",
|
|
|
|
|
"tooltip-format-disconnected": "Disconnected"
|
|
|
|
|
},
|
|
|
|
|
"tray": {
|
|
|
|
|
// "icon-size": 21,
|
|
|
|
|
"spacing": 10
|
|
|
|
|
},
|
|
|
|
|
"clock": {
|
|
|
|
|
"tooltip": false,
|
|
|
|
|
"tooltip": true,
|
|
|
|
|
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
|
|
|
|
|
"format": "{:%Y-%m-%d %H:%M} "
|
|
|
|
|
},
|
|
|
|
|
"cpu": {
|
|
|
|
@ -68,20 +68,17 @@
|
|
|
|
|
"format": "{}% "
|
|
|
|
|
},
|
|
|
|
|
"backlight": {
|
|
|
|
|
// "device": "acpi_video1",
|
|
|
|
|
"format": "{percent}% {icon}",
|
|
|
|
|
"format-icons": ["", ""]
|
|
|
|
|
},
|
|
|
|
|
"battery": {
|
|
|
|
|
"tooltip": false,
|
|
|
|
|
"tooltip": true,
|
|
|
|
|
"tooltip-format": "{time}",
|
|
|
|
|
"states": {
|
|
|
|
|
// "good": 95,
|
|
|
|
|
"warning": 30,
|
|
|
|
|
"critical": 15
|
|
|
|
|
},
|
|
|
|
|
"format": "{capacity}% {icon}",
|
|
|
|
|
// "format-good": "", // An empty format will hide the module
|
|
|
|
|
// "format-full": "",
|
|
|
|
|
"format-icons": ["", "", "", "", ""]
|
|
|
|
|
},
|
|
|
|
|
"battery#bat2": {
|
|
|
|
@ -89,7 +86,6 @@
|
|
|
|
|
},
|
|
|
|
|
"pulseaudio": {
|
|
|
|
|
"tooltip": false,
|
|
|
|
|
//"scroll-step": 1,
|
|
|
|
|
"format": "{volume}% {icon}",
|
|
|
|
|
"format-bluetooth": "{volume}% ",
|
|
|
|
|
"format-muted": "",
|
|
|
|
@ -118,7 +114,7 @@
|
|
|
|
|
"on-scroll-up": "playerctl volume 0.05+",
|
|
|
|
|
"on-scroll-down": "playerctl volume 0.05-"
|
|
|
|
|
},
|
|
|
|
|
"custom/yay":{
|
|
|
|
|
"custom/yay": {
|
|
|
|
|
"tooltip": false,
|
|
|
|
|
"format": "{} ",
|
|
|
|
|
"exec": "yay -Qu | wc -l",
|
|
|
|
|