From 28d3b84f99e7efc12f3f874255f6bd95ebb99d85 Mon Sep 17 00:00:00 2001 From: Gabriel Ebner Date: Mon, 27 Jun 2022 19:57:19 +0200 Subject: [PATCH] sway: add audio hotkeys --- config/sway/config.m4 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/config/sway/config.m4 b/config/sway/config.m4 index fece4c2..ea88d22 100644 --- a/config/sway/config.m4 +++ b/config/sway/config.m4 @@ -72,6 +72,11 @@ ifelse(hostname, [petalius], [ bindsym Shift+XF86MonBrightnessUp exec light -A 1 ]) +bindsym --locked XF86AudioPlay exec playerctl play +bindsym --locked XF86AudioPause exec playerctl pause +bindsym --locked XF86AudioNext exec playerctl next +bindsym --locked XF86AudioPrev exec playerctl previous + # resize window (you can also use the mouse for that) mode "resize" { # These bindings trigger as soon as you enter the resize mode