diff options
author | mhsn <mail@mhsn.net> | 2025-07-02 22:13:41 +0100 |
---|---|---|
committer | mhsn <mail@mhsn.net> | 2025-07-02 22:13:41 +0100 |
commit | 6a1da158a4f9504af3210723892e83b08669f082 (patch) | |
tree | 1135bfb4350e6d31d1a9bd1bbff6cd5e30de8e1e /x11-wm/dwm/files/53_volume-keys.diff | |
parent | 0f6d5666aeb70283e50e132853cffb9ac82de683 (diff) | |
download | adelie-6a1da158a4f9504af3210723892e83b08669f082.tar.gz adelie-6a1da158a4f9504af3210723892e83b08669f082.zip |
fix some dwm keys
Diffstat (limited to 'x11-wm/dwm/files/53_volume-keys.diff')
-rw-r--r-- | x11-wm/dwm/files/53_volume-keys.diff | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/x11-wm/dwm/files/53_volume-keys.diff b/x11-wm/dwm/files/53_volume-keys.diff index f1f67c7..9503cd4 100644 --- a/x11-wm/dwm/files/53_volume-keys.diff +++ b/x11-wm/dwm/files/53_volume-keys.diff @@ -14,9 +14,9 @@ index f1dfd43..e44a912 100644 static const char *browsercmd[] = { "librewolf", NULL }; static const char *mailcmd[] = { "claws-mail", NULL }; -+static const char *vol_up[] = { "pactl", "set-sink-volume", "@DEFAULT_SINK@", "+5%", NULL }; -+static const char *vol_down[] = { "pactl", "set-sink-volume", "@DEFAULT_SINK@", "-5%", NULL }; -+static const char *vol_mute[] = { "pactl", "set-sink-mute", "@DEFAULT_SINK@", "toggle", NULL }; ++static const char *vol_up[] = { "wpctl", "set-volume", "@DEFAULT_SINK@", "5%+", NULL }; ++static const char *vol_down[] = { "wpctl", "set-volume", "@DEFAULT_SINK@", "5%-", NULL }; ++static const char *vol_mute[] = { "wpctl", "set-mute", "@DEFAULT_SINK@", "toggle", NULL }; + static const Key keys[] = { /* modifier key function argument */ |