summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSaumit Dinesan <justsaumit@protonmail.com>2023-11-26 12:09:45 +0530
committerSaumit Dinesan <justsaumit@protonmail.com>2023-11-26 12:09:45 +0530
commit94038aaea3bedfbb1955a2539ea7e9eba041a7a5 (patch)
treef1382a60114addad2f09cefaea924ea7c7596020
parent306915323a573df53e7402f743200c1112adbf50 (diff)
waybar: config.jsonc adding pamixer scroll control to playerctl module
-rw-r--r--.config/waybar/config.jsonc13
1 files changed, 7 insertions, 6 deletions
diff --git a/.config/waybar/config.jsonc b/.config/waybar/config.jsonc
index 0c42d02..58110bd 100644
--- a/.config/waybar/config.jsonc
+++ b/.config/waybar/config.jsonc
@@ -80,6 +80,8 @@
"on-click-middle": "playerctl -p spotify play-pause",
"on-click": "playerctl -p spotify previous",
"on-click-right": "playerctl -p spotify next",
+ "on-scroll-up": "pamixer -i 1",
+ "on-scroll-down": "pamixer -d 1",
"format-icons": {
"Playing": "<span foreground='#a6adc8'>󰒮 󰏥 󰒭</span>",
"Paused": "<span foreground='#a6adc8'>󰒮 󰐌 󰒭</span>"
@@ -93,19 +95,18 @@
"on-click-middle": "playerctl -p spotify play-pause",
"on-click": "playerctl -p spotify previous",
"on-click-right": "playerctl -p spotify next",
- "format-icons": {
- "Playing": "<span foreground='#313244'>󰒮 󰐌 󰒭</span>",
- "Paused": "<span foreground='#313244'>󰒮 󰏥 󰒭</span>"
- }
+ "on-scroll-up": "pamixer -i 1",
+ "on-scroll-down": "pamixer -d 1",
},
"cpu": {
- "interval": 1,
+ "interval": 5,
"format": "󰍛 {usage}% ",
"tooltip": false,
"on-click": "foot --term -e htop"
},
"temperature": {
- "thermal-zone": 1,
+ "interval": 5,
+ "thermal-zone": 2,
"critical-threshold": 80,
"format": "{icon}{temperatureC}°C",
"format-alt": "{temperatureF}°F {icon}",