diff options
| author | Skullheadx <admonty1@protonmail.com> | 2026-06-13 23:05:19 -0400 |
|---|---|---|
| committer | Skullheadx <admonty1@protonmail.com> | 2026-06-13 23:05:19 -0400 |
| commit | 6bd2d69a5806d9cc498a65ddc7fc79a199140b55 (patch) | |
| tree | 9678f0f2f6d324b66a250d1f7ad2f3889e83bf14 /scripts | |
| parent | use fira code nerf font (diff) | |
| download | nixos-6bd2d69a5806d9cc498a65ddc7fc79a199140b55.tar.gz nixos-6bd2d69a5806d9cc498a65ddc7fc79a199140b55.tar.bz2 nixos-6bd2d69a5806d9cc498a65ddc7fc79a199140b55.zip | |
format using alejandra
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/lock-screen.nix | 14 | ||||
| -rw-r--r-- | scripts/scrolling-title.nix | 6 | ||||
| -rw-r--r-- | scripts/surf_search.nix | 2 |
3 files changed, 11 insertions, 11 deletions
diff --git a/scripts/lock-screen.nix b/scripts/lock-screen.nix index ca45903..f4610f7 100644 --- a/scripts/lock-screen.nix +++ b/scripts/lock-screen.nix @@ -1,12 +1,12 @@ -{ pkgs }: +{pkgs}: pkgs.writeShellApplication { name = "lock-screen"; - runtimeInputs = [ pkgs.betterlockscreen ]; + runtimeInputs = [pkgs.betterlockscreen]; text = '' - if [ ! -f "$HOME/.cache/betterlockscreen/current/lock_dimblur.png" ]; then - betterlockscreen -u "$HOME/Wallpapers/Daniel_in_the_Lions_Den_by_Briton_Riviere.jpg" --fx dimblur - fi + if [ ! -f "$HOME/.cache/betterlockscreen/current/lock_dimblur.png" ]; then + betterlockscreen -u "$HOME/Wallpapers/Daniel_in_the_Lions_Den_by_Briton_Riviere.jpg" --fx dimblur + fi - betterlockscreen -l dimblur - ''; + betterlockscreen -l dimblur + ''; } diff --git a/scripts/scrolling-title.nix b/scripts/scrolling-title.nix index 05eaa53..70a6dd7 100644 --- a/scripts/scrolling-title.nix +++ b/scripts/scrolling-title.nix @@ -1,4 +1,4 @@ -{ pkgs }: +{pkgs}: pkgs.writeShellApplication { name = "scrolling-title"; runtimeInputs = with pkgs; [ @@ -7,7 +7,7 @@ pkgs.writeShellApplication { ]; text = '' WIDTH=20 - PADDING=" " + PADDING=" " RAW_STR=$(mpc current) @@ -17,7 +17,7 @@ pkgs.writeShellApplication { fi STR="$RAW_STR$PADDING" - LEN=''${#STR} + LEN=''${#STR} T=$(date +%s) INDEX=$(( T % LEN )) diff --git a/scripts/surf_search.nix b/scripts/surf_search.nix index e186bdb..3882265 100644 --- a/scripts/surf_search.nix +++ b/scripts/surf_search.nix @@ -1,4 +1,4 @@ -{ pkgs }: +{pkgs}: pkgs.writeShellApplication { name = "surf_search"; runtimeInputs = with pkgs; [ |
