From 6bd2d69a5806d9cc498a65ddc7fc79a199140b55 Mon Sep 17 00:00:00 2001 From: Skullheadx Date: Sat, 13 Jun 2026 23:05:19 -0400 Subject: format using alejandra --- scripts/lock-screen.nix | 14 +++++++------- scripts/scrolling-title.nix | 6 +++--- scripts/surf_search.nix | 2 +- 3 files changed, 11 insertions(+), 11 deletions(-) (limited to 'scripts') 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; [ -- cgit v1.3.1