From c30cd701f639c82e285722296538d66429d3a57e Mon Sep 17 00:00:00 2001 From: Felix Buehler Date: Mon, 7 Jun 2021 19:40:57 +0200 Subject: [PATCH] [sway] map mediakeys on f9-f11 --- sway/config | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/sway/config b/sway/config index 7955ab6..913eb49 100644 --- a/sway/config +++ b/sway/config @@ -149,9 +149,12 @@ bindsym --locked XF86AudioStop exec playerctl stop # show helper for display-management bindsym XF86Display exec wdisplays -#bindsym XF86NotificationCenter exec swaynag -t warning -m 'notificationcenter' -#bindsym XF86PickupPhone exec swaynag -t warning -m 'pickupphone' -#bindsym XF86HangupPhone exec swaynag -t warning -m 'hangupphone' +#bindsym XF86NotificationCenter exec playerctl previous +bindcode 452 exec playerctl previous +#bindsym XF86PickupPhone exec playerctl play-pause +bindcode 453 exec playerctl play-pause +#bindsym XF86HangupPhone exec playerctl next +bindcode 454 exec playerctl next # main commands bindsym $mod+Shift+c reload