mpc stuff
This commit is contained in:
parent
9fa0dcdf7a
commit
69ad31d0f3
|
@ -221,11 +221,12 @@ mode "$mode_system" {
|
|||
}
|
||||
|
||||
bindsym $mod+Shift+M mode "$mode_media"
|
||||
set $mode_media (p)lay, (r)ecord, (s)top
|
||||
set $mode_media (p)lay, (u)pdate music, (r)ecord, (s)top
|
||||
mode "$mode_media" {
|
||||
bindsym p exec mpv $(xclip -o), mode "default"
|
||||
bindsym r exec /home/naiji/.local/bin/ffmpeg-util record, mode "default"
|
||||
bindsym s exec /home/naiji/.local/bin/ffmpeg-util stop && notify-send -e -t 1000 -i video "ffmpeg" "done", mode "default"
|
||||
bindsym u exec systemctl --user restart mpd.service && mpc update && mpc clear && mpc add / && mpc play, mode "default"
|
||||
|
||||
# exit system mode: "Enter" or "Escape"
|
||||
bindsym Return mode "default"
|
||||
|
|
Loading…
Reference in New Issue