refactor(mouse-actions): use absolute paths

This commit is contained in:
toast 2025-11-09 21:26:22 +09:00
parent 1c99f9d063
commit e9f087deed
6 changed files with 42 additions and 72 deletions

View file

@ -1,13 +1,7 @@
{ pkgs, ... }:
let
script = pkgs.writeShellScriptBin "deafen-action" ''
hyprctl dispatch sendshortcut CTRL+SHIFT, D, 'class:^(vesktop)$'
'';
in
{
package = pkgs.symlinkJoin {
name = "deafen-action";
paths = [ script pkgs.hyprland ];
};
package = pkgs.writeShellScriptBin "deafen-action" ''
${pkgs.hyprland}/bin/hyprctl dispatch sendshortcut CTRL+SHIFT, D, 'class:^(vesktop)$'
'';
}