diff --git a/config b/config index fca9c43..411c888 100644 --- a/config +++ b/config @@ -20,6 +20,7 @@ set $background $HOME/Pictures/wallpaper/bavarian_forest_5k_bw.jpg set $brightness_cmd $HOME/.config/sway/bin/sway_brightness set $output_cmd $HOME/.local/bin/swayout set $volume_cmd $HOME/.config/sway/bin/sway_volume +set $media_cmd /usr/bin/playerctl set $idle_cmd $HOME/.config/sway/bin/start_swayidle.sh set $waybar_cmd $HOME/.config/sway/bin/start_waybar.sh set $move_cmd $HOME/.config/sway/bin/sway_move @@ -184,6 +185,10 @@ bindsym XF86AudioMute exec $volume_cmd mute bindsym XF86MonBrightnessUp exec $brightness_cmd increase bindsym XF86MonBrightnessDown exec $brightness_cmd decrease # +## Media +# +bindsym XF86AudioPlay exec $media_cmd play-pause +# # ## Screenshot #