From 37819d773f586e588d3edf9fdc99896609c13985 Mon Sep 17 00:00:00 2001 From: juan Date: Thu, 14 Oct 2021 16:21:00 +0800 Subject: [PATCH] add binding for xf86 keys --- .config/sway/config##hostname.T14s | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.config/sway/config##hostname.T14s b/.config/sway/config##hostname.T14s index 85c9c19..4b90144 100644 --- a/.config/sway/config##hostname.T14s +++ b/.config/sway/config##hostname.T14s @@ -54,6 +54,11 @@ bindsym XF86AudioMute exec amixer sset Master toggle | sed -En '/\[on\]/ s/.*\[( bindsym XF86MonBrightnessUp exec light -A 5 && light -G | cut -d'.' -f1 > $SWAYSOCK.wob bindsym XF86MonBrightnessDown exec light -U 5 && light -G | cut -d'.' -f1 > $SWAYSOCK.wob +bindsym XF86AudioPlay exec playerctl play +bindsym XF86AudioPause exec playerctl pause +bindsym XF86AudioNext exec playerctl next +bindsym XF86AudioPrev exec playerctl previous + #borders stuff default_border pixel 2