You are not logged in.
Hi,
I just bound some custom key in order to control my volume.
I used the following code in my .zshrc:
lower-volume_widget() {
amixer -q set Master 1- unmute > /dev/null 2>&1
}
zle -N lower-volume_widget
bindkey "^[[30" lower-volume_widget
Although it works: the sound indeed gets lowered, a tilde "~" is output at every keypress in addition to the action specified by the function.
Does anyone have any idea how I could prevent any output from this keypress?
EDIT: Disregard this, I was dump, the key was actually "^[[30~"...
Last edited by Totony (2015-06-02 07:11:30)
Offline