From 94038aaea3bedfbb1955a2539ea7e9eba041a7a5 Mon Sep 17 00:00:00 2001 From: Saumit Dinesan Date: Sun, 26 Nov 2023 12:09:45 +0530 Subject: waybar: config.jsonc adding pamixer scroll control to playerctl module --- .config/waybar/config.jsonc | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to '.config/waybar/config.jsonc') 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": "󰒮 󰏥 󰒭", "Paused": "󰒮 󰐌 󰒭" @@ -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": "󰒮 󰐌 󰒭", - "Paused": "󰒮 󰏥 󰒭" - } + "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}", -- cgit v1.2.3