sway: media keys

This commit is contained in:
Casper V. Kristensen 2023-08-13 19:29:18 +02:00
parent cd89679750
commit e5be77285f

View file

@ -41,6 +41,11 @@
"XF86AudioRaiseVolume" = "exec 'pactl set-sink-volume @DEFAULT_SINK@ +2%'"; "XF86AudioRaiseVolume" = "exec 'pactl set-sink-volume @DEFAULT_SINK@ +2%'";
"XF86AudioLowerVolume" = "exec 'pactl set-sink-volume @DEFAULT_SINK@ -2%'"; "XF86AudioLowerVolume" = "exec 'pactl set-sink-volume @DEFAULT_SINK@ -2%'";
"XF86AudioMute" = "exec 'pactl set-sink-mute @DEFAULT_SINK@ toggle'"; "XF86AudioMute" = "exec 'pactl set-sink-mute @DEFAULT_SINK@ toggle'";
# Media
"XF86AudioPlay" = "exec 'playerctl play-pause'";
"XF86AudioNext" = "exec 'playerctl next'";
"XF86AudioPrev" = "exec 'playerctl previous'";
}; };
terminal = "alacritty"; terminal = "alacritty";
workspaceAutoBackAndForth = true; workspaceAutoBackAndForth = true;
@ -110,11 +115,14 @@
alacritty alacritty
clipman clipman
gnome3.adwaita-icon-theme # cursor gnome3.adwaita-icon-theme # cursor
grim # screenshot
pavucontrol # PulseAudio Volume Control pavucontrol # PulseAudio Volume Control
playerctl # media control
pulseaudio # pactl pulseaudio # pactl
slurp # wayland region selector; for grim(shot)
swaylock swaylock
wdisplays wdisplays
wl-clipboard wl-clipboard # wl-copy/wl-paste commands
]; ];
# Audio # Audio