about summary refs log tree commit diff stats
path: root/home-manager/packages/scripts/small_functions
diff options
context:
space:
mode:
authorene <ene@sils.li>2023-04-03 18:45:02 +0200
committerene <ene@sils.li>2023-04-03 18:45:02 +0200
commit4dea0028b638b4e3a4c4002ddf8d00e639b142e3 (patch)
tree61e41b94427ff95290df55769b5c91be7bb9f887 /home-manager/packages/scripts/small_functions
parentFix(hm/packages/scripts): Add update script (diff)
downloadnixos-config-4dea0028b638b4e3a4c4002ddf8d00e639b142e3.tar.gz
nixos-config-4dea0028b638b4e3a4c4002ddf8d00e639b142e3.zip
Fix(hm/packages/scripts): Remove deprecated scripts
Diffstat (limited to 'home-manager/packages/scripts/small_functions')
-rwxr-xr-xhome-manager/packages/scripts/small_functions/deprecated/locate_rewrite/locate2
-rwxr-xr-xhome-manager/packages/scripts/small_functions/deprecated/locate_rewrite/update_locate_database8
-rwxr-xr-xhome-manager/packages/scripts/small_functions/deprecated/order12
-rwxr-xr-xhome-manager/packages/scripts/small_functions/deprecated/ply-pre33
-rwxr-xr-xhome-manager/packages/scripts/small_functions/screen_shot2
5 files changed, 0 insertions, 57 deletions
diff --git a/home-manager/packages/scripts/small_functions/deprecated/locate_rewrite/locate b/home-manager/packages/scripts/small_functions/deprecated/locate_rewrite/locate
deleted file mode 100755
index 3dbddae9..00000000
--- a/home-manager/packages/scripts/small_functions/deprecated/locate_rewrite/locate
+++ /dev/null
@@ -1,2 +0,0 @@
-#! /bin/bash
-awk --assign=se=$1 ' $0 ~ se {print $0} ' "${LOCATE_DATABASE}"
diff --git a/home-manager/packages/scripts/small_functions/deprecated/locate_rewrite/update_locate_database b/home-manager/packages/scripts/small_functions/deprecated/locate_rewrite/update_locate_database
deleted file mode 100755
index 88330ff6..00000000
--- a/home-manager/packages/scripts/small_functions/deprecated/locate_rewrite/update_locate_database
+++ /dev/null
@@ -1,8 +0,0 @@
-#! /bin/bash
-LOCATE_DATABASE="/home/dt/.cache/locate.db"
-if [ ! -e ${LOCATE_DATABASE} ]; then
-    touch ${LOCATE_DATABASE}
-fi
-echo $(date) > ${LOCATE_DATABASE}
-sudo find / >> ${LOCATE_DATABASE}
-
diff --git a/home-manager/packages/scripts/small_functions/deprecated/order b/home-manager/packages/scripts/small_functions/deprecated/order
deleted file mode 100755
index e87d409d..00000000
--- a/home-manager/packages/scripts/small_functions/deprecated/order
+++ /dev/null
@@ -1,12 +0,0 @@
-#! /usr/bin/env dash
-# shellcheck disable=SC2086
-# shellcheck source=/dev/null
-. %SHELL_LIBRARY_PATH
-
-file=$HOME/hi3
-cat $file | clean | awk  '{
-    print (""$2" => {println!(\""$1"\")}")
-}'
-
-
-if [ -d /tmp/LIB_FILE_TEMP_DIR/ ];then rm -r /tmp/LIB_FILE_TEMP_DIR/; fi
diff --git a/home-manager/packages/scripts/small_functions/deprecated/ply-pre b/home-manager/packages/scripts/small_functions/deprecated/ply-pre
deleted file mode 100755
index 7053ac62..00000000
--- a/home-manager/packages/scripts/small_functions/deprecated/ply-pre
+++ /dev/null
@@ -1,33 +0,0 @@
-#! /usr/bin/env dash
-
-# shellcheck source=/dev/null
-. %SHELL_LIBRARY_PATH
-
-
-## Preview Plymouth Splash ##
-##      by _khAttAm_       ##
-##    www.khattam.info     ##
-##    License: GPL v3      ##
-
-chk_root () {
-
-  if [ ! "$( id -u )" -eq 0 ]; then
-    echo Must be run as root
-    exit 1
-  fi
-
-}
-
-chk_root
-
-DURATION=$1
-
-if [ $# -ne 1 ]; then
-	DURATION=5
-fi
-
-plymouthd; plymouth --show-splash ; 
-for i in $(seq 1 $DURATION); do 
-    plymouth --update=test"$i" ; sleep 1; 
-done; 
-plymouth quit
diff --git a/home-manager/packages/scripts/small_functions/screen_shot b/home-manager/packages/scripts/small_functions/screen_shot
index 732f3e76..92c37fdd 100755
--- a/home-manager/packages/scripts/small_functions/screen_shot
+++ b/home-manager/packages/scripts/small_functions/screen_shot
@@ -7,5 +7,3 @@ grim -g "$(slurp)" ~/media/pictures/screenshots/"$(date +%s)".png &&
     alacritty -e llp -command ":{{ set sortby atime; set reverse!; }}" ~/media/pictures/screenshots
 
 
-
-if [ -d /tmp/LIB_FILE_TEMP_DIR/ ];then rm -r /tmp/LIB_FILE_TEMP_DIR/; fi