adding a lot of script changes

This commit is contained in:
Chris Cochrun 2021-08-17 20:39:50 -05:00
parent 161abbf381
commit d25a75a078
15 changed files with 237 additions and 406 deletions

View file

@ -1,32 +1,34 @@
{
// "layer": "top", // Waybar at top layer
"position": "bottom", // Waybar position (top|bottom|left|right)
"height": 25, // Waybar height (to be removed for auto height)
"height": 35, // Waybar height (to be removed for auto height)
// "width": 1280, // Waybar width
// Choose the order of the modules
"modules-left": ["sway/workspaces", "river/tags", "sway/mode", "sway/window"],
"modules-left": ["sway/workspaces", "sway/mode", "sway/window"],
"modules-center": ["clock"],
"modules-right": ["pulseaudio", "network", "cpu", "memory", "battery", "battery#bat2", "tray"],
"margin-top": 5,
// "margin-top": -10,
"margin-bottom": 10,
"margin-left": 29,
"margin-right": 29,
// Modules configuration
"sway/workspaces": {
"disable-scroll": true,
"all-outputs": true,
"format": "{icon}",
"format-icons": {
"1": "",
"2": "",
"3": "",
"4": "",
"5": "",
"urgent": "",
"focused": "",
"default": ""
"1": " ",
"2": " ",
"3": " ",
"4": " ",
"5": " ",
"urgent": " ",
"focused": " ",
"default": " "
}
},
"river/tags": {
"num-tags": 5
"num-tags": 8
},
"sway/mode": {
"format": "<span style=\"italic\"> {}</span>"
@ -49,11 +51,11 @@
"format": "{:%a %b %e, %l:%M %p}"
},
"cpu": {
"format": "{usage}%",
"format": "{usage}%",
"tooltip": false
},
"memory": {
"format": "{}%"
"format": "{}%"
},
"temperature": {
// "thermal-zone": 2,
@ -65,7 +67,7 @@
},
"backlight": {
// "device": "acpi_video1",
"format": "{percent}% {icon}",
"format": "{icon} {percent}%",
"format-icons": ["", ""]
},
"battery": {
@ -74,13 +76,13 @@
"warning": 30,
"critical": 15
},
"format": "{capacity}% {icon}",
"format-charging": "{capacity}%",
"format-plugged": "{capacity}%",
"format": "{icon} {capacity}%",
"format-charging": "{capacity}%",
"format-plugged": "{capacity}%",
"format-alt": "{time} {icon}",
// "format-good": "", // An empty format will hide the module
// "format-full": "",
"format-icons": ["", "", "", "", ""]
"format-icons": [" ", " ", " ", " ", " "]
},
"battery#bat2": {
"bat": "BAT2",
@ -89,29 +91,29 @@
"warning": 30,
"critical": 15
},
"format": "{capacity}% {icon}",
"format-charging": "{capacity}%",
"format-plugged": "{capacity}%",
"format": "{icon} {capacity}%",
"format-charging": "{capacity}%",
"format-plugged": "{capacity}%",
"format-alt": "{time} {icon}",
// "format-good": "", // An empty format will hide the module
// "format-full": "",
"format-icons": ["", "", "", "", ""]
"format-icons": [" ", " ", " ", " ", " "]
},
"network": {
// "interface": "wlp2*", // (Optional) To force the use of this interface
"format-wifi": "{essid} ({signalStrength}%)",
"format-ethernet": "{ipaddr}",
"format-wifi": "{essid} ({signalStrength}%)",
"format-ethernet": "{ipaddr}",
"format-linked": "{ifname} (No IP) ",
"format-disconnected": "Disconnected ⚠",
"format-alt": "{ifname}: {ipaddr}/{cidr}"
},
"pulseaudio": {
// "scroll-step": 1, // %, can be a float
"format": "{volume}% {icon} {format_source}",
"format-bluetooth": "{volume}% {icon} {format_source}",
"format": "{icon} {volume}% {format_source}",
"format-bluetooth": "{icon} {volume}% {format_source}",
"format-bluetooth-muted": " {icon} {format_source}",
"format-muted": " {format_source}",
"format-source": "{volume}%",
"format-source": "{volume}%",
"format-source-muted": "",
"format-icons": {
"headphone": "",
@ -137,7 +139,7 @@
// "exec": "$HOME/.config/waybar/mediaplayer.py --player spotify 2> /dev/null" // Filter player based on name
},
"wlr/taskbar": {
"format": "<span style='italic'>{icon} {title}</span>",
"format": "{icon} {title}",
"icon-size": 20,
"icon-theme": "Papirus-Dark",
"tooltip-format": "{title}",
@ -146,7 +148,7 @@
"on-click-middle": "close"
},
"sway/window": {
"format": " {} ",
"format": " {} ",
"max-length": 60,
}
}