feat(users/Profpatsch/aliases): bell.
bell. Change-Id: If9385d0dfbdd3eda9a2cad6b1cabb3d938987195 Reviewed-on: https://cl.tvl.fyi/c/depot/+/10206 Autosubmit: Profpatsch <mail@profpatsch.de> Reviewed-by: Profpatsch <mail@profpatsch.de> Tested-by: BuildkiteCI
This commit is contained in:
parent
0b524890e9
commit
23dae8ebc5
1 changed files with 13 additions and 0 deletions
|
@ -72,4 +72,17 @@ depot.nix.readTree.drvTargets {
|
||||||
"*\${2}*"
|
"*\${2}*"
|
||||||
"$@"
|
"$@"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
bell = depot.nix.writeExecline "bell" { } [
|
||||||
|
"if"
|
||||||
|
[
|
||||||
|
"pactl"
|
||||||
|
"upload-sample"
|
||||||
|
"${pkgs.sound-theme-freedesktop}/share/sounds/freedesktop/stereo/complete.oga"
|
||||||
|
"bell-window-system"
|
||||||
|
]
|
||||||
|
"pactl"
|
||||||
|
"play-sample"
|
||||||
|
"bell-window-system"
|
||||||
|
];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue