Sway : Add player controls.
This commit is contained in:
parent
d339b69ada
commit
5c7fe7a4fc
|
@ -16,13 +16,14 @@ in {
|
||||||
|
|
||||||
services.gnome.gnome-keyring.enable = lib.mkForce false;
|
services.gnome.gnome-keyring.enable = lib.mkForce false;
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
|
gnome.adwaita-icon-theme # GTK icons.
|
||||||
grim slurp # Screenshot.
|
grim slurp # Screenshot.
|
||||||
mako # Notification system.
|
mako # Notification system.
|
||||||
networkmanagerapplet # Internet configuration.
|
networkmanagerapplet # Internet configuration.
|
||||||
pamixer pavucontrol pulseaudio # Audio.
|
pamixer pavucontrol pulseaudio # Audio.
|
||||||
sway-contrib.inactive-windows-transparency
|
playerctl # Multimedia controls.
|
||||||
|
sway-contrib.inactive-windows-transparency # Transparent unfocused windows.
|
||||||
wl-clipboard # Clipboard.
|
wl-clipboard # Clipboard.
|
||||||
gnome.adwaita-icon-theme # GTK icons.
|
|
||||||
];
|
];
|
||||||
|
|
||||||
programs.sway = {
|
programs.sway = {
|
||||||
|
|
|
@ -32,7 +32,7 @@
|
||||||
gimp
|
gimp
|
||||||
godot_4
|
godot_4
|
||||||
jellyfin-media-player
|
jellyfin-media-player
|
||||||
mpv
|
mpv mpvScripts.mpris
|
||||||
obs-studio
|
obs-studio
|
||||||
onlyoffice-bin
|
onlyoffice-bin
|
||||||
scanmem
|
scanmem
|
||||||
|
|
|
@ -5,5 +5,11 @@ in {
|
||||||
bindsym XF86AudioRaiseVolume exec 'pactl set-sink-volume @DEFAULT_SINK@ +${step}%'
|
bindsym XF86AudioRaiseVolume exec 'pactl set-sink-volume @DEFAULT_SINK@ +${step}%'
|
||||||
bindsym XF86AudioLowerVolume exec 'pactl set-sink-volume @DEFAULT_SINK@ -${step}%'
|
bindsym XF86AudioLowerVolume exec 'pactl set-sink-volume @DEFAULT_SINK@ -${step}%'
|
||||||
bindsym XF86AudioMute exec 'pactl set-sink-mute @DEFAULT_SINK@ toggle'
|
bindsym XF86AudioMute exec 'pactl set-sink-mute @DEFAULT_SINK@ toggle'
|
||||||
|
|
||||||
|
bindsym XF86AudioPlay exec 'playerctl play-pause'
|
||||||
|
bindsym XF86AudioPause exec 'playerctl pause'
|
||||||
|
bindsym XF86AudioStop exec 'playerctl stop'
|
||||||
|
bindsym XF86AudioNext exec 'playerctl next'
|
||||||
|
bindsym XF86AudioPrev exec 'playerctl previous'
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue