diff options
Diffstat (limited to 'env/.local/bin/system')
| -rwxr-xr-x | env/.local/bin/system/backup/backup.sh | 31 | ||||
| -rwxr-xr-x | env/.local/bin/system/bri.sh | 1 | ||||
| -rwxr-xr-x | env/.local/bin/system/math.sh | 13 | ||||
| -rwxr-xr-x | env/.local/bin/system/set-pri-java.sh | 1 |
4 files changed, 0 insertions, 46 deletions
diff --git a/env/.local/bin/system/backup/backup.sh b/env/.local/bin/system/backup/backup.sh deleted file mode 100755 index 29ba348..0000000 --- a/env/.local/bin/system/backup/backup.sh +++ /dev/null @@ -1,31 +0,0 @@ -cd ~/ - -fsynca () { - # t? - rsync -RUurvn --size-only --delete-after $exclude $syncfile "$target" -} - -fsyncb () { - printf "===confirm changes?\n" - read -p "y/n: " uinput - if [ "$uinput" != "n" ] && [ "$uinput" != "N" ]; then - printf "\n\n\n" - rsync -RUurv --progress --size-only --delete-after $exclude $syncfile "$target" - printf "\n===end sync\n---------\n\n" - fi -} - -syncfile="stuff .surf/styles .gnupg .ssh .local/bin/lf-gadgets .config/wireplumber .config/FreeTube .config/wlxoverlay .config/newsboat .var/app/dev.vencord.Vesktop/config/vesktop/themes .config/zsh .config/vesktop/themes .keepass .config/Pinta .config/cmus .config/cava .local/share/applications/custom .local/share/osu" - -# se shit -syncfile="$syncfile /home/iceyrazor/.local/share/Steam/steamapps/compatdata/244850/pfx/drive_c/users/steamuser/AppData/Roaming/SpaceEngineers/Blueprints /home/iceyrazor/.local/share/Steam/steamapps/compatdata/244850/pfx/drive_c/users/steamuser/AppData/Roaming/SpaceEngineers/IngameScripts /home/iceyrazor/.local/share/Steam/steamapps/compatdata/244850/pfx/drive_c/users/steamuser/AppData/Roaming/SpaceEngineers/Saves" - -target="/home/iceyrazor/mnt-backups/LINUX FILES/home/iceyrazor" -exclude="--exclude node_modules --exclude node_modules_23 --exclude dontsync --exclude **/target --exclude LinVAM/pyenv" - -fsynca - -printf "==CC-survival unsynced?\n\n" -printf "==osu unsynced\n\n" - -fsyncb diff --git a/env/.local/bin/system/bri.sh b/env/.local/bin/system/bri.sh deleted file mode 100755 index b943f30..0000000 --- a/env/.local/bin/system/bri.sh +++ /dev/null @@ -1 +0,0 @@ -echo "$1" > /sys/class/backlight/intel_backlight/brightness diff --git a/env/.local/bin/system/math.sh b/env/.local/bin/system/math.sh deleted file mode 100755 index 26d4854..0000000 --- a/env/.local/bin/system/math.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/bash -expression=$1 -precision=$2 - -if [ "$precision" == "" ]; then - precision=1; -fi; - -# Perform arithmetic operation using awk -result=$(awk "BEGIN {printf \"%.${precision}f\n\", $expression}" | sed 's/\.0$//') - -# Print the result -echo "$result" diff --git a/env/.local/bin/system/set-pri-java.sh b/env/.local/bin/system/set-pri-java.sh deleted file mode 100755 index 35a9769..0000000 --- a/env/.local/bin/system/set-pri-java.sh +++ /dev/null @@ -1 +0,0 @@ -sudo renice -20 -p $(sudo pidof java) |
