Compare commits

...

2 commits

2 changed files with 37 additions and 15 deletions

View file

@ -6,7 +6,7 @@
"modules-left": ["sway/workspaces", "sway/mode"], "modules-left": ["sway/workspaces", "sway/mode"],
"modules-center": ["sway/window"], "modules-center": ["sway/window"],
//"modules-right": ["tray", "custom/spotify", "custom/weather", "custom/mail", "custom/storage", "backlight", "pulseaudio", "network", "idle_inhibitor", "battery", "clock"], //"modules-right": ["tray", "custom/spotify", "custom/weather", "custom/mail", "custom/storage", "backlight", "pulseaudio", "network", "idle_inhibitor", "battery", "clock"],
"modules-right": ["pulseaudio", "backlight", "idle_inhibitor", "battery", "clock", "tray"], "modules-right": ["pulseaudio", "backlight", "idle_inhibitor", "network", "battery", "clock", "tray"],
"sway/mode": { "sway/mode": {
"format": " {}" "format": " {}"
}, },
@ -24,30 +24,46 @@
"tooltip": false "tooltip": false
}, },
"battery": { "battery": {
"format": "{icon} {capacity}%", "format": "{icon} {capacity}%",
"format-alt": "{icon} {timeTo}", //"format-alt": "{icon} {timeTo}",
"format-icons": ["", "", "", "", ""], "format-icons": ["", "", "", "", ""],
"format-charging": " {capacity}%", //"format-icons": ["", "", "", "", "", "", "", "", "", "", ""],
"format-charging-alt": " {timeTo}%",
"format-charging": " {capacity}%",
"format-full": " {capacity}%",
"interval": 10, "interval": 10,
"states": { "states": {
"warning": 25, "warning": 25,
"critical": 10 "critical": 10
}, },
//"format-discharging-critical": " {capacity}%",
"tooltip": true, "tooltip": true,
"tooltip-format": "{capacity} {timeTo}" "tooltip-format": "Capacity: {capacity}%\n{timeTo}",
}, },
"network": { "network": {
"format": "{icon}", "format": "{icon}",
"format-alt": "{ipaddr}/{cidr} {icon}",
"format-alt": "{icon} {signalStrength}%",
"format-alt-click": "click-right", "format-alt-click": "click-right",
"format-icons": { "format-icons": {
"wifi": ["", "" ,""], "wifi": [""],
"ethernet": [""], "ethernet": [""],
"disconnected": [""] "disconnected": [""]
}, },
"on-click": "termite -e nmtui",
"tooltip": false "interval": 10,
"on-click": "alacritty -e nmtui",
"tooltip": true,
"tooltip-format": "Connected via {ifname}\nIP: {ipaddr}/{cidr}\nBandwidth: {bandwidthDownBits} | {bandwidthUpBits}",
"tooltip-format-wifi": "Connected to {essid} on {ifname}\nSignal Strength: {signalStrength}% ({signaldBm}dBm)\nIP: {ipaddr}/{cidr}\nBandwidth: {bandwidthDownBits} | {bandwidthUpBits}",
}, },
"pulseaudio": { "pulseaudio": {
"format": "{icon} {volume}%", "format": "{icon} {volume}%",
@ -55,10 +71,10 @@
"format-alt-click": "click-right", "format-alt-click": "click-right",
"format-muted": "ﱝ", "format-muted": "ﱝ",
"format-icons": { "format-icons": {
"phone": [" ", " ", " ", " "], //"phone": [" ", " ", " ", " "],
"default": ["奄", "奔", "墳"] "default": ["奄", "奔", "墳"]
}, },
"scroll-step": 10, "scroll-step": 5,
"on-click": "pavucontrol-qt", "on-click": "pavucontrol-qt",
"tooltip": false "tooltip": false
}, },
@ -81,7 +97,7 @@
"format": "{icon}", "format": "{icon}",
"format-alt": "{percent}% {icon}", "format-alt": "{percent}% {icon}",
"format-alt-click": "click-right", "format-alt-click": "click-right",
"format-icons": ["", ""], "format-icons": ["", "", ""],
"on-scroll-down": "light -U 1", "on-scroll-down": "light -U 1",
"on-scroll-up": "light -A 1" "on-scroll-up": "light -A 1"
}, },

View file

@ -51,6 +51,10 @@ window#waybar.solo {
min-width: 100px; min-width: 100px;
} }
#battery.full {
color: rgba(36, 238, 46, 1);
}
#battery.warning { #battery.warning {
color: rgba(255, 210, 4, 1); color: rgba(255, 210, 4, 1);
} }
@ -59,9 +63,11 @@ window#waybar.solo {
color: rgba(238, 46, 36, 1); color: rgba(238, 46, 36, 1);
} }
/*
#battery.charging { #battery.charging {
color: rgba(217, 216, 216, 1); color: rgba(217, 216, 216, 1);
} }
*/
#custom-storage.warning { #custom-storage.warning {
color: rgba(255, 210, 4, 1); color: rgba(255, 210, 4, 1);