This commit is contained in:
Hadi
2024-10-07 11:17:59 +02:00
parent ab65fe342b
commit 75f2c2c7c6
20 changed files with 289 additions and 157 deletions

View File

@@ -1,3 +1,11 @@
# - ## Caffeine
#-
#- Caffeine is a simple script that toggles hypridle (disable suspend & screenlock).
#-
#- - `caffeine-status` - Check if hypridle is running. (0/1)
#- - `caffeine-status-icon` - Check if hypridle is running. (icon)
#- - `caffeine` - Toggle hypridle.
{ pkgs, ... }:
let
caffeine-status = pkgs.writeShellScriptBin "caffeine-status" ''