Morten Nilsen wrote:
enlightenment_remote -binding-key-del ANY ? CTRL\|ALT 0 exec "chvol +"

in case anyone were curious, here is the chvol script I made :) works nicely (bound to ctrl-alt-p/ctrl-alt-shift-p at the moment)

--
Cheers,
Morten
:wq
#!/bin/bash

mixerdev=PCM

case $1 in
  +) action=3;;
  -) action=-3;;
  *) echo "Usage: $0 [+/-]"; exit 1;;
esac

(( vol=`amixer sget $mixerdev | awk '/Left:/{gsub(/[[\]%]/,"",$5);print 
$5}'`+$action ))

amixer -q sset $mixerdev ${vol}%

_______________________________________________
enlightenment-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-users

Reply via email to