mirror of
https://github.com/ItsDrike/nixdots
synced 2025-06-30 16:00:43 +00:00
Add toggle-idle script
This commit is contained in:
parent
b3f457340d
commit
083dc759d1
5 changed files with 35 additions and 0 deletions
|
@ -0,0 +1,14 @@
|
|||
{pkgs, ...}:
|
||||
pkgs.writeShellApplication {
|
||||
name = "toggle-idle";
|
||||
runtimeInputs = with pkgs; [
|
||||
coreutils
|
||||
gnugrep
|
||||
procps
|
||||
libnotify
|
||||
hypridle
|
||||
];
|
||||
text = ''
|
||||
${builtins.readFile ./toggle-idle.sh}
|
||||
'';
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue