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