fix always-on icon in waybar.

This commit is contained in:
AM
2026-04-27 20:01:23 -05:00
parent d69ab908ed
commit e1d80f44d1
2 changed files with 10 additions and 13 deletions

View File

@@ -16,11 +16,11 @@
], ],
"modules-right": [ "modules-right": [
"pulseaudio", "pulseaudio",
"network",
"battery", "battery",
"idle_inhibitor", "idle_inhibitor",
"clock", "network",
"tray" "tray",
"clock"
], ],
// Modules configuration // Modules configuration
"sway/workspaces": { "sway/workspaces": {
@@ -95,14 +95,14 @@
// "icon-size": 21, // "icon-size": 21,
"spacing": 10, "spacing": 10,
//"icons": { //"icons": {
// "blueman": "bluetooth", // "blueman": "bluetooth"
// "TelegramDesktop": "$HOME/.local/share/icons/hicolor/16x16/apps/telegram.png" // "TelegramDesktop": "$HOME/.local/share/icons/hicolor/16x16/apps/telegram.png"
//} //}
}, },
"clock": { "clock": {
"timezone": "America/Chicago", "timezone": "America/Chicago",
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>", "tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
"format-alt": "{:%Y-%m-%d}", "format-alt": "{:%A %m-%d}",
"format": "{:%I:%M:%S %p %A %b %d}", "format": "{:%I:%M:%S %p %A %b %d}",
"interval": 1 "interval": 1
}, },
@@ -158,7 +158,7 @@
"network": { "network": {
// "interface": "wlp2*", // (Optional) To force the use of this interface // "interface": "wlp2*", // (Optional) To force the use of this interface
"format-wifi": "{essid} ", "format-wifi": "{essid} ",
"format-ethernet": "{ipaddr}/{cidr} ", "format-ethernet": "{ipaddr}/{cidr} ",
"tooltip-format": "{ifname} via {gwaddr}  ({signalStrength}%)", "tooltip-format": "{ifname} via {gwaddr}  ({signalStrength}%)",
"format-linked": "{ifname} (No IP) ", "format-linked": "{ifname} (No IP) ",
"format-disconnected": "Disconnected ⚠", "format-disconnected": "Disconnected ⚠",

View File

@@ -42,7 +42,8 @@
#pulseaudio, #pulseaudio,
#network, #network,
#custom-lock, #custom-lock,
#custom-power { #custom-power,
#idle_inhibitor {
background-color: @surface0; background-color: @surface0;
padding: 0 .4rem; padding: 0 .4rem;
margin: 0; margin: 0;
@@ -101,7 +102,3 @@
color: @red; color: @red;
} }
#tray {
margin-right: 1rem;
border-radius: 1rem;
}