Remove unneeded jstmbash dependency
This commit is contained in:
parent
3c50b62d26
commit
a2674d5e1f
4 changed files with 2 additions and 213 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,3 +1,2 @@
|
|||
# Ignore repositories
|
||||
jstmbash
|
||||
dracula-mc
|
||||
|
|
|
@ -1,199 +0,0 @@
|
|||
#!/bin/bash
|
||||
# shellcheck disable=SC2034
|
||||
# configuration for jeremystartm's bashrc
|
||||
|
||||
# DO NOT CHANGE THIS
|
||||
JSTMBASH_VERSION=1
|
||||
# DO NOT CHANGE THIS
|
||||
|
||||
# GLOBAL
|
||||
## FLOW_CONTROL
|
||||
### Type: bool
|
||||
### Default value: false
|
||||
### Enables or disables flow control.
|
||||
### https://en.wikipedia.org/wiki/Flow_control_(data)
|
||||
JSTMBASH_GLOBAL_FLOW_CONTROL=false
|
||||
## PROMPT
|
||||
### Type: string
|
||||
### Default value: "\[\033[38;5;33m\][\[$(tput sgr0)\]\[\033[38;5;38m\]\u\[$(tput sgr0)\]\[\033[38;5;33m\]@\[$(tput sgr0)\]\[\033[38;5;38m\]\H\[$(tput sgr0)\]\[\033[38;5;33m\]:\[$(tput sgr0)\]\[\033[38;5;38m\]\W\[$(tput sgr0)\] \[$(tput sgr0)\]\[\033[38;5;214m\]\$?\[$(tput sgr0)\]\[\033[38;5;33m\]]\\$\[$(tput sgr0)\] "
|
||||
### Your $PS1, better known as prompt.
|
||||
### Nice generator: https://ezprompt.net
|
||||
JSTMBASH_GLOBAL_PROMPT="\[\033[38;5;33m\][\[$(tput sgr0)\]\[\033[38;5;38m\]\u\[$(tput sgr0)\]\[\033[38;5;33m\]@\[$(tput sgr0)\]\[\033[38;5;38m\]\H\[$(tput sgr0)\]\[\033[38;5;33m\]:\[$(tput sgr0)\]\[\033[38;5;38m\]\W\[$(tput sgr0)\] \[$(tput sgr0)\]\[\033[38;5;214m\]\$?\[$(tput sgr0)\]\[\033[38;5;33m\]]\\$\[$(tput sgr0)\] "
|
||||
## PROMPT_COMMAND
|
||||
### Type: string
|
||||
### Default value: ""
|
||||
### Place commands you want to invoke before
|
||||
### displaying your PS1, useful for multiline
|
||||
### prompts. Better known as $PROMPT_COMMAND
|
||||
JSTMBASH_GLOBAL_PROMPT_COMMAND="history -a"
|
||||
## PROMPT_INCOMPLETE
|
||||
### Type: bool
|
||||
### Default value: true
|
||||
### Replaces the $PS2 aka. "the incomplete command prompt" with something fancy.
|
||||
JSTMBASH_GLOBAL_PROMPT_INCOMPLETE=true
|
||||
## EDITOR
|
||||
### Type: string
|
||||
### Default value: nano
|
||||
### Defines the $EDITOR variable
|
||||
JSTMBASH_GLOBAL_EDITOR="nano"
|
||||
## THREADS
|
||||
### Type: integer
|
||||
### Default value: "$(nproc)"
|
||||
### The default number of threads
|
||||
JSTMBASH_GLOBAL_THREADS="$(nproc)"
|
||||
|
||||
# WARNINGS
|
||||
## NO_TRUECOLOR
|
||||
### Type: bool
|
||||
### Default value: true
|
||||
### Warns if the terminal (emulator) does not have truecolor support.
|
||||
### Disable if your terminal emulator DOES support 16 million colors.
|
||||
JSTMBASH_WARNINGS_NO_TRUECOLOR=false
|
||||
## EXA_UNMAINTAINED
|
||||
### Type: bool
|
||||
### Default value: true
|
||||
### Warns about exa still being installed and recommends eza instead.
|
||||
### Disable if you for some reason still require exa.
|
||||
JSTMBASH_WARNINGS_EXA_UNMAINTAINED=true
|
||||
|
||||
# PATH
|
||||
## ENFORCE_CLEAN
|
||||
### Type: bool
|
||||
### Default value: true
|
||||
### Overrides the PATH variable and includes
|
||||
### entries for flatpak, cargo, etc..
|
||||
JSTMBASH_PATH_ENFORCE_CLEAN=true
|
||||
## APPENDS
|
||||
### Type: string
|
||||
### Default value: ""
|
||||
### Appends directories to the PATH variable.
|
||||
### Add them like this: "/path/to/bin:/path/to/goodies:/path/to/shit"
|
||||
JSTMBASH_PATH_APPENDS="/opt/cmds"
|
||||
|
||||
# GOODIES
|
||||
## EXTRACT
|
||||
### Type: bool
|
||||
### Default value: true
|
||||
### Type "extract /path/to/archive" and it will autodetect
|
||||
### the required extraction program.
|
||||
JSTMBASH_GOODIES_EXTRACT=true
|
||||
|
||||
# ALIASES
|
||||
## PKGMGR_REPLACE
|
||||
### Type: bool
|
||||
### Default value: false
|
||||
### Set to true if you want to replace your package
|
||||
### manager with another one/an frontend for it.
|
||||
JSTMBASH_ALIASES_PKGMGR_REPLACE=true
|
||||
## PKGMGR_REPLACE_FROM
|
||||
### Type: string
|
||||
### Default value: ""
|
||||
### The package manager command you want to replace.
|
||||
JSTMBASH_ALIASES_PKGMGR_REPLACE_FROM="pacman"
|
||||
## PKGMGR_REPLACE_TO
|
||||
### Type: string
|
||||
### Default value: ""
|
||||
### The package manager command you want to use instead.
|
||||
JSTMBASH_ALIASES_PKGMGR_REPLACE_TO="paru"
|
||||
## USE_EZA
|
||||
### Type: bool
|
||||
### Default value: true
|
||||
### Replaces ls and dir with eza
|
||||
JSTMBASH_ALIASES_USE_EZA=true
|
||||
## USE_BAT
|
||||
### Type: bool
|
||||
### Default value: true
|
||||
### Replaces cat with bat
|
||||
JSTMBASH_ALIASES_USE_BAT=false
|
||||
## USE_MOAR
|
||||
### Type: bool
|
||||
### Default value: true
|
||||
### Replaces less and more with moar
|
||||
JSTMBASH_ALIASES_USE_MOAR=true
|
||||
|
||||
# FANCIER
|
||||
## EZA
|
||||
### Type: bool
|
||||
### Default value: true
|
||||
### Makes eza fancier.
|
||||
JSTMBASH_FANCIER_EZA=true
|
||||
## EZA_LONG
|
||||
### Type: bool
|
||||
### Default value: false
|
||||
### Enables the -l flag
|
||||
JSTMBASH_FANCIER_EZA_LONG=true
|
||||
## EZA_DIRECTORIES_BEFORE_FILES
|
||||
### Type: bool
|
||||
### Default value: true
|
||||
### Lists directories before files
|
||||
### Only applies to long mode
|
||||
JSTMBASH_FANCIER_EZA_DIRECTORIES_BEFORE_FILES=true
|
||||
## EZA_SIZE1000
|
||||
### Type: bool
|
||||
### Default value: false
|
||||
### Displays in KB, MB, GB if true and in KiB, MiB, GiB if false
|
||||
### Only applies to long mode
|
||||
JSTMBASH_FANCIER_EZA_SIZE1000=false
|
||||
## EZA_DISPLAYMOUNTS
|
||||
### Type: bool
|
||||
### Default value: false
|
||||
### Displays mountpoint information
|
||||
### Only applies to long mode
|
||||
JSTMBASH_FANCIER_EZA_DISPLAY_MOUNTS=true
|
||||
## EZA_OCTAL_PERMISSIONS
|
||||
### Type: bool
|
||||
### Default value: false
|
||||
### Displays permissions with numbers
|
||||
### Example: ".rwxr--r--" -> "0744"
|
||||
### Only applies to long mode
|
||||
JSTMBASH_FANCIER_EZA_OCTAL_PERMISSIONS=false
|
||||
## EZA_GITINFO
|
||||
### Type: bool
|
||||
### Default value: true
|
||||
### Displays the git status for each file and directory
|
||||
### Only applies to long mode
|
||||
JSTMBASH_FANCIER_EZA_GITINFO=false
|
||||
## BAT
|
||||
### Type: bool
|
||||
### Default value: true
|
||||
### Makes bat fancier.
|
||||
JSTMBASH_FANCIER_BAT=true
|
||||
## BAT_USE_PAGER
|
||||
### Type: bool
|
||||
### Default value: true
|
||||
### Should bat use a pager?
|
||||
JSTM_FANCIER_BAT_USE_PAGER=false
|
||||
## MOAR
|
||||
### Type: bool
|
||||
### Default value: true
|
||||
### Makes moar fancier.
|
||||
JSTMBASH_FANCIER_MOAR=true
|
||||
## MOAR_STYLE
|
||||
### Type: string
|
||||
### Default value: "dracula"
|
||||
### What theme/style moar should use.
|
||||
JSTMBASH_FANCIER_MOAR_STYLE="dracula"
|
||||
## YTFZF
|
||||
### Type: bool
|
||||
### Default value: true
|
||||
### Makes ytfzf fancier.
|
||||
JSTMBASH_FANCIER_YTFZF=true
|
||||
## YTFZF_THUMBVIEWER
|
||||
### Type: string
|
||||
### Default value: "catimg"
|
||||
### Which thumbnail viewer program ytfzf should use.
|
||||
### Available are: chafa, catimg, imv, mpv, swayimg and swayimg-hyprland
|
||||
JSTMBASH_FANCIER_YTFZF_THUMBVIEWER="swayimg-hyprland"
|
||||
## YTFZF_ALLOW_NSFW
|
||||
### Type: bool
|
||||
### Default value: false
|
||||
### If ytfzf should 18+ content (only works for odysee/lbry).
|
||||
### We will bonk you if this is true!
|
||||
JSTMBASH_FANCIER_YTFZF_NSFW=false
|
||||
## YTFZF_REQUIRE_SUBTITLES
|
||||
### Type: bool
|
||||
### Default value: false
|
||||
### Only show videos with subtitles.
|
||||
JSTMBASH_FANCIER_YTFZF_SUBTITLES=false
|
||||
|
||||
# EOF <- Yes, you've reached the end.
|
11
install.sh
11
install.sh
|
@ -26,22 +26,12 @@ function link() {
|
|||
git pull
|
||||
)
|
||||
|
||||
[[ ! -d "repositories/jstmbash" ]] && git clone "https://git.staropensource.de/JeremyStarTM/jstmbash.git" repositories/jstmbash
|
||||
(
|
||||
cd repositories/jstmbash || (
|
||||
echo ":: Error: Can't cd into repositories/jstmbash"
|
||||
exit 1
|
||||
)
|
||||
git pull
|
||||
)
|
||||
|
||||
# create directories
|
||||
mkdir -p "${HOME}/.local/share/mc/skins" "${HOME}/.local/bin" "${HOME}/.config/xdg-desktop-portal" "/home/jeremystartm/.config/GIMP/2.10"
|
||||
|
||||
# repositories
|
||||
link "repositories/dracula-mc/skins/dracula.ini" ".local/share/mc/skins/dracula.ini"
|
||||
link "repositories/dracula-mc/skins/dracula256.ini" ".local/share/mc/skins/dracula256.ini"
|
||||
link "repositories/jstmbash" ".jstmbash"
|
||||
|
||||
# bash
|
||||
link "bash/bashrc" ".bashrc"
|
||||
|
@ -49,7 +39,6 @@ link "bash/bashrc.d" ".bashrc.d"
|
|||
link "bash/bin/launch-menu" ".local/bin/launch-menu"
|
||||
link "bash/jobrunner/daemon.sh" ".local/bin/jobrunner"
|
||||
link "bash/jobrunner/runjob.sh" ".local/bin/jobrunner-runjob"
|
||||
link "bash/jstmbash.config.env" ".config/jstmbash.env"
|
||||
link "bash/starship.toml" ".config/starship.toml"
|
||||
|
||||
# programs
|
||||
|
|
|
@ -12,7 +12,7 @@ function unlink() {
|
|||
}
|
||||
|
||||
# repositories
|
||||
[[ -n "$REMOVE_REPOSITORIES" ]] && rm -rf repositories/{jstmbash,dracula-mc}
|
||||
[[ -n "$REMOVE_REPOSITORIES" ]] && rm -rf repositories/dracula-mc
|
||||
|
||||
# install bit
|
||||
[[ -n "$REMOVE_INSTALLBIT" ]] && rm -rf "$HOME/.config/.jstm_dotfiles"
|
||||
|
@ -92,7 +92,6 @@ done
|
|||
# repositories
|
||||
unlink ".local/share/mc/skins/dracula.ini"
|
||||
unlink ".local/share/mc/skins/dracula256.ini"
|
||||
unlink ".jstmbash"
|
||||
|
||||
# bash
|
||||
unlink ".bashrc"
|
||||
|
@ -152,3 +151,4 @@ unlink ".local/bin/dotfiles-updater"
|
|||
# legacy
|
||||
unlink ".config/copyq"
|
||||
unlink ".config/eww"
|
||||
unlink ".jstmbash"
|
||||
|
|
Loading…
Reference in a new issue