summaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
Diffstat (limited to '.config')
-rw-r--r--.config/waybar/config.jsonc28
1 files changed, 15 insertions, 13 deletions
diff --git a/.config/waybar/config.jsonc b/.config/waybar/config.jsonc
index fd0c172..98881f3 100644
--- a/.config/waybar/config.jsonc
+++ b/.config/waybar/config.jsonc
@@ -8,18 +8,18 @@
"height": 0,
"modules-left": [
"clock",
- "custom/weather",
- "wlr/workspaces"
+ "custom/weather"
+ // "hyprland/window",
],
- "modules-center": ["hyprland/window"],
+ "modules-center": ["wlr/workspaces"],
"modules-right": [
"tray",
"custom/updates",
"custom/language",
"battery",
"backlight",
- "pulseaudio",
- "pulseaudio#microphone"
+ "custom/volume"
+ // "pulseaudio#microphone"
],
"hyprland/window": {
@@ -101,13 +101,15 @@
"default": ["", "", ""]
}
},
- "pulseaudio#microphone": {
- "format": "{format_source}",
- "format-source": " {volume}%",
- "format-source-muted": " Muted",
- "on-click": "pamixer --default-source -t",
- "on-scroll-up": "pamixer --default-source -i 5",
- "on-scroll-down": "pamixer --default-source -d 5",
- "scroll-step": 5
+ "custom/volume": {
+ "exec": "~/.config/waybar/scripts/sound.sh",
+ "interval": 1,
+ "format": " {}",
+ "tooltip": true
}
+ // "custom/pipewire": {
+ // "format": {},
+ // "exec": "awk -F"[][]" '/Left:/ { print $2 }' <(amixer sget Master)",
+ // "interval": 10
+ // },
}