diff options
author | Tim Keller <tjkeller.xyz> | 2024-11-17 23:39:40 -0600 |
---|---|---|
committer | Tim Keller <tjkeller.xyz> | 2024-11-17 23:39:40 -0600 |
commit | 08f22ad82edbe30606a8145a01ab18f2f6d71b4b (patch) | |
tree | cce5c45c996d81d131ada2f409a3c6d041b5416e /.old/setup | |
parent | 09ada24d4ec23cf24ab136141b354953d1bbc2fa (diff) | |
download | scripts-08f22ad82edbe30606a8145a01ab18f2f6d71b4b.tar.xz scripts-08f22ad82edbe30606a8145a01ab18f2f6d71b4b.zip |
delete .old dir since all is still stored in version control
Diffstat (limited to '.old/setup')
-rwxr-xr-x | .old/setup | 79 |
1 files changed, 0 insertions, 79 deletions
diff --git a/.old/setup b/.old/setup deleted file mode 100755 index bcb0843..0000000 --- a/.old/setup +++ /dev/null @@ -1,79 +0,0 @@ -#!/bin/sh - -#interactiveopt() { -# # Usage: interactiveopt "options" "prompt" -# echo "$1" | nl -s': ' 1>&2 -# # Parse user input -# read -p "$2" choices 1>&2 \ -# && choices="$(echo $choices | cut -d' ' -f1-)" -# for choice in $choices; do -# case "$choice" in -# [0-9]*) opt="$opt $(echo "$1" | head -"$(echo $choice | tr -cd '[:digit:]')" | tail -1)";; -# *) echo "Invalid option \"$opt\"" 1>&2 ;; -# esac -# done -# echo "$opt" -#} - -# Open as root in pcmanfm -pcmanfmconf() { - pcmanfmroot=~/.local/share/file-manager/actions - mkdir -p $pcmanfmroot - echo " [Desktop Entry] -Type=Action -Tooltip=Open Folder As Root -Name=Open Folder As Root -Profiles=profile-zero; -Icon=gtk-dialog-authentication - -[X-Action-Profile profile-zero] -MimeTypes=inode/directory; -Exec=/home/timmy/.local/bin/x11/xsudo /usr/bin/pcmanfm %u -Name=Default profile" > $pcmanfmroot/root.desktop -} - -minticons() { - gitdir="/tmp/mint-y-icons-master" - iconsdir="$gitdir/usr/share/icons" - #git clone https://github.com/linuxmint/mint-y-icons.git "$gitdir" - wget https://github.com/linuxmint/mint-y-icons/archive/refs/heads/master.zip -O "$gitdir.zip" - bsdtar xvf "$gitdir.zip" - #iconsets="$(interactiveopt "$(ls "$iconsdir")" "Choose icon sets (if using dark theme, COPY THE NON-DARK THEME TOO): ")" - #iconsets="$iconset Mint-Y" - #for iconset in $iconsets; do - # mv "$iconsdir/$iconset" $iconsdestdir - #done - mv $iconsdir/* $iconsdestdir - gtk-update-icon-cache -} - -mintthemes() { - gitdir="/tmp/mint-themes-master" - themesdir="$gitdir/usr/share/themes" - #iconsdir="$gitdir/usr/share/icons" - wget https://github.com/linuxmint/mint-themes/archive/refs/heads/master.zip -O "$gitdir.zip" - bsdtar xvf "$gitdir.zip" - curdir="$(pwd)" - cd $gitdir - make - #themes="$(interactiveopt "$(ls "$themesdir")" "Choose themes: ")" - ##iconset="$iconset Mint-Y" - #for theme in $themes; do - # mv "$themesdir/$theme" $themesdestdir - #done - #iconsets="$(interactiveopt "$(ls "$iconsdir")" "Choose icon set (if using dark theme, COPY THE NON-DARK THEME TOO): ")" - #iconset="$iconset Mint-Y" - #for iconset in $iconsets; do - # mv "$iconsdir/$iconset" $iconsdestdir - #done - #gtk-update-icon-cache - mv $themesdir/* $themesdestdir -} - -iconsdestdir=/usr/share/icons -themesdestdir=/usr/share/themes -mkdir -p $iconsdestdir $themesdestdir - -#pcmanfmconf -minticons -mintthemes |