summaryrefslogtreecommitdiff
path: root/waybar
diff options
context:
space:
mode:
Diffstat (limited to 'waybar')
-rw-r--r--waybar/.config/waybar/config.jsonc20
-rw-r--r--waybar/.config/waybar/style.css1
2 files changed, 15 insertions, 6 deletions
diff --git a/waybar/.config/waybar/config.jsonc b/waybar/.config/waybar/config.jsonc
index bba0757..892da84 100644
--- a/waybar/.config/waybar/config.jsonc
+++ b/waybar/.config/waybar/config.jsonc
@@ -77,8 +77,8 @@
"pulseaudio": {
"justify": "center",
"format": "vol {volume}%",
- "on-click": "pavucontrol",
- "on-click-right": "pamixer -t",
+ "on-click": "foot wiremix",
+ "on-click-right": "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle",
"tooltip-format": "Playing at {volume}%",
"scroll-step": 5,
"format-muted": "vol <span style='italic' weight='900' color='#df6124'>muted</span>",
@@ -98,8 +98,16 @@
"exec": "playerctl metadata --format '{{ artist }} - {{ title }}' 2>/dev/null || echo \"\"",
"on-click": "playerctl play-pause"
},
- "tray": {
- "icon-size": 14,
- "spacing": 3
- }
+"tray": {
+ "icon-size": 14,
+ "spacing": 3
+ },
+ "custom/analyze-theme": {
+ "exec": "node /home/seraphim/dotfiles-gentoo/waybar/.config/waybar/custom/analyze-theme.js",
+ "interval": 5,
+ "tooltip": true,
+ "format": "{}",
+ "return-type": "json",
+ "on-click": "sh -c 'wal -i $(find ~/Pictures/wallpapers -type f | shuf -n 1) 2>/dev/null || wal -r'"
+ }
}
diff --git a/waybar/.config/waybar/style.css b/waybar/.config/waybar/style.css
index 196a1f7..2c4e35d 100644
--- a/waybar/.config/waybar/style.css
+++ b/waybar/.config/waybar/style.css
@@ -91,6 +91,7 @@ window#waybar {
padding: 0 4px;
margin: 1px 3px 1px 3px;
opacity: 1;
+ color: @foreground;
}
#tray {