Added media control keys
This commit is contained in:
parent
a018d06955
commit
ff4ad34194
11
dwl_act
11
dwl_act
@ -14,14 +14,19 @@ case $act in
|
|||||||
vol_mute) wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle;;
|
vol_mute) wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle;;
|
||||||
vol_lower) wpctl set-volume --limit 1.0 @DEFAULT_AUDIO_SINK@ 10%-;;
|
vol_lower) wpctl set-volume --limit 1.0 @DEFAULT_AUDIO_SINK@ 10%-;;
|
||||||
vol_raise) wpctl set-volume --limit 1.0 @DEFAULT_AUDIO_SINK@ 10%+;;
|
vol_raise) wpctl set-volume --limit 1.0 @DEFAULT_AUDIO_SINK@ 10%+;;
|
||||||
# mic_mute) ;;
|
mic_mute) rofi -show sound -modes "sound:~/bin/rofi_sound.pl";;
|
||||||
# bright_low) ;;
|
bright_low) echo 20 >> /sys/class/backlight/intel_backlight/brightness;;
|
||||||
# bright_high) ;;
|
bright_high) echo 200 >> /sys/class/backlight/intel_backlight/brightness;;
|
||||||
|
media_toggle) mpc toggle;; # XF86AudioPlay
|
||||||
|
media_stop) mpc stop;; # XF86AudioStop
|
||||||
|
media_prev) mpc prev;; # XF86AudioPrev
|
||||||
|
media_next) mpc next;; # XF86AudioNext
|
||||||
# disp) ;;
|
# disp) ;;
|
||||||
# wlan) ;;
|
# wlan) ;;
|
||||||
# tools) ;;
|
# tools) ;;
|
||||||
# search) ;;
|
# search) ;;
|
||||||
launch) wldash;;
|
launch) wldash;;
|
||||||
# explore) ;;
|
# explore) ;;
|
||||||
|
# print) grim -g "$(slurp)" -t png "$(date +/tmp/grim_%d%b%Y_%H_%M_%S.png)" ;;
|
||||||
*) echo "Unknown action '$act'";;
|
*) echo "Unknown action '$act'";;
|
||||||
esac
|
esac
|
||||||
|
Loading…
Reference in New Issue
Block a user