mirror of
https://github.com/lightly-toasted/nix-config.git
synced 2025-12-10 07:59:43 +00:00
feat(mouse-actions): add play-pause action
This commit is contained in:
parent
e9f087deed
commit
2c642a7e32
4 changed files with 12 additions and 0 deletions
|
|
@ -5,4 +5,5 @@
|
|||
deafen = import ./deafen.nix { inherit pkgs; };
|
||||
sober-lag = import ./sober-lag.nix { inherit pkgs; };
|
||||
flick = import ./flick.nix { inherit pkgs; };
|
||||
play-pause = import ./play-pause.nix { inherit pkgs; };
|
||||
}
|
||||
|
|
|
|||
|
|
@ -0,0 +1,7 @@
|
|||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
package = pkgs.writeShellScriptBin "play-pause-action" ''
|
||||
${pkgs.playerctl}/bin/playerctl play-pause
|
||||
'';
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue