Browse Source

Add volup and voldown scripts

master
Tovi Jaeschke-Rogers 4 years ago
parent
commit
f8e02664c6
2 changed files with 14 additions and 0 deletions
  1. +7
    -0
      .local/bin/voldown
  2. +7
    -0
      .local/bin/volup

+ 7
- 0
.local/bin/voldown View File

@ -0,0 +1,7 @@
#!/bin/bash
pactl -- set-sink-volume 0 -5%
VOL=$(awk -F"[][]" '/Left:/ { print $2 }' <(amixer sget Master))
notify-send -t 1000 "Volume: ${VOL}"

+ 7
- 0
.local/bin/volup View File

@ -0,0 +1,7 @@
#!/bin/bash
pactl -- set-sink-volume 0 +5%
VOL=$(awk -F"[][]" '/Left:/ { print $2 }' <(amixer sget Master))
notify-send -t 1000 "Volume: ${VOL}"

Loading…
Cancel
Save