summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/lock-screen.nix14
-rw-r--r--scripts/scrolling-title.nix6
-rw-r--r--scripts/surf_search.nix2
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; [