mirror of
https://github.com/ItsDrike/nixdots
synced 2024-12-30 22:24:34 +00:00
15 lines
228 B
Nix
15 lines
228 B
Nix
{pkgs, ...}:
|
|
pkgs.writeShellApplication {
|
|
name = "toggle-idle";
|
|
runtimeInputs = with pkgs; [
|
|
coreutils
|
|
gnugrep
|
|
procps
|
|
libnotify
|
|
hypridle
|
|
];
|
|
text = ''
|
|
${builtins.readFile ./toggle-idle.sh}
|
|
'';
|
|
}
|