summaryrefslogtreecommitdiff
path: root/volume-widget
diff options
context:
space:
mode:
authorstreetturtle <streetturtle@users.noreply.github.com>2021-12-30 20:49:00 -0500
committerGitHub <noreply@github.com>2021-12-30 20:49:00 -0500
commitac49ade9951b591e859a470803e166acfa2b7bf2 (patch)
tree47c10c2e6031fcbb458dd7df01ddebea45d016cb /volume-widget
parent01a4f428e0361f4222e8d2f14607fb03bbd6d94e (diff)
parent0aea953a6c96d20282d2495d4f410e0e5eb4c2fb (diff)
Merge pull request #323 from lygamac/test
volume-widget: fix `INC_VOLUME_CMD` and `DEC_VOLUME_CMD`
Diffstat (limited to 'volume-widget')
-rw-r--r--volume-widget/volume.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/volume-widget/volume.lua b/volume-widget/volume.lua
index 1b7b81c..4c44042 100644
--- a/volume-widget/volume.lua
+++ b/volume-widget/volume.lua
@@ -18,8 +18,8 @@ local utils = require("awesome-wm-widgets.volume-widget.utils")
local LIST_DEVICES_CMD = [[sh -c "pacmd list-sinks; pacmd list-sources"]]
local function GET_VOLUME_CMD(device) return 'amixer -D ' .. device .. ' sget Master' end
-local function INC_VOLUME_CMD(device, step) return 'amixer -D ' .. device .. ' pulse sset Master ' .. step .. '%+' end
-local function DEC_VOLUME_CMD(device, step) return 'amixer -D ' .. device .. ' pulse sset Master ' .. step .. '%-' end
+local function INC_VOLUME_CMD(device, step) return 'amixer -D ' .. device .. ' sset Master ' .. step .. '%+' end
+local function DEC_VOLUME_CMD(device, step) return 'amixer -D ' .. device .. ' sset Master ' .. step .. '%-' end
local function TOG_VOLUME_CMD(device) return 'amixer -D ' .. device .. ' sset Master toggle' end