Add toggle-idle script

This commit is contained in:
ItsDrike 2024-06-22 06:56:38 +02:00
parent b3f457340d
commit 083dc759d1
Signed by: ItsDrike
GPG key ID: FA2745890B7048C0
5 changed files with 35 additions and 0 deletions

View file

@ -0,0 +1,14 @@
{pkgs, ...}:
pkgs.writeShellApplication {
name = "toggle-idle";
runtimeInputs = with pkgs; [
coreutils
gnugrep
procps
libnotify
hypridle
];
text = ''
${builtins.readFile ./toggle-idle.sh}
'';
}