I HAVE NO IDEA!
This commit is contained in:
parent
9a725dcc03
commit
5729629ba7
15 changed files with 298 additions and 206 deletions
|
@ -31,7 +31,6 @@
|
|||
:dont_focus_before_close true
|
||||
;; :awestore {:x anim-x :y anim-y}
|
||||
}))
|
||||
|
||||
(fn get-volume [?callback]
|
||||
(let [cb (or ?callback (fn [] nil))]
|
||||
(awful.spawn.easy_async_with_shell "pamixer --get-volume-human" cb)))
|
||||
|
@ -207,6 +206,14 @@
|
|||
(awful.key [] "XF86Launch8" (fn [] (awful.spawn "pactl set-source-mute @DEFAULT_SOURCE@ toggle")
|
||||
(awful.spawn "paplay /usr/share/sounds/freedesktop/stereo/audio-volume-change.oga"))
|
||||
{:description "Mute microphone" :group "audio"})
|
||||
(awful.key [] "F6" (fn [] (awful.spawn "playerctl play-pause"))
|
||||
{:description "Play-pause playback" :group "audio"})
|
||||
(awful.key [] "F5" (fn [] (awful.spawn "playerctl position 10-"))
|
||||
{:description "Previous 10s playback" :group "audio"})
|
||||
(awful.key [] "F7" (fn [] (awful.spawn "playerctl position 10+"))
|
||||
{:description "Previous 10s playback" :group "audio"})
|
||||
(awful.key [] "F8" (fn [] (awful.spawn "getplayerstatus"))
|
||||
{:description "Get status audio" :group "audio"})
|
||||
(awful.key [modkey] "]" (fn [] (awful.spawn "mpvc -x 0.10"))
|
||||
{:description "MPV speed up by .10" :group "audio"})
|
||||
(awful.key [modkey] "[" (fn [] (awful.spawn "mpvc -x -0.10"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue