diff --git a/.config/waybar/config.jsonc b/.config/waybar/config.jsonc index 4c5ffa2d..d33f4948 100644 --- a/.config/waybar/config.jsonc +++ b/.config/waybar/config.jsonc @@ -49,7 +49,7 @@ "custom/arch": { "format": "  ", "tooltip": false, - "on-click": "rofi -show drun -theme ~/.config/rofi/style.rasi", + "on-click": "rofi -show drun", "on-click-right": "wleave" }, "custom/weather": { @@ -64,14 +64,14 @@ "tooltip": false, "format": "{} {icon}", "format-icons": { - "notification": "", - "none": "", - "dnd-notification": "", - "dnd-none": "", - "inhibited-notification": "", - "inhibited-none": "", - "dnd-inhibited-notification": "", - "dnd-inhibited-none": "" + "notification": " ", + "none": " ", + "dnd-notification": " ", + "dnd-none": " ", + "inhibited-notification": " ", + "inhibited-none": " ", + "dnd-inhibited-notification": " ", + "dnd-inhibited-none": " " }, "return-type": "json", "exec-if": "which swaync-client", @@ -174,9 +174,11 @@ "default": [" ", " ", " "] }, "tooltip-format": "{desc}, {volume}%", - "on-click": "pactl set-sink-mute @DEFAULT_SINK@ toggle", - "on-click-right": "pactl set-source-mute @DEFAULT_SOURCE@ toggle", - "on-click-middle": "easyeffects" + "on-click": "swayosd-client --output-volume mute-toggle", + "on-click-right": "swayosd-client --input-volume mute-toggle", + "on-click-middle": "easyeffects", + "on-scroll-up": "swayosd-client --output-volume +1", + "on-scroll-down": "swayosd-client --output-volume -1" }, "cava": { "autosens": 1, @@ -234,21 +236,21 @@ "custom/arch": { "format": "  ", "tooltip": false, - "on-click": "wleave", + "on-click": "rofi -show drun", "on-click-right": "wleave" }, "custom/notifications": { "tooltip": false, "format": "{} {icon}", "format-icons": { - "notification": "", - "none": "", - "dnd-notification": "", - "dnd-none": "", - "inhibited-notification": "", - "inhibited-none": "", - "dnd-inhibited-notification": "", - "dnd-inhibited-none": "" + "notification": " ", + "none": " ", + "dnd-notification": " ", + "dnd-none": " ", + "inhibited-notification": " ", + "inhibited-none": " ", + "dnd-inhibited-notification": " ", + "dnd-inhibited-none": " " }, "return-type": "json", "exec-if": "which swaync-client", @@ -361,21 +363,21 @@ "custom/arch": { "format": "  ", "tooltip": false, - "on-click": "wleave", + "on-click": "rofi -show drun", "on-click-right": "wleave" }, "custom/notifications": { "tooltip": false, "format": "{} {icon}", "format-icons": { - "notification": "", - "none": "", - "dnd-notification": "", - "dnd-none": "", - "inhibited-notification": "", - "inhibited-none": "", - "dnd-inhibited-notification": "", - "dnd-inhibited-none": "" + "notification": " ", + "none": " ", + "dnd-notification": " ", + "dnd-none": " ", + "inhibited-notification": " ", + "inhibited-none": " ", + "dnd-inhibited-notification": " ", + "dnd-inhibited-none": " " }, "return-type": "json", "exec-if": "which swaync-client", diff --git a/.config/waybar/style.css b/.config/waybar/style.css index 87a4056f..3b35dd7b 100644 --- a/.config/waybar/style.css +++ b/.config/waybar/style.css @@ -263,6 +263,11 @@ window#waybar.hidden { color: #1e222a; } +#pulseaudio.source-muted { + background-color: #f5a97f; + color: #1e222a; +} + #backlight { color: #61afef; }