diff --git a/dotfiles/.config/waybar/config b/dotfiles/.config/waybar/config index 31db074..c4de733 100644 --- a/dotfiles/.config/waybar/config +++ b/dotfiles/.config/waybar/config @@ -1,15 +1,15 @@ { "modules-left": ["custom/notification", "battery", "clock#date", "clock","custom/updater", "custom/launcher"], "modules-center": ["hyprland/workspaces"], - "modules-right": ["network", "bluetooth", "pulseaudio", "custom/power"], + "modules-right": ["network", "bluetooth", "wireplumber", "wireplumber#microphone", "custom/power"], "sway/mode": { "format": "{}" }, "network": { - "format-wifi": "{icon} {essid} ({signalStrength}%)", - "format-ethernet": "Ethernet", - "format-disconnected": "󰅛 Not Connected", + "format-wifi": "{icon} {essid}({signalStrength}%)", + "format-ethernet": "{icon} Ethernet", + "format-disconnected": "󰅛 Not Connected", "tooltip-format": "{ipaddr} via {gwaddr}", "tooltip-format-disconnected": "Disconnected", "max-length": 50, @@ -17,7 +17,7 @@ "on-click-right": "kitty -e nmtui", "format-icons": { "wifi": ["󰤯", "󰤟", "󰤢", "󰤥", "󰤨"], - "ethernet": "", + "ethernet": "󰈀", "disconnected": "󰅛" } }, @@ -33,10 +33,10 @@ "spacing": 10 }, "clock": { - "format": " {:%H:%M}" + "format": " {:%H:%M}" }, "clock#date": { - "format": " {:%A, %B %d, %Y}", + "format": " {:%A, %B %d, %Y}", "tooltip-format": "{calendar}", "calendar": { "mode" : "year", @@ -55,27 +55,30 @@ "on-click-right": "mode" } }, - "pulseaudio": { - "format": "{icon} {volume}% {format_source}", - "format-muted": " {format_source}", - "format-bluetooth": "{icon} {volume}% {format_source}", - "format-bluetooth-muted": " {format_source}", - "format-source": " {volume}%", - "format-source-muted": " {volume}%", - "format-icons": { - "default": [ - "", - "", - ""] - }, - "on-click": "pavucontrol" + "wireplumber": { + "format": "{icon}{volume}%", + "format-muted": "", + "format-bluetooth": "{icon}{volume}%", + "format-bluetooth-muted": "", + "format-icons": [ + " ", + " ", + " " + ], + "on-click": "pwvucontrol" + }, + "wireplumber#microphone": { + "node-type": "Audio/Source", + "format": " {volume}%", + "format-muted": " {volume}%", + "on-click": "pwvucontrol" }, "bluetooth": { - "format-on": " On", + "format-on": " On", "format-off": "󰂲 Off", "format-disabled": "󰂲 Off", - "format-connected": "󰂱 {device_alias}", - "format-connected-battery": "󰂱 {device_alias} 󰥈 {device_battery_percentage}%", + "format-connected": "󰂱 {device_alias}", + "format-connected-battery": "󰂱 {device_alias} 󰥈 {device_battery_percentage}%", "tooltip-format": "{controller_alias}\t{controller_address}\n\n{num_connections} connected", "tooltip-format-connected": "{controller_alias}\t{controller_address}\n\n{num_connections} connected\n\n{device_enumerate}", "tooltip-format-enumerate-connected": "{device_alias}\t{device_address}", @@ -97,7 +100,7 @@ "on-click-right": "swaymsg 'move scratchpad'" }, "custom/launcher": { - "format":" ", + "format":" ", "tooltip-format": "Click To Launch Bitwarden", "on-click": "exec bitwarden-desktop" }, @@ -106,11 +109,11 @@ "warning": 30, "critical": 15 }, - "format": "{icon} {capacity}%", - "format-charging": "{icon} {capacity}%", - "format-plugged": "{icon} {capacity}%", - "format-alt": "{time} {icon}", - "format-full": "󰁹 {capacity}%", + "format": "{icon} {capacity}%", + "format-charging": "{icon} {capacity}%", + "format-plugged": "{icon} {capacity}%", + "format-alt": "{time} {icon}", + "format-full": "󰁹 {capacity}%", "format-icons": { "default": ["󰁺", "󰁻", "󰁼", "󰁽", "󰁾", "󰁿", "󰂀", "󰂁", "󰂂"], "charging": ["󰢜", "󰂆", "󰂇", "󰂈", "󰢝", "󰂉", "󰢞", "󰂊", "󰂋"], @@ -137,13 +140,13 @@ "sort-by-number": true }, "custom/updater": { - "format": "󰏖 {}", + "format": "󰏖 {}", "exec": "checkupdates | wc -l", "exec-if": "[[ $(checkupdates | wc -l) ]]", "interval": 1300, "on-click": "$HOME/.config/waybar/scripts/update-distro.sh", "tooltip": true, - "tooltip-format": "Left Click: Update System\nArch (w/ notification)\nFedora, OpenSuse, Debian/Ubuntu click to update" + "tooltip-format": "Left Click: Update System\nRight Click: Update Package Count\nArch (w/ notification)" }, "custom/notification": { diff --git a/dotfiles/.config/waybar/style.css b/dotfiles/.config/waybar/style.css index 9b9e025..d752665 100644 --- a/dotfiles/.config/waybar/style.css +++ b/dotfiles/.config/waybar/style.css @@ -3,7 +3,8 @@ font-family: Font Awesome, Roboto, - "NotoSansMono Nerd Font", + "NotoSansM Nerd Font", + "NotoSansMono Nerd Font", "Font Awesome 6 Free", Arial, sans-serif; @@ -18,10 +19,11 @@ window#waybar { /*-----module groups----*/ .modules-right { margin: 2px 10px 0 0; + padding-top: 1px; } #custom-notification { - font-family: "NotoSansMono Nerd Font"; + font-family: "NotoSansM Nerd Font", "NotoSansMono Nerd Font"; font-size: 13px; background-color: rgba(0, 43, 51, 0.85); border-radius: 20px; @@ -39,6 +41,7 @@ window#waybar { .modules-left { margin: 2px 0 0 5px; + padding-top: 1px; } /*-----modules indv----*/ #workspaces button { @@ -70,7 +73,8 @@ window#waybar { border-radius: 20px; margin: 5px 3px; } -#pulseaudio { +#wireplumber, +#wireplumber-microphone { padding: 5px 10px 5px 15px; background-color: rgba(0, 43, 51, 0.85); border-radius: 20px; @@ -120,7 +124,8 @@ window#waybar { #idle_inhibitor.activated { color: #2dcc36; } -#pulseaudio.muted { +#wireplumber.muted, +#wireplumber-microphone.muted { color: #cc3436; } #battery.charging {