From c0f2ff535483ff89a51d03f00a43d85468f6d14c Mon Sep 17 00:00:00 2001 From: Arti Zirk Date: Tue, 20 Nov 2018 16:15:56 +0200 Subject: [PATCH] add player buttons to sway --- .config/sway/config | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.config/sway/config b/.config/sway/config index 36cb40f..98068ee 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -219,6 +219,12 @@ for_window [title=".*swayapplauncher.*"] floating enable bindsym Print exec grim $(xdg-user-dir PICTURES)/$(date +'screenshot_%Y-%m-%d-%H%M%S_grim.png') bindsym Print+Shift exec slurp | grim -g - $(xdg-user-dir PICTURES)/$(date +'screenshot_%Y-%m-%d-%H%M%S_grim.png') +# media keys +bindsym XF86AudioPlay exec playerctl play +bindsym XF86AudioPause exec playerctl pause +bindsym XF86AudioNext exec playerctl next +bindsym XF86AudioPrev exec playerctl previous + # # Status Bar: #