fix: set-vol steps

This commit is contained in:
AngeD 2022-10-03 20:04:55 +02:00
parent 41a49ceefd
commit de2ccb4e07
6 changed files with 9 additions and 13 deletions

View File

@ -294,14 +294,14 @@ globalkeys = gears.table.join(
awful.key(
{}, "XF86AudioRaiseVolume",
function()
awful.spawn("set-vol +2")
awful.spawn("set-vol +5")
end,
{description = "raise volume", group = "shortcut"}
),
awful.key(
{}, "XF86AudioLowerVolume",
function()
awful.spawn("set-vol -2")
awful.spawn("set-vol -5")
end,
{description = "lower volume", group = "shortcut"}
),

@ -1 +1 @@
Subproject commit 141291a1d86d43158da89d0254b7c2cc79609679
Subproject commit 1a20c4d4874f912822f6a42cb61816330a4f6508

@ -1 +1 @@
Subproject commit ad35a8cfa5086451e33af477a02bffa916dbe0ce
Subproject commit fc2f44dc6024bddb75b82e471c642ad1f4483094

@ -1 +1 @@
Subproject commit 9bfaf62e42bdcd042df1230e9188487e62a112c0
Subproject commit 7ccb9a056fa43da243e3a439109c354c551c51b6

View File

@ -13,10 +13,6 @@ set $wallpapers $HOME/.config/wallpapers
set $lock swaylock -F -f -i $wallpapers/lock.png
set $screenshot grim - | wl-copy
set $screenshot_rect grim -g "$(slurp)" - | wl-copy
set $raise_volume set-vol +2
set $lower_volume set-vol -2
set $raise_backlight set-light +10
set $lower_backlight set-light -10
set $ws1 1:TTY
set $ws2 2:WEB

View File

@ -8,8 +8,8 @@
bindsym Shift+Print exec $screenshot_rect
# Hotkeys
bindsym XF86AudioRaiseVolume exec $raise_volume
bindsym XF86AudioLowerVolume exec $lower_volume
bindsym XF86AudioRaiseVolume exec set-vol +5
bindsym XF86AudioLowerVolume exec set-vol -5
bindsym XF86AudioMute exec pactl set-sink-mute @DEFAULT_SINK@ toggle
bindsym Ctrl+XF86AudioMute exec pactl set-source-mute @DEFAULT_SOURCE@ toggle
bindsym XF86AudioPlay exec playerctl play-pause
@ -19,8 +19,8 @@
bindsym Ctrl+Prior exec playerctl previous
bindsym Ctrl+Next exec playerctl next
bindsym Ctrl+F4 input type:touchpad events toggle
bindsym XF86MonBrightnessDown exec $lower_backlight
bindsym XF86MonBrightnessUp exec $raise_backlight
bindsym XF86MonBrightnessUp exec set-light +10
bindsym XF86MonBrightnessDown exec set-light -10
# Kill focused window
bindsym $mod+Shift+c kill