change volume step

This commit is contained in:
nnduc
2025-08-20 10:39:44 +07:00
parent 1521e5ddf2
commit 7303d805ef
2 changed files with 5 additions and 5 deletions

View File

@ -51,8 +51,8 @@ exec --no-startup-id gentoo-pipewire-launcher restart &
set $refresh_i3status killall -SIGUSR1 i3status
# Software volume should not be lower than 80% unless you want to lose dynamic range.
set $lower-volume wpctl set-volume @DEFAULT_SINK@ 0.02- && $refresh_i3status
set $raise-volume wpctl set-volume @DEFAULT_SINK@ 0.02+ --limit 1 && $refresh_i3status
set $lower-volume wpctl set-volume @DEFAULT_SINK@ 0.01- && $refresh_i3status
set $raise-volume wpctl set-volume @DEFAULT_SINK@ 0.01+ --limit 1 && $refresh_i3status
set $mute-sink wpctl set-mute @DEFAULT_SINK@ toggle && $refresh_i3status
set $mute-source wpctl set-mute @DEFAULT_SOURCE@ toggle && $refresh_i3status

View File

@ -24,7 +24,7 @@ set $menu rofi -show drun
### Output configuration
#
# Default wallpaper (more resolutions are available in /usr/share/backgrounds/sway/)
set $bg /data/sync/images/wallpapers/0002.png
set $bg /data/sync/images/wallpapers/0.01.png
set $screenlock 'swaylock -i $bg'
set $images $(xdg-user-dir PICTURES)/$(date +'%s_grim.png')
#
@ -87,8 +87,8 @@ exec --no-startup-id xset m 1/1 0
exec --no-startup-id /usr/lib/pam_kwallet_init
set $lower-volume wpctl set-volume @DEFAULT_SINK@ 0.02-
set $raise-volume wpctl set-volume @DEFAULT_SINK@ 0.02+ --limit 1
set $lower-volume wpctl set-volume @DEFAULT_SINK@ 0.01-
set $raise-volume wpctl set-volume @DEFAULT_SINK@ 0.01+ --limit 1
set $mute-sink wpctl set-mute @DEFAULT_SINK@ toggle
set $mute-source wpctl set-mute @DEFAULT_SOURCE@ toggle