Compare commits

...

2 Commits

Author SHA1 Message Date
coolneng a29ea3e8a7
Map audio play/pause key to mpc toggle 2021-10-30 16:13:52 +02:00
coolneng c08017fa97
Add kill zoom option to recurrent-actions 2021-10-29 17:02:20 +02:00
2 changed files with 3 additions and 0 deletions

View File

@ -6,6 +6,7 @@ select_action() {
"Connectivity test"
"Kill emacs"
"Kill MS Teams"
"Kill zoom"
"Sync doom emacs"
"Start videocall"
"Stop videocall"
@ -29,6 +30,7 @@ execute_action() {
"Connectivity test") launch_kitty "ping -c 2 freebsd.org" ;;
"Kill emacs") execute_command "pkill emacs" ;;
"Kill MS Teams") execute_command "pkill teams" ;;
"Kill zoom") execute_command "pkill zoom" ;;
"Sync doom emacs") execute_command "$HOME/.emacs.d/bin/doom sync" ;;
"Start videocall") execute_command "$script_folder/pulseaudio-mic-mute" && execute_command "$script_folder/videocall start" ;;
"Stop videocall") execute_command "$script_folder/pulseaudio-mic-mute" && execute_command "$script_folder/videocall stop" ;;

View File

@ -268,6 +268,7 @@ bindsym XF86MonBrightnessUp exec light -A 10
bindsym XF86MonBrightnessDown exec light -U 10
# Media control
bindsym XF86Tools exec mpc toggle
bindsym XF86AudioPlay exec mpc toggle
bindsym XF86Search exec mpc stop
bindsym XF86LaunchA exec mpc prev
bindsym XF86Explorer exec mpc next