diff options
Diffstat (limited to 'home/xyz/.local')
-rwxr-xr-x | home/xyz/.local/bin/topa | 2 | ||||
-rwxr-xr-x | home/xyz/.local/bin/upd | 38 |
2 files changed, 0 insertions, 40 deletions
diff --git a/home/xyz/.local/bin/topa b/home/xyz/.local/bin/topa index 32529979..df25bd78 100755 --- a/home/xyz/.local/bin/topa +++ b/home/xyz/.local/bin/topa @@ -1,8 +1,6 @@ #!/bin/sh o alacritty -e htop -#o alacritty -e radeontop -c o alacritty -e iotop o alacritty -e nethogs -o alacritty -e intel_gpu_top o alacritty -e nvtop diff --git a/home/xyz/.local/bin/upd b/home/xyz/.local/bin/upd index 9e272d36..7f616e79 100755 --- a/home/xyz/.local/bin/upd +++ b/home/xyz/.local/bin/upd @@ -4,22 +4,10 @@ all () { fast userjs clean - #qb - #refl usb - #xmr } clean () { - #nsxiv -c - # my ways - # -exec can't replace -execdir here - #find "$XDG_CACHE_HOME/nsxiv/" -depth -type d -empty -execdir rmdir -- '{}' \+ - # -exec can replace -execdir here - #find "$XDG_CACHE_HOME/nsxiv/" -depth -type d -execdir rmdir --ignore-fail-on-non-empty -- '{}' \+ - # nsxiv man page way - #find "$XDG_CACHE_HOME/nsxiv/" -depth -type d -empty ! -name '.' -exec rmdir -- '{}' \; - cd "$HOME/.mozilla/firefox/xxxxxxxx.fly/prefsjs_backups" || exit # https://stackoverflow.com/a/34862475/9008720 ls -t | tail -n +11 | tr '\n' '\0' | xargs -0 rm -- @@ -79,21 +67,6 @@ checkrebuild: $(checkrebuild | awk '$2!="zoom"{printf("%s ",$2)}') " } -#qb () { -# rm -r -- "$HOME/programs/qbittorrent_search_plugins/" -# curlqb "$HOME/programs/qbittorrent_search_plugins/" -#} - -#refl () { -# # why not use http: -# # https://www.reddit.com/r/archlinux/comments/kx149z/should_i_use_http_mirrors/ -# # https://www.reddit.com/r/archlinux/comments/ej4k4d/is_it_safe_to_use_not_secured_http_pacman_mirrors/ -# # rsync may need to change XferCommand in /etc/pacman.conf -# # https://www.reddit.com/r/archlinux/comments/mynw6e/rsync_mirrors_with_pacman/ -# # need --delay so no super out of sync mirrors -# sudo reflector --verbose --save /etc/pacman.d/mirrorlist --country us --protocol https --delay 1 --latest 25 --score 25 --fastest 10 -#} - usb () { cfg -s push @@ -105,14 +78,6 @@ usb () { sync } -#xmr () { -# # use cd to workaround monero-blockchain-export.log log file save in current dir? issue, haven't tested -# cd "$HOME/.bitmonero" || exit -# monero-blockchain-export --output-file /run/media/xyz/bd0/archive/monero/blockchain.raw -# # not sure if useful or not -# sync -#} - if [ $# -eq 0 ]; then fast else @@ -124,10 +89,7 @@ else j)userjs;; m)misc;; p)pac;; - #q)qb;; - #r)refl;; u)usb;; - #x)xmr;; \?)exit 1;; esac done |