summaryrefslogtreecommitdiff
path: root/.config/waybar
diff options
context:
space:
mode:
authorDaniel Weipert <code@drogueronin.de>2021-11-14 14:57:18 +0100
committerDaniel Weipert <code@drogueronin.de>2021-11-14 14:57:18 +0100
commitb349d7d1264004796ec6f895755d1334cef4fe6e (patch)
treef8e74477c4523a7a65cccb4bd9f223bae3370a59 /.config/waybar
parent9853c1211438d076381595bda55271592c71682f (diff)
Adds Telescope and replaces pipewire with alsa
Diffstat (limited to '.config/waybar')
-rw-r--r--.config/waybar/config10
1 files changed, 9 insertions, 1 deletions
diff --git a/.config/waybar/config b/.config/waybar/config
index 56b1359..0231590 100644
--- a/.config/waybar/config
+++ b/.config/waybar/config
@@ -2,7 +2,7 @@
"layer": "top",
"modules-left": ["sway/workspaces", "sway/mode"],
"modules-center": ["sway/window"],
- "modules-right": ["tray", "pulseaudio", "network", "clock"],
+ "modules-right": ["tray", "custom/alsa", "network", "clock"],
"sway/window": {
"max-length": 100
},
@@ -12,6 +12,14 @@
"pulseaudio": {
"format": "V {volume}%",
},
+ "custom/alsa": {
+ "exec": "amixer get Master | grep '%' | awk -F '[][]' '{print $2}'",
+ //"exec-if": "alsactl monitor",
+ "format": "V {}",
+ "on-scroll-up": "amixer set Master 1%+",
+ "on-scroll-down": "amixer set Master 1%-",
+ "interval": 1
+ },
"network": {
"format": "{ipaddr}",
"format-disconnected": "Offline",