mirror of
https://github.com/ItsDrike/nixdots
synced 2024-12-29 08:44:35 +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}
|
||
|
'';
|
||
|
}
|