♻️ refactor(waybar): use swayosd instead of pactl, use rofi without the theme flag and change some spaces for notifications icons

This commit is contained in:
Sergio Laín 2023-12-21 01:53:46 +01:00
parent 089cc7a730
commit a6ccb36457
No known key found for this signature in database
GPG key ID: 14C9B8080681777B
2 changed files with 37 additions and 30 deletions

View file

@ -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": {
@ -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,7 +236,7 @@
"custom/arch": {
"format": "  ",
"tooltip": false,
"on-click": "wleave",
"on-click": "rofi -show drun",
"on-click-right": "wleave"
},
"custom/notifications": {
@ -361,7 +363,7 @@
"custom/arch": {
"format": "  ",
"tooltip": false,
"on-click": "wleave",
"on-click": "rofi -show drun",
"on-click-right": "wleave"
},
"custom/notifications": {

View file

@ -263,6 +263,11 @@ window#waybar.hidden {
color: #1e222a;
}
#pulseaudio.source-muted {
background-color: #f5a97f;
color: #1e222a;
}
#backlight {
color: #61afef;
}