Big move about + cleanup
This commit is contained in:
84
setup/config.setup.zsh
Normal file
84
setup/config.setup.zsh
Normal file
@ -0,0 +1,84 @@
|
||||
function SETUP__CONFIG() {
|
||||
############################################################################################
|
||||
# ~/.config/THE_REST .wryn/config/THE_REST
|
||||
CONFIG__SYMLINK '../.gitconfig' 'gitconfig'
|
||||
CONFIG__SYMLINK '../.tmux.conf' 'tmux.conf'
|
||||
CONFIG__SYMLINK '../.xinitrc' 'xinitrc'
|
||||
CONFIG__SYMLINK 'code-activator-zsh/settings.zsh' 'code-activator.conf'
|
||||
CONFIG__SYMLINK 'compton/compton.conf' 'compton.conf'
|
||||
CONFIG__SYMLINK 'i3/config' 'i3.conf'
|
||||
CONFIG__SYMLINK 'i3/utils' '../bin/i3/utils'
|
||||
CONFIG__SYMLINK 'i3status/config' 'i3status.conf'
|
||||
CONFIG__SYMLINK 'kitty/kitty.conf' 'kitty.conf'
|
||||
CONFIG__SYMLINK 'kitty/theme.conf' '../colorschemes/kitty.main'
|
||||
CONFIG__SYMLINK 'mssqlcli/config' 'mssqlcli.conf'
|
||||
CONFIG__SYMLINK 'pgcli/config' 'pgcli.conf'
|
||||
CONFIG__SYMLINK 'pylintrc' 'pylintrc'
|
||||
CONFIG__SYMLINK 'ripgrep/config' 'ripgrep.conf'
|
||||
CONFIG__SYMLINK 'wryn/sfx' '../bin/sfx/play.sh'
|
||||
############################################################################################
|
||||
|
||||
CONFIG__TERMINFO
|
||||
|
||||
CONFIG__RC 'zsh'
|
||||
CONFIG__RC 'vim'
|
||||
}
|
||||
|
||||
function CONFIG__SYMLINK() {
|
||||
local LOCAL_CONFIG="$HOME/.config/$1"
|
||||
local DOTWRYN_CONFIG="$DOTWRYN_PATH/config/$2"
|
||||
local FRIENDLY_NAME=$(echo $2 | sed 's/\.conf$//')
|
||||
|
||||
CHECK "linking $FRIENDLY_NAME"
|
||||
{
|
||||
mv "$LOCAL_CONFIG" "$LOCAL_CONFIG.bak"
|
||||
ln -s "$DOTWRYN_CONFIG" "$LOCAL_CONFIG"
|
||||
} >>$LOG 2>&1 && OK || WARN
|
||||
}
|
||||
|
||||
function CONFIG__TERMINFO() {
|
||||
for file in $(find "$DOTWRYN_PATH/setup/terminfo" -type f); do
|
||||
CHECK "adding $(basename $file)"
|
||||
tic -x $file >>$LOG 2>&1 \
|
||||
&& OK || WARN
|
||||
done
|
||||
}
|
||||
|
||||
function CONFIG__RC() {
|
||||
local DEFAULT_CONFIG="$DOTWRYN_PATH/setup/env/env.$1"
|
||||
local LOCAL_CONFIG="$HOME/.config/wryn/env.$1"
|
||||
|
||||
[ -f $LOCAL_CONFIG ] && {
|
||||
WARNING "local $1 configuration exists ($LOCAL_CONFIG)"
|
||||
USER_PROMPT 'overwrite? [y/N]'
|
||||
READ_K yn
|
||||
[[ $yn =~ ^[yY] ]] && {
|
||||
CHECK "backing up local copy ($LOCAL_CONFIG.bak)"
|
||||
mv "$LOCAL_CONFIG" "$LOCAL_CONFIG.bak" && OK || WARN
|
||||
} || {
|
||||
STATUS 'skipping'
|
||||
return
|
||||
}
|
||||
}
|
||||
|
||||
CHECK "setting up $1 configuration ($LOCAL_CONFIG)"
|
||||
|
||||
case $1 in
|
||||
vim ) COMMENT='"' ;;
|
||||
zsh ) COMMENT='#' ;;
|
||||
esac
|
||||
|
||||
{
|
||||
echo "source $DEFAULT_CONFIG"
|
||||
echo -e "\\n$COMMENT\n$COMMENT .wryn configuration overrides\n$COMMENT\n"
|
||||
sed "s/^[^$COMMENT].*/$COMMENT&/" $DEFAULT_CONFIG
|
||||
} > $LOCAL_CONFIG && OK || WARN
|
||||
|
||||
USER_PROMPT 'change local configuration options? [y/N]'
|
||||
READ_K yn
|
||||
|
||||
[[ $yn =~ ^[yY] ]] && {
|
||||
[ ! $EDITOR ] && EDITOR=vi
|
||||
$EDITOR "$HOME/.config/wryn/env.$1"
|
||||
}
|
||||
}
|
@ -1,90 +0,0 @@
|
||||
function SETUP__CONFIG() {
|
||||
############################################################################################
|
||||
# Friendly Name ~/.config/THE_REST .wryn/config/THE_REST (if different)
|
||||
CONFIG__SYMLINK 'compton' 'compton/compton.conf'
|
||||
CONFIG__SYMLINK 'codeactivator' 'code-activator-zsh/settings.zsh'
|
||||
CONFIG__SYMLINK 'i3 config' 'i3/config'
|
||||
CONFIG__SYMLINK 'i3 status' 'i3status/config'
|
||||
CONFIG__SYMLINK 'kitty config' 'kitty/kitty.conf'
|
||||
CONFIG__SYMLINK 'kitty theme' 'kitty/theme.conf'
|
||||
CONFIG__SYMLINK 'mssqlcli' 'mssqlcli/config'
|
||||
CONFIG__SYMLINK 'pgcli' 'pgcli/config'
|
||||
CONFIG__SYMLINK 'ripgrep' 'ripgrep/config'
|
||||
|
||||
CONFIG__SYMLINK 'git config' '../.gitconfig' 'git/gitconfig'
|
||||
CONFIG__SYMLINK 'i3 utils' 'wryn/i3utils' 'i3/utils'
|
||||
CONFIG__SYMLINK 'pylint global' 'pylintrc' 'pylint/pylintrc'
|
||||
CONFIG__SYMLINK 'sfx app' "wryn/sfx" '../bin/desktop/sfx/play.sh'
|
||||
CONFIG__SYMLINK 'tmux' '../.tmux.conf' 'tmux/tmux.conf'
|
||||
CONFIG__SYMLINK 'xinitrc' '../.xinitrc' 'xorg/xinitrc'
|
||||
############################################################################################
|
||||
|
||||
CONFIG__TERMINFO
|
||||
|
||||
CONFIG__RC 'zsh'
|
||||
CONFIG__RC 'vim'
|
||||
}
|
||||
|
||||
function CONFIG__SYMLINK() {
|
||||
local CONFIG_NAME="$1"
|
||||
|
||||
local TARGET="$2"
|
||||
local LOCAL_CONFIG="$HOME/.config/$TARGET"
|
||||
|
||||
# don't use third argument if config layout is identical
|
||||
[ $3 ] && TARGET="$3"
|
||||
local DOTWRYN_CONFIG="$DOTWRYN_PATH/config/$TARGET"
|
||||
|
||||
CHECK "linking $1"
|
||||
{
|
||||
mv "$LOCAL_CONFIG" "$LOCAL_CONFIG.bak"
|
||||
ln -s "$DOTWRYN_CONFIG" "$LOCAL_CONFIG"
|
||||
} >>$LOG 2>&1 && OK || WARN
|
||||
}
|
||||
|
||||
function CONFIG__TERMINFO() {
|
||||
for file in $(find "$DOTWRYN_PATH/config/terminfo" -type f); do
|
||||
CHECK "adding $(basename $file)"
|
||||
tic -x $file >>$LOG 2>&1 \
|
||||
&& OK || WARN
|
||||
done
|
||||
}
|
||||
|
||||
function CONFIG__RC() {
|
||||
local DEFAULT_CONFIG="$DOTWRYN_PATH/env/env.$1"
|
||||
local LOCAL_CONFIG="$HOME/.config/wryn/env/env.$1"
|
||||
|
||||
[ -f $LOCAL_CONFIG ] && {
|
||||
WARNING "local $1 configuration exists ($LOCAL_CONFIG)"
|
||||
USER_PROMPT 'overwrite? [y/N]'
|
||||
READ_K yn
|
||||
[[ $yn =~ ^[yY] ]] && {
|
||||
CHECK "backing up local copy ($LOCAL_CONFIG.bak)"
|
||||
mv "$LOCAL_CONFIG" "$LOCAL_CONFIG.bak" && OK || WARN
|
||||
} || {
|
||||
STATUS 'skipping'
|
||||
return
|
||||
}
|
||||
}
|
||||
|
||||
CHECK "setting up $1 configuration ($LOCAL_CONFIG)"
|
||||
|
||||
case $1 in
|
||||
vim ) COMMENT='"' ;;
|
||||
zsh ) COMMENT='#' ;;
|
||||
esac
|
||||
|
||||
{
|
||||
echo "source $DEFAULT_CONFIG"
|
||||
echo -e "\\n$COMMENT\n$COMMENT .wryn configuration overrides\n$COMMENT\n"
|
||||
sed "s/^[^$COMMENT].*/$COMMENT&/" $DEFAULT_CONFIG
|
||||
} > $LOCAL_CONFIG && OK || WARN
|
||||
|
||||
USER_PROMPT 'change local configuration options? [y/N]'
|
||||
READ_K yn
|
||||
|
||||
[[ $yn =~ ^[yY] ]] && {
|
||||
[ ! $EDITOR ] && EDITOR=vi
|
||||
$EDITOR "$HOME/.config/wryn/env/env.$1"
|
||||
}
|
||||
}
|
27
setup/env/env.vim
vendored
Normal file
27
setup/env/env.vim
vendored
Normal file
@ -0,0 +1,27 @@
|
||||
" -- RC Resources ----------------------------------------------- {{{
|
||||
let $DOTWRYN=expand("$HOME/.wryn")
|
||||
let $WRYNVIMPATH=expand("$DOTWRYN/vim")
|
||||
let $WRYNVIMRC=expand("$WRYNVIMPATH/rc.vim")
|
||||
let $BASHRC=expand("$HOME/.bashrc")
|
||||
let $ZSHRC=expand("$HOME/.zshrc")
|
||||
" }}}
|
||||
|
||||
" -- Leader bindings -------------------------------------------- {{{
|
||||
let mapleader = "\\"
|
||||
|
||||
nmap <BS> <Nop>
|
||||
let maplocalleader = "\<BS>"
|
||||
" }}}
|
||||
|
||||
" -- Colorscheme Settings --------------------------------------- {{{
|
||||
" favorites : tigrana-256-dark, codedark, lilydjwg_dark, up, skittles_autumn,
|
||||
" ........... vice, lanox, nightsky, made_of_code, moss, skittles_berry, pf_earth
|
||||
"
|
||||
" customs : snow
|
||||
let $COLORSCHEME="default"
|
||||
" }}}
|
||||
|
||||
" -- Web Browser Settings --------------------------------------- {{{
|
||||
" set the webbrowser locally
|
||||
"let $WEBBROWSER=""
|
||||
" }}}
|
81
setup/env/env.zsh
vendored
Normal file
81
setup/env/env.zsh
vendored
Normal file
@ -0,0 +1,81 @@
|
||||
#####################################################################
|
||||
### Path References #################################################
|
||||
#####################################################################
|
||||
|
||||
DOTWRYN="$HOME/.wryn"
|
||||
SFX_PATH="$HOME/Media/sfx"
|
||||
WALLPAPER_PATH="$HOME/Pictures/bg"
|
||||
|
||||
#####################################################################
|
||||
### Application Settings ############################################
|
||||
#####################################################################
|
||||
|
||||
PREFERRED_EDITOR=(vim vi)
|
||||
|
||||
# should play an audio file argument
|
||||
MEDIA_ENGINE='canberra-gtk-play -f'
|
||||
PLAY_SFX () {
|
||||
$HOME/.config/wryn/sfx $@ >/dev/null 2>&1
|
||||
}
|
||||
|
||||
RIPGREP_CONFIG_PATH="$HOME/.config/ripgrep/config"
|
||||
TMUX_DEFAULT_SESSION_NAME='wryn'
|
||||
WEBBROWSER='google-chrome-stable'
|
||||
|
||||
#I3__GLOBAL_FONT_SIZE=
|
||||
#I3__DMENU_FONT_SIZE=
|
||||
#I3__BORDER_PIXEL_SIZE=
|
||||
|
||||
DOTWRYN_AWS_PROFILE='yage'
|
||||
DOTWRYN_AWS_REGION='us-east-2'
|
||||
DOTWRYN_AWS_OUTPUT='json'
|
||||
|
||||
S3_SYNC_AWS_PROFILE=$DOTWRYN_AWS_PROFILE
|
||||
S3_SYNC_BUCKET='yage'
|
||||
S3_SYNC_MEDIA=(
|
||||
#".local/share/dolphin-emu"
|
||||
#"Games/roms"
|
||||
#"Games/wrynscape"
|
||||
"Media/fe10-radiant-dawn-ost"
|
||||
"Media/fiesta-online-ost"
|
||||
"Media/sfx"
|
||||
"Pictures/bg"
|
||||
"Pictures/bg-archives"
|
||||
"Pictures/custom-emoji"
|
||||
"Pictures/jest"
|
||||
"Pictures/profile"
|
||||
)
|
||||
|
||||
|
||||
PS1_BRANCH_SYMBOL=''
|
||||
PS1_INDICATOR_SYMBOL='☕'
|
||||
PS1_SEPARATOR='::'
|
||||
PS1_USER='%n'
|
||||
|
||||
WELCOME () {
|
||||
{ figlet 'Welcome, beautiful'; cowsay -p 'damn u sexy'; } | lolcat
|
||||
}
|
||||
|
||||
#####################################################################
|
||||
### External Plugins / Settings #####################################
|
||||
#####################################################################
|
||||
|
||||
EXTERNAL_PLUGINS=(
|
||||
'/usr/share/fzf/key-bindings.zsh'
|
||||
'/usr/share/fzf/completion.zsh'
|
||||
"$DOTWRYN/zsh/plugins/z/z.sh"
|
||||
"$DOTWRYN/zsh/plugins/fzf-tab/fzf-tab.plugin.zsh"
|
||||
"$DOTWRYN/zsh/plugins/code-activator/activator.plugin.zsh"
|
||||
"$DOTWRYN/zsh/plugins/latex/latex.plugin.zsh"
|
||||
"$DOTWRYN/zsh/plugins/ssh/ssh.plugin.zsh"
|
||||
"$DOTWRYN/zsh/plugins/memo/memo.plugin.zsh"
|
||||
)
|
||||
|
||||
FZF_DEFAULT_OPTS='--reverse'
|
||||
FZF_DEFAULT_COMMAND='rg --files'
|
||||
|
||||
zstyle ':fzf-tab:*' accept-line enter
|
||||
zstyle ':fzf-tab:*' fzf-bindings 'space:accept' ';:toggle'
|
||||
zstyle ':fzf-tab:*' continuous-trigger '/'
|
||||
|
||||
export ZSH_COLOR_UTIL="$DOTWRYN/zsh/plugins/color/color.module.zsh"
|
37
setup/freeze/2019-oct-macbook-osx/brew_packages
Normal file
37
setup/freeze/2019-oct-macbook-osx/brew_packages
Normal file
@ -0,0 +1,37 @@
|
||||
axel
|
||||
clisp
|
||||
cmake
|
||||
cmatrix
|
||||
cowsay
|
||||
ext4fuse
|
||||
figlet
|
||||
findutils
|
||||
fortune
|
||||
gcc
|
||||
ghostscript
|
||||
git
|
||||
gnu-getopt
|
||||
gradle
|
||||
htop
|
||||
tomanthony/brews/itermocil
|
||||
jp2a
|
||||
libxmlsec1
|
||||
llvm
|
||||
lolcat
|
||||
lorem
|
||||
lynx
|
||||
minicom
|
||||
mono
|
||||
mutt
|
||||
nethack
|
||||
nmap
|
||||
node
|
||||
pkg-config
|
||||
postgresql
|
||||
python@2
|
||||
sl
|
||||
rockymadden/rockymadden/slack-cli
|
||||
vim
|
||||
w3m
|
||||
watch
|
||||
wget
|
10
setup/freeze/2019-oct-macbook-osx/pip_packages
Normal file
10
setup/freeze/2019-oct-macbook-osx/pip_packages
Normal file
@ -0,0 +1,10 @@
|
||||
amqp==2.1.4
|
||||
appdirs==1.4.0
|
||||
asn1crypto==0.23.0
|
||||
gpg==1.13.1
|
||||
mock==2.0.0
|
||||
pbr==3.1.1
|
||||
nodeenv==1.3.3
|
||||
six==1.10.0
|
||||
vine==1.1.3
|
||||
virtualenv==16.7.3
|
17
setup/freeze/2019-oct-macbook-osx/rcpathvars
Normal file
17
setup/freeze/2019-oct-macbook-osx/rcpathvars
Normal file
@ -0,0 +1,17 @@
|
||||
# for pyenv
|
||||
#export PATH="/Users/w0ryn/.pyenv:$PATH"
|
||||
#eval "$(pyenv init -)"
|
||||
|
||||
#export LDFLAGS="-L/usr/local/opt/openssl/lib"
|
||||
export LDFLAGS="-L/usr/local/opt/llvm/lib -Wl,-rpath,/usr/local/opt/llvm/lib"
|
||||
#LDFLAGS += -L/usr/local/opt/llvm/lib -Wl,-rpath,/usr/local/opt/llvm/lib
|
||||
|
||||
#export CPPFLAGS="-I/usr/local/opt/openssl/include"
|
||||
export CPPFLAGS="-I/usr/local/opt/llvm/include -I/usr/local/opt/llvm/include/c++/v1/"
|
||||
#CPPFLAGS += -I/usr/local/opt/llvm/include -I/usr/local/opt/llvm/include/c++/v1/
|
||||
|
||||
export PATH="/usr/local/opt/llvm/bin:$PATH"
|
||||
export PKG_CONFIG_PATH="/usr/local/opt/openssl/lib/pkgconfig"
|
||||
export PYCURL_SSL_LIBRARY=openssl
|
||||
|
||||
export PATH="/usr/local/opt/gnu-getopt/bin:$PATH"
|
32
setup/freeze/2019-oct-macbook-osx/setup
Normal file
32
setup/freeze/2019-oct-macbook-osx/setup
Normal file
@ -0,0 +1,32 @@
|
||||
#!/bin/bash
|
||||
echo Setting up preferred utilities...
|
||||
local INSTALL_LOCATION='~/.wryn/new_computer_setup'
|
||||
|
||||
sudo xcode-select --install;
|
||||
brew update; # install brew
|
||||
|
||||
brew --version;
|
||||
[ $? -ne 0 ] && echo failed to install homebrew && return 1
|
||||
|
||||
brew update; # install brew packages
|
||||
|
||||
for package in $(cat $INSTALL_LOCATION/osx/brew_packages); do
|
||||
brew install "$package"
|
||||
done;
|
||||
|
||||
# mssql install
|
||||
#brew install freetds@0.91
|
||||
#brew link --force freedts@0.91
|
||||
#brew tap microsoft/mssqul-release https://github.com/Microsoft/homebrew-m2
|
||||
#brew update
|
||||
#brew install --no-sandbox msodbcsql
|
||||
|
||||
brew services start postgresql
|
||||
|
||||
# use ~/.bashrc instead
|
||||
[[ ! -f ~/.bashrc ]] && touch ~/.bashrc
|
||||
echo '[[ -s ~/.bashrc ]] && source ~/.bashrc' >> ~/.bash_profile
|
||||
cat $INSTALL_LOCATION/osx/rcpathvars >> ~/.bashrc
|
||||
|
||||
# python packages
|
||||
pip3 install -r pip_packages
|
25
setup/freeze/2020-jan-macbook-arch/aurlist.txt
Normal file
25
setup/freeze/2020-jan-macbook-arch/aurlist.txt
Normal file
@ -0,0 +1,25 @@
|
||||
1password-cli
|
||||
android-messages-desktop
|
||||
datagrip
|
||||
gmux_backlight
|
||||
google-chrome
|
||||
jdk
|
||||
lorem-ipsum-generator
|
||||
mbpfan-git
|
||||
mcpelauncher-linux-git
|
||||
mcpelauncher-msa-git
|
||||
mcpelauncher-msa-ui-qt-git
|
||||
mcpelauncher-ui-git
|
||||
msodbcsql
|
||||
mssql-cli
|
||||
nvidia-bl
|
||||
pgcli-git
|
||||
python36
|
||||
python37
|
||||
quicklisp
|
||||
slack-cli
|
||||
slack-desktop
|
||||
thermald
|
||||
tpp
|
||||
vmail
|
||||
yay
|
85
setup/freeze/2020-jan-macbook-arch/piplist.txt
Normal file
85
setup/freeze/2020-jan-macbook-arch/piplist.txt
Normal file
@ -0,0 +1,85 @@
|
||||
absl-py==0.8.1
|
||||
anytree==2.8.0
|
||||
appdirs==1.4.3
|
||||
applicationinsights==0.11.9
|
||||
arandr==0.1.10
|
||||
backports.csv==1.0.7
|
||||
Beaker==1.11.0
|
||||
btrfsutil==1.1.1
|
||||
CacheControl==0.12.6
|
||||
chardet==3.0.4
|
||||
cli-helpers==1.2.0
|
||||
Click==7.0
|
||||
colorama==0.4.3
|
||||
configobj==5.0.6
|
||||
contextlib2==0.6.0
|
||||
dill==0.3.1.1
|
||||
distlib==0.3.0
|
||||
distro==1.4.0
|
||||
evdev==1.3.0
|
||||
future==0.18.2
|
||||
googleapis-common-protos==1.6.0
|
||||
greenlet==0.4.15
|
||||
html5lib==1.0.1
|
||||
humanize==0.5.1
|
||||
idna==2.9
|
||||
importlib-metadata==1.5.0
|
||||
lit==0.9.1.dev0
|
||||
lockfile==0.12.2
|
||||
loremipsum==1.0.5
|
||||
louis==3.13.0
|
||||
lutris==0.5.4
|
||||
lxml==4.5.0
|
||||
Mako==1.1.2
|
||||
mallard-ducktype==1.0.2
|
||||
Markdown==3.1.1
|
||||
MarkupSafe==1.1.1
|
||||
more-itertools==8.2.0
|
||||
msgpack==0.6.2
|
||||
mysqlclient==1.4.6
|
||||
nodeenv==1.3.3
|
||||
numpy==1.17.4
|
||||
ordered-set==3.1.1
|
||||
packaging==20.3
|
||||
pep517==0.8.1
|
||||
pgcli==2.2.0
|
||||
pgspecial==1.11.9
|
||||
Pillow==6.2.1
|
||||
progress==1.5
|
||||
promise==2.2.1
|
||||
prompt-toolkit==3.0.4
|
||||
protobuf==3.11.0
|
||||
psycopg2==2.8.4
|
||||
pulsemixer==1.5.0
|
||||
pycairo==1.19.1
|
||||
pyfiglet==0.8.post0
|
||||
Pygments==2.6.1
|
||||
PyGObject==3.36.0
|
||||
PyOpenGL==3.1.5
|
||||
pyparsing==2.4.6
|
||||
PyQt5==5.14.1
|
||||
PyQt5-sip==12.7.1
|
||||
python-dateutil==2.8.1
|
||||
pytoml==0.1.21
|
||||
PyYAML==5.3
|
||||
requests==2.23.0
|
||||
retrying==1.3.3
|
||||
setproctitle==1.1.10
|
||||
six==1.14.0
|
||||
sqlparse==0.3.1
|
||||
tabulate==0.8.6
|
||||
team==1.0
|
||||
tensorflow-datasets==1.3.0
|
||||
tensorflow-metadata==0.15.1
|
||||
termcolor==1.1.0
|
||||
termdown==1.16.0
|
||||
terminaltables==3.1.0
|
||||
toml==0.10.0
|
||||
tqdm==4.39.0
|
||||
urllib3==1.25.8
|
||||
virtualenv==16.7.8
|
||||
wcwidth==0.1.8
|
||||
webencodings==0.5.1
|
||||
wpm==1.51.5
|
||||
wrapt==1.11.2
|
||||
zipp==3.1.0
|
205
setup/freeze/2020-jan-macbook-arch/pkglist.txt
Normal file
205
setup/freeze/2020-jan-macbook-arch/pkglist.txt
Normal file
@ -0,0 +1,205 @@
|
||||
alsa-utils
|
||||
apache
|
||||
arandr
|
||||
autoconf
|
||||
autoconf-archive
|
||||
automake
|
||||
axel
|
||||
bash
|
||||
binutils
|
||||
bison
|
||||
bluez
|
||||
bluez-tools
|
||||
bluez-utils
|
||||
broadcom-wl-dkms
|
||||
bzip2
|
||||
clisp
|
||||
cmake
|
||||
cmatrix
|
||||
coreutils
|
||||
cowsay
|
||||
cpupower
|
||||
cronie
|
||||
cryptsetup
|
||||
cups
|
||||
deepin-screenshot
|
||||
device-mapper
|
||||
dhcpcd
|
||||
diffutils
|
||||
discord
|
||||
dmenu
|
||||
docbook-xml
|
||||
docbook-xsl
|
||||
e2fsprogs
|
||||
efibootmgr
|
||||
espeak
|
||||
fakeroot
|
||||
feh
|
||||
figlet
|
||||
file
|
||||
filesystem
|
||||
findutils
|
||||
flex
|
||||
fortune-mod
|
||||
freeglut
|
||||
freetds
|
||||
fzf
|
||||
gawk
|
||||
gcc
|
||||
gcc-libs
|
||||
gettext
|
||||
git
|
||||
glib2-docs
|
||||
glibc
|
||||
gnome-common
|
||||
gobject-introspection
|
||||
grep
|
||||
groff
|
||||
grub
|
||||
gtk-doc
|
||||
gzip
|
||||
hdf5
|
||||
hplip
|
||||
htop
|
||||
i3-gaps
|
||||
i3blocks
|
||||
i3lock
|
||||
i3status
|
||||
i7z
|
||||
inetutils
|
||||
intel-ucode
|
||||
intltool
|
||||
iproute2
|
||||
iputils
|
||||
itstool
|
||||
jfsutils
|
||||
jq
|
||||
jshon
|
||||
kitty
|
||||
less
|
||||
lib32-alsa-plugins
|
||||
lib32-libpulse
|
||||
lib32-nvidia-utils
|
||||
lib32-vulkan-icd-loader
|
||||
libtool
|
||||
licenses
|
||||
light
|
||||
linux
|
||||
linux-firmware
|
||||
linux-headers
|
||||
logrotate
|
||||
lolcat
|
||||
lutris
|
||||
lvm2
|
||||
m4
|
||||
make
|
||||
mako
|
||||
mallard-ducktype
|
||||
man-db
|
||||
man-pages
|
||||
mdadm
|
||||
mdp
|
||||
mono
|
||||
nano
|
||||
net-tools
|
||||
netctl
|
||||
nethack
|
||||
networkmanager
|
||||
nmap
|
||||
nodejs
|
||||
ntp
|
||||
nvidia
|
||||
nvidia-settings
|
||||
opencv
|
||||
opencv-samples
|
||||
openssh
|
||||
pacman
|
||||
patch
|
||||
pavucontrol
|
||||
pciutils
|
||||
perl
|
||||
perl-anyevent-i3
|
||||
perl-json-xs
|
||||
perl-xml-parser
|
||||
picom
|
||||
pkgconf
|
||||
postgresql
|
||||
postgresql-docs
|
||||
postgresql-old-upgrade
|
||||
procps-ng
|
||||
psmisc
|
||||
pulsemixer
|
||||
python-anytree
|
||||
python-beaker
|
||||
python-lxml
|
||||
python-markdown
|
||||
python-markupsafe
|
||||
python-mysqlclient
|
||||
python-opengl
|
||||
python-pip
|
||||
python-psycopg2
|
||||
python-pygments
|
||||
python-pyqt5
|
||||
python2-pip
|
||||
refind-efi
|
||||
reiserfsprogs
|
||||
ruby-ncurses
|
||||
s-nail
|
||||
sbcl
|
||||
screen
|
||||
sed
|
||||
shadow
|
||||
sl
|
||||
sudo
|
||||
sxiv
|
||||
sysfsutils
|
||||
systemd
|
||||
systemd-sysvcompat
|
||||
tar
|
||||
termdown
|
||||
terminus-font
|
||||
texinfo
|
||||
texlive-bibtexextra
|
||||
texlive-core
|
||||
texlive-fontsextra
|
||||
texlive-formatsextra
|
||||
texlive-games
|
||||
texlive-humanities
|
||||
texlive-latexextra
|
||||
texlive-music
|
||||
texlive-pictures
|
||||
texlive-pstricks
|
||||
texlive-publishers
|
||||
texlive-science
|
||||
tk
|
||||
tlp
|
||||
tmux
|
||||
ttf-dejavu
|
||||
unixodbc
|
||||
usbutils
|
||||
util-linux
|
||||
uwsgi-plugin-python
|
||||
vbam-wx
|
||||
vi
|
||||
vim
|
||||
vulkan-intel
|
||||
w3m
|
||||
wget
|
||||
which
|
||||
wine
|
||||
x11vnc
|
||||
xclip
|
||||
xfce4-power-manager
|
||||
xfce4-pulseaudio-plugin
|
||||
xfsprogs
|
||||
xmlsec
|
||||
xorg-xbacklight
|
||||
xorg-xdpyinfo
|
||||
xorg-xev
|
||||
xorg-xinit
|
||||
xorg-xrandr
|
||||
yelp-tools
|
||||
yelp-xsl
|
||||
zip
|
||||
zsh
|
||||
zsh-completions
|
46
setup/freeze/2020-sep-macbook-arch/aurlist.txt
Normal file
46
setup/freeze/2020-sep-macbook-arch/aurlist.txt
Normal file
@ -0,0 +1,46 @@
|
||||
1password-cli
|
||||
android-messages-desktop
|
||||
bashtop-git
|
||||
bcwc-pcie-git
|
||||
elgato-gchd
|
||||
facetimehd-firmware
|
||||
gconf
|
||||
gmux_backlight
|
||||
google-chrome
|
||||
jdk
|
||||
jre
|
||||
lib32-libevdev
|
||||
libffi6
|
||||
lorem-ipsum-generator
|
||||
mbpfan-git
|
||||
minecraft-launcher
|
||||
msodbcsql
|
||||
mssql-cli
|
||||
mssql-tools
|
||||
nvidia-bl
|
||||
pgcli
|
||||
python-applicationinsights
|
||||
python-cli_helpers
|
||||
python-pgspecial
|
||||
python-rtmidi
|
||||
python2-pytoml
|
||||
python36
|
||||
python37
|
||||
qtws-base
|
||||
quicklisp
|
||||
ruby-blockenspiel
|
||||
ruby-highline
|
||||
ruby-sequel
|
||||
ruby-versionomy
|
||||
runelite
|
||||
slack-cli
|
||||
slack-desktop
|
||||
steamcmd
|
||||
tpp
|
||||
ttf-muli
|
||||
v4l2loopback-dkms-git
|
||||
vmail
|
||||
xautoclick
|
||||
xorg-font-utils
|
||||
yay
|
||||
youtubemusic-nativefier
|
127
setup/freeze/2020-sep-macbook-arch/piplist.txt
Normal file
127
setup/freeze/2020-sep-macbook-arch/piplist.txt
Normal file
@ -0,0 +1,127 @@
|
||||
absl-py==0.8.1
|
||||
anytree==2.8.0
|
||||
apparmor==2.13.4
|
||||
appdirs==1.4.4
|
||||
applicationinsights==0.11.9
|
||||
arandr==0.1.10
|
||||
argcomplete==1.11.1
|
||||
asn1crypto==1.4.0
|
||||
astroid==2.4.2
|
||||
backports.csv==1.0.7
|
||||
Beaker==1.11.0
|
||||
btrfsutil==1.2.0
|
||||
CacheControl==0.12.6
|
||||
certifi==2020.6.20
|
||||
cffi==1.14.2
|
||||
chardet==3.0.4
|
||||
cli-helpers==0.2.3
|
||||
click==7.1.2
|
||||
colorama==0.4.3
|
||||
configobj==5.0.6
|
||||
contextlib2==0.6.0.post1
|
||||
coverage==5.0.4
|
||||
cryptography==3.1
|
||||
Cython==0.29.21
|
||||
dill==0.3.1.1
|
||||
distlib==0.3.1
|
||||
distro==1.5.0
|
||||
drawille==0.1.0
|
||||
entrypoints==0.3
|
||||
enum34==1.1.10
|
||||
evdev==1.3.0
|
||||
factories==1.2.0
|
||||
flake8==3.8.3
|
||||
flake8-polyfill==1.0.2
|
||||
future==0.18.2
|
||||
googleapis-common-protos==1.6.0
|
||||
greenlet==0.4.16
|
||||
html5lib==1.1
|
||||
huepy==1.2.1
|
||||
humanize==0.5.1
|
||||
idna==2.10
|
||||
importlib-metadata==1.6.1
|
||||
isort==5.5.2
|
||||
jeepney==0.4.3
|
||||
keyring==21.4.0
|
||||
launchpad-py==0.8.3
|
||||
lazy-object-proxy==1.5.1
|
||||
LibAppArmor==2.13.4
|
||||
lit==0.10.1.dev0
|
||||
lockfile==0.12.2
|
||||
loremipsum==1.0.5
|
||||
louis==3.15.0
|
||||
lxml==4.5.2
|
||||
Mako==1.1.3
|
||||
mallard-ducktype==1.0.2
|
||||
Markdown==3.2.2
|
||||
MarkupSafe==1.1.1
|
||||
mccabe==0.6.1
|
||||
more-itertools==8.5.0
|
||||
msgpack==1.0.0
|
||||
mssql-cli @ file:///home/w0ryn/.cache/yay/mssql-cli/src/mssql_cli-1.0.0-py2.py3-none-manylinux1_x86_64.whl
|
||||
mssql-scripter==1.0.0a23
|
||||
mysqlclient==2.0.1
|
||||
nodeenv==1.3.3
|
||||
nose2==0.9.2
|
||||
npyscreen==4.10.5
|
||||
numpy==1.19.2
|
||||
ordered-set==4.0.2
|
||||
packaging==20.4
|
||||
pep517==0.8.2
|
||||
pep8-naming==0.10.0
|
||||
pgcli==3.0.0
|
||||
pgspecial==1.11.10
|
||||
Pillow==7.2.0
|
||||
ply==3.11
|
||||
progress==1.5
|
||||
promise==2.2.1
|
||||
prompt-toolkit==2.0.10
|
||||
protobuf==3.11.0
|
||||
psutil==5.7.2
|
||||
psycopg2==2.8.6
|
||||
pulsemixer==1.5.1
|
||||
pycairo==1.19.1
|
||||
pycodestyle==2.6.0
|
||||
pycparser==2.20
|
||||
pyfiglet==0.8.post0
|
||||
pyflakes==2.2.0
|
||||
Pygments==2.7.0
|
||||
PyGObject==3.36.1
|
||||
pylint==2.5.3
|
||||
PyOpenGL==3.1.5
|
||||
pyOpenSSL==19.1.0
|
||||
pyparsing==2.4.7
|
||||
PyQt5==5.15.1
|
||||
PyQt5-sip==12.8.1
|
||||
python-dateutil==2.8.1
|
||||
python-rtmidi==1.4.5
|
||||
pytoml==0.1.21
|
||||
PyYAML==5.3.1
|
||||
qute==1.0.10
|
||||
redis==3.5.3
|
||||
regex==2020.7.14
|
||||
requests==2.24.0
|
||||
resolvelib==0.4.0
|
||||
retrying==1.3.3
|
||||
scipy==1.5.2
|
||||
scribble==1.0.0
|
||||
SecretStorage==3.1.2
|
||||
setproctitle==1.1.10
|
||||
six==1.15.0
|
||||
sqlparse==0.2.4
|
||||
tabulate==0.8.7
|
||||
team==1.0
|
||||
tensorflow-datasets==1.3.0
|
||||
tensorflow-metadata==0.15.1
|
||||
termcolor==1.1.0
|
||||
termdown==1.17.0
|
||||
terminaltables==3.1.0
|
||||
toml==0.10.1
|
||||
tqdm==4.39.0
|
||||
urllib3==1.25.10
|
||||
virtualenv==16.7.8
|
||||
wcwidth==0.2.5
|
||||
webencodings==0.5.1
|
||||
wpm==1.51.5
|
||||
wrapt==1.12.1
|
||||
zipp==3.1.0
|
258
setup/freeze/2020-sep-macbook-arch/pkglist.txt
Normal file
258
setup/freeze/2020-sep-macbook-arch/pkglist.txt
Normal file
@ -0,0 +1,258 @@
|
||||
1password-cli
|
||||
alsa-utils
|
||||
android-messages-desktop
|
||||
apache
|
||||
arandr
|
||||
autoconf
|
||||
autoconf-archive
|
||||
automake
|
||||
axel
|
||||
bash
|
||||
bashtop-git
|
||||
bcwc-pcie-git
|
||||
binutils
|
||||
bison
|
||||
bluez
|
||||
bluez-tools
|
||||
bluez-utils
|
||||
broadcom-wl-dkms
|
||||
bzip2
|
||||
clisp
|
||||
cmake
|
||||
cmatrix
|
||||
coreutils
|
||||
cowsay
|
||||
cpupower
|
||||
cronie
|
||||
cryptsetup
|
||||
cups
|
||||
deepin-screen-recorder
|
||||
device-mapper
|
||||
dhcpcd
|
||||
diffutils
|
||||
discord
|
||||
dmenu
|
||||
dmidecode
|
||||
docbook-xml
|
||||
docbook-xsl
|
||||
docker
|
||||
e2fsprogs
|
||||
efibootmgr
|
||||
elgato-gchd
|
||||
espeak
|
||||
fakeroot
|
||||
feh
|
||||
figlet
|
||||
file
|
||||
filesystem
|
||||
findutils
|
||||
flex
|
||||
fortune-mod
|
||||
freeglut
|
||||
freetds
|
||||
fzf
|
||||
gawk
|
||||
gcc
|
||||
gcc-libs
|
||||
gettext
|
||||
git
|
||||
glib2-docs
|
||||
glibc
|
||||
gmux_backlight
|
||||
gobject-introspection
|
||||
google-chrome
|
||||
gradle
|
||||
grep
|
||||
groff
|
||||
grub
|
||||
gtk-doc
|
||||
gzip
|
||||
hdf5
|
||||
hplip
|
||||
htop
|
||||
hwdetect
|
||||
i3-gaps
|
||||
i3blocks
|
||||
i3lock
|
||||
i3status
|
||||
i7z
|
||||
inetutils
|
||||
intel-ucode
|
||||
intltool
|
||||
iproute2
|
||||
iputils
|
||||
itstool
|
||||
jdk
|
||||
jfsutils
|
||||
jq
|
||||
jre
|
||||
jshon
|
||||
kitty
|
||||
less
|
||||
lib32-alsa-plugins
|
||||
lib32-libpulse
|
||||
lib32-nvidia-utils
|
||||
lib32-v4l-utils
|
||||
lib32-vulkan-icd-loader
|
||||
libffi6
|
||||
libtool
|
||||
licenses
|
||||
light
|
||||
linux
|
||||
linux-firmware
|
||||
linux-headers
|
||||
logrotate
|
||||
lolcat
|
||||
lorem-ipsum-generator
|
||||
lua-sec
|
||||
lvm2
|
||||
m4
|
||||
make
|
||||
mako
|
||||
mallard-ducktype
|
||||
man-db
|
||||
man-pages
|
||||
mbpfan-git
|
||||
mdadm
|
||||
mdp
|
||||
minecraft-launcher
|
||||
mono
|
||||
msodbcsql
|
||||
mssql-cli
|
||||
mssql-tools
|
||||
nano
|
||||
net-tools
|
||||
netctl
|
||||
nethack
|
||||
networkmanager
|
||||
nmap
|
||||
nodejs
|
||||
ntp
|
||||
nvidia
|
||||
nvidia-bl
|
||||
nvidia-settings
|
||||
obs-studio
|
||||
opencv
|
||||
opencv-samples
|
||||
openssh
|
||||
pacman
|
||||
patch
|
||||
pavucontrol
|
||||
pciutils
|
||||
perl
|
||||
perl-anyevent-i3
|
||||
perl-json-xs
|
||||
perl-xml-parser
|
||||
pgcli
|
||||
picom
|
||||
pkgconf
|
||||
postgresql
|
||||
postgresql-docs
|
||||
postgresql-old-upgrade
|
||||
powertop
|
||||
procps-ng
|
||||
psmisc
|
||||
pulseaudio-alsa
|
||||
pulseaudio-bluetooth
|
||||
pulsemixer
|
||||
python-anytree
|
||||
python-beaker
|
||||
python-lxml
|
||||
python-markdown
|
||||
python-markupsafe
|
||||
python-mysqlclient
|
||||
python-numpy
|
||||
python-opengl
|
||||
python-pip
|
||||
python-psycopg2
|
||||
python-pygments
|
||||
python-pylint
|
||||
python-pyopenssl
|
||||
python-pyqt5
|
||||
python-redis
|
||||
python-rtmidi
|
||||
python-scipy
|
||||
python2-pip
|
||||
python36
|
||||
python37
|
||||
quicklisp
|
||||
redis
|
||||
refind
|
||||
reiserfsprogs
|
||||
ripgrep
|
||||
ruby-ncurses
|
||||
runelite
|
||||
s-nail
|
||||
sbcl
|
||||
screen
|
||||
sed
|
||||
shadow
|
||||
sl
|
||||
slack-cli
|
||||
slack-desktop
|
||||
soundfont-fluid
|
||||
sshfs
|
||||
steam
|
||||
steamcmd
|
||||
sudo
|
||||
sxiv
|
||||
sysfsutils
|
||||
systemd
|
||||
systemd-sysvcompat
|
||||
tar
|
||||
termdown
|
||||
terminus-font
|
||||
texinfo
|
||||
texlive-bibtexextra
|
||||
texlive-core
|
||||
texlive-fontsextra
|
||||
texlive-formatsextra
|
||||
texlive-games
|
||||
texlive-humanities
|
||||
texlive-latexextra
|
||||
texlive-music
|
||||
texlive-pictures
|
||||
texlive-pstricks
|
||||
texlive-publishers
|
||||
texlive-science
|
||||
thermald
|
||||
timidity++
|
||||
tk
|
||||
tlp
|
||||
tmux
|
||||
tpp
|
||||
ttf-dejavu
|
||||
unixodbc
|
||||
usbutils
|
||||
util-linux
|
||||
uwsgi-plugin-python
|
||||
v4l2loopback-dkms-git
|
||||
vbam-wx
|
||||
vi
|
||||
vim
|
||||
vmail
|
||||
vulkan-intel
|
||||
w3m
|
||||
wget
|
||||
which
|
||||
wine
|
||||
x11vnc
|
||||
xautoclick
|
||||
xclip
|
||||
xdotool
|
||||
xfce4-power-manager
|
||||
xfce4-pulseaudio-plugin
|
||||
xfsprogs
|
||||
xmlsec
|
||||
xorg-xbacklight
|
||||
xorg-xdpyinfo
|
||||
xorg-xev
|
||||
xorg-xinit
|
||||
xorg-xrandr
|
||||
yay
|
||||
yelp-tools
|
||||
yelp-xsl
|
||||
youtubemusic-nativefier
|
||||
zip
|
||||
zsh
|
||||
zsh-completions
|
9
setup/freeze/systemd-utils/dell-xps13-7390/powertop.service
Executable file
9
setup/freeze/systemd-utils/dell-xps13-7390/powertop.service
Executable file
@ -0,0 +1,9 @@
|
||||
[Unit]
|
||||
Description=Powertop tunings
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/usr/bin/powertop --auto-tune
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
8
setup/freeze/systemd-utils/macbook_pro13/backlight-control.service
Executable file
8
setup/freeze/systemd-utils/macbook_pro13/backlight-control.service
Executable file
@ -0,0 +1,8 @@
|
||||
[Unit]
|
||||
Description=Enables the gmux backlighting. This is a non-standard NVIDIA issue on Macbooks
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/bin/bash -c 'setpci -v -H1 -s 00:01.00 BRIDGE_CONTROL=0; gmux_backlight 400'
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
8
setup/freeze/systemd-utils/macbook_pro13/suppress-gpe.service
Executable file
8
setup/freeze/systemd-utils/macbook_pro13/suppress-gpe.service
Executable file
@ -0,0 +1,8 @@
|
||||
[Unit]
|
||||
Description=Disables GPE 66, an interrupt that is going crazy on Macs
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/bin/bash -c 'echo "disable" > /sys/firmware/acpi/interrupts/gpe16; echo "disable" > /sys/firmware/acpi/interrupts/gpe17;'
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
7
setup/freeze/systemd-utils/macbook_pro13/suspend-fix.service
Executable file
7
setup/freeze/systemd-utils/macbook_pro13/suspend-fix.service
Executable file
@ -0,0 +1,7 @@
|
||||
[Unit]
|
||||
Description=Disables magnetic sensor wakeup, allowing arch to sleep
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/bin/sh -c "echo XHC! > /proc/acpi/wakeup && echo LID0 > /proc/acpi/wakeup"
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
22
setup/linux
22
setup/linux
@ -23,12 +23,16 @@ SOURCE_ZSH_SUBMODULE() {
|
||||
}
|
||||
|
||||
INIT() {
|
||||
printf 'initializing required submodules...'
|
||||
git submodule update --init --remote --recursive >/dev/null 2>&1 || {
|
||||
echo 'failed!'
|
||||
echo 'unable to initialize required submodules'
|
||||
exit 1
|
||||
}
|
||||
SOURCE_ZSH_SUBMODULE 'color-zsh'
|
||||
source "$DOTWRYN_PATH/zsh/utils/user-input.zsh"
|
||||
echo 'done!'
|
||||
source "$DOTWRYN_PATH/zsh/utils"
|
||||
clear
|
||||
STATUS 'starting .wryn install'
|
||||
|
||||
export LOG="$HOME/dotwryn-install.log"
|
||||
@ -73,12 +77,12 @@ CLEAN_BACKUP() {
|
||||
for file in $(find "$HOME/.config/" -name \*.bak 2>/dev/null)
|
||||
do
|
||||
CHECK "removing '$file'"
|
||||
rm $file >>$LOG 2>&1 && OK || WARN
|
||||
rm -- "$file" >>$LOG 2>&1 && OK || WARN
|
||||
done
|
||||
for file in $(find "$HOME" -maxdepth 1 -name .\*.bak 2>/dev/null)
|
||||
do
|
||||
CHECK "removing '$file'"
|
||||
rm $file >>$LOG 2>&1 && OK || WARN
|
||||
rm -- "$file" >>$LOG 2>&1 && OK || WARN
|
||||
done
|
||||
;;
|
||||
esac
|
||||
@ -115,12 +119,12 @@ MAKE_REQUIRED_DIRECTORY_STRUCTURE() {
|
||||
|
||||
################################################################################
|
||||
|
||||
source "$DOTWRYN_PATH/setup/os-dependencies/setup.zsh"
|
||||
source "$DOTWRYN_PATH/setup/config/setup.zsh"
|
||||
source "$DOTWRYN_PATH/setup/zsh/setup.zsh"
|
||||
source "$DOTWRYN_PATH/setup/vim/setup.zsh"
|
||||
source "$DOTWRYN_PATH/setup/apps/setup.zsh"
|
||||
source "$DOTWRYN_PATH/setup/aws/setup.zsh"
|
||||
source "$DOTWRYN_PATH/setup/os.setup.zsh"
|
||||
source "$DOTWRYN_PATH/setup/config.setup.zsh"
|
||||
source "$DOTWRYN_PATH/setup/zsh.setup.zsh"
|
||||
source "$DOTWRYN_PATH/setup/vim.setup.zsh"
|
||||
source "$DOTWRYN_PATH/setup/apps.setup.zsh"
|
||||
source "$DOTWRYN_PATH/setup/aws.setup.zsh"
|
||||
|
||||
################################################################################
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
source "$DOTWRYN_PATH/setup/os-dependencies/arch.zsh"
|
||||
source "$DOTWRYN_PATH/setup/yay.setup.zsh"
|
||||
|
||||
################################################################################
|
||||
### Automated System Dependency Install ########################################
|
||||
@ -6,7 +6,7 @@ source "$DOTWRYN_PATH/setup/os-dependencies/arch.zsh"
|
||||
|
||||
[ $DOTWRYN_PATH ]\
|
||||
&& DEPENDENCY_DIR="$DOTWRYN_PATH/setup/os-dependencies" \
|
||||
|| DEPENDENCY_DIR="${0:a:h}"
|
||||
|| DEPENDENCY_DIR="${0:a:h}/os-dependencies"
|
||||
|
||||
function SETUP__OS_DEPENDENCY() {
|
||||
local ERROR=0
|
3
setup/terminfo/screen-256color-italic.terminfo
Normal file
3
setup/terminfo/screen-256color-italic.terminfo
Normal file
@ -0,0 +1,3 @@
|
||||
screen-256color-italic|screen with 256 colors and italic,
|
||||
sitm=\E[3m, ritm=\E[23m, kbs=\177,
|
||||
smso=\E[7m, rmso=\E[27m, use=screen-256color,
|
6
setup/terminfo/tmux.terminfo
Normal file
6
setup/terminfo/tmux.terminfo
Normal file
@ -0,0 +1,6 @@
|
||||
tmux|tmux terminal multiplexer,
|
||||
ritm=\E[23m, rmso=\E[27m, sitm=\E[3m, smso=\E[7m, Ms@,
|
||||
use=xterm+tmux, use=screen,
|
||||
|
||||
tmux-256color|tmux with 256 colors,
|
||||
use=xterm+256setaf, use=tmux,
|
50
setup/terminfo/xterm-kitty.terminfo
Normal file
50
setup/terminfo/xterm-kitty.terminfo
Normal file
@ -0,0 +1,50 @@
|
||||
# Reconstructed via infocmp from file: /usr/lib/kitty/terminfo/x/xterm-kitty
|
||||
xterm-kitty|KovIdTTY,
|
||||
am, ccc, hs, km, mc5i, mir, msgr, npc, xenl,
|
||||
colors#0x100, cols#80, it#8, lines#24, pairs#0x7fff,
|
||||
acsc=++\,\,--..00``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
|
||||
bel=^G, bold=\E[1m, cbt=\E[Z, civis=\E[?25l,
|
||||
clear=\E[H\E[2J, cnorm=\E[?12l\E[?25h, cr=\r,
|
||||
csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
|
||||
cud=\E[%p1%dB, cud1=\n, cuf=\E[%p1%dC, cuf1=\E[C,
|
||||
cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
|
||||
cvvis=\E[?12;25h, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m,
|
||||
dl=\E[%p1%dM, dl1=\E[M, dsl=\E]2;\007, ech=\E[%p1%dX,
|
||||
ed=\E[J, el=\E[K, el1=\E[1K, flash=\E[?5h$<100/>\E[?5l,
|
||||
fsl=^G, home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH,
|
||||
ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=\n,
|
||||
indn=\E[%p1%dS,
|
||||
initc=\E]4;%p1%d;rgb\:%p2%{255}%*%{1000}%/%2.2X/%p3%{255}%*%{1000}%/%2.2X/%p4%{255}%*%{1000}%/%2.2X\E\\,
|
||||
kDC=\E[3;2~, kEND=\E[1;2F, kHOM=\E[1;2H, kIC=\E[2;2~,
|
||||
kLFT=\E[1;2D, kNXT=\E[6;2~, kPRV=\E[5;2~, kRIT=\E[1;2C,
|
||||
ka1=, ka3=, kbs=^?, kc1=, kc3=, kcbt=\E[Z, kcub1=\EOD,
|
||||
kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kdch1=\E[3~, kend=\EOF,
|
||||
kf1=\EOP, kf10=\E[21~, kf11=\E[23~, kf12=\E[24~,
|
||||
kf13=\E[1;2P, kf14=\E[1;2Q, kf15=\E[1;2R, kf16=\E[1;2S,
|
||||
kf17=\E[15;2~, kf18=\E[17;2~, kf19=\E[18;2~, kf2=\EOQ,
|
||||
kf20=\E[19;2~, kf21=\E[20;2~, kf22=\E[21;2~,
|
||||
kf23=\E[23;2~, kf24=\E[24;2~, kf25=\E[1;5P, kf26=\E[1;5Q,
|
||||
kf27=\E[1;5R, kf28=\E[1;5S, kf29=\E[15;5~, kf3=\EOR,
|
||||
kf30=\E[17;5~, kf31=\E[18;5~, kf32=\E[19;5~,
|
||||
kf33=\E[20;5~, kf34=\E[21;5~, kf35=\E[23;5~,
|
||||
kf36=\E[24;5~, kf37=\E[1;6P, kf38=\E[1;6Q, kf39=\E[1;6R,
|
||||
kf4=\EOS, kf40=\E[1;6S, kf41=\E[15;6~, kf42=\E[17;6~,
|
||||
kf43=\E[18;6~, kf44=\E[19;6~, kf45=\E[20;6~,
|
||||
kf46=\E[21;6~, kf47=\E[23;6~, kf48=\E[24;6~,
|
||||
kf49=\E[1;3P, kf5=\E[15~, kf50=\E[1;3Q, kf51=\E[1;3R,
|
||||
kf52=\E[1;3S, kf53=\E[15;3~, kf54=\E[17;3~,
|
||||
kf55=\E[18;3~, kf56=\E[19;3~, kf57=\E[20;3~,
|
||||
kf58=\E[21;3~, kf59=\E[23;3~, kf6=\E[17~, kf60=\E[24;3~,
|
||||
kf61=\E[1;4P, kf62=\E[1;4Q, kf63=\E[1;4R, kf7=\E[18~,
|
||||
kf8=\E[19~, kf9=\E[20~, khlp=, khome=\EOH, kich1=\E[2~,
|
||||
kind=\E[1;2B, kmous=\E[M, knp=\E[6~, kpp=\E[5~,
|
||||
kri=\E[1;2A, kund=, oc=\E]104\007, op=\E[39;49m, rc=\E8,
|
||||
rev=\E[7m, ri=\EM, rin=\E[%p1%dT, ritm=\E[23m, rmacs=\E(B,
|
||||
rmam=\E[?7l, rmcup=\E[?1049l, rmir=\E[4l, rmkx=\E[?1l,
|
||||
rmso=\E[27m, rmul=\E[24m, rs1=\E]\E\\\Ec, sc=\E7,
|
||||
setab=\E[%?%p1%{8}%<%t4%p1%d%e%p1%{16}%<%t10%p1%{8}%-%d%e48;5;%p1%d%;m,
|
||||
setaf=\E[%?%p1%{8}%<%t3%p1%d%e%p1%{16}%<%t9%p1%{8}%-%d%e38;5;%p1%d%;m,
|
||||
sgr=%?%p9%t\E(0%e\E(B%;\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;%?%p7%t;8%;m,
|
||||
sgr0=\E(B\E[m, sitm=\E[3m, smacs=\E(0, smam=\E[?7h,
|
||||
smcup=\E[?1049h, smir=\E[4h, smkx=\E[?1h, smso=\E[7m,
|
||||
smul=\E[4m, tbc=\E[3g, tsl=\E]2;, vpa=\E[%i%p1%dd,
|
@ -1,4 +1,4 @@
|
||||
source "$DOTWRYN_PATH/setup/vim/compile-from-source.zsh"
|
||||
source "$DOTWRYN_PATH/setup/vim.compile.zsh"
|
||||
|
||||
#####################################################################
|
||||
|
||||
@ -6,7 +6,6 @@ function SETUP__VIM() {
|
||||
STATUS 'starting vim setup'
|
||||
VIM__COMPILE_FROM_SOURCE
|
||||
VIM__SOURCE_RC
|
||||
VIM__UPDATE_COLORSCHEMES
|
||||
VIM__INSTALL_VUNDLE_PLUGINS
|
||||
VIM__CREATE_PANE_DEFAULT_APP
|
||||
STATUS 'finished vim setup'
|
||||
@ -30,12 +29,6 @@ function VIM__SOURCE_RC() {
|
||||
}
|
||||
}
|
||||
|
||||
function VIM__UPDATE_COLORSCHEMES() {
|
||||
CHECK 'updating colorschemes'
|
||||
$DOTWRYN_PATH/bin/vim/update_colorschemes >>$LOG 2>&1\
|
||||
&& OK || WARN
|
||||
}
|
||||
|
||||
function VIM__INSTALL_VUNDLE_PLUGINS() {
|
||||
[ ! -d "$HOME/.vim/bundle/Vundle.vim" ] && {
|
||||
CHECK 'installing Vundle.vim'
|
||||
@ -58,7 +51,7 @@ function VIM__INSTALL_VUNDLE_PLUGINS() {
|
||||
;
|
||||
|
||||
CHECK 'building plugins (this may take a minute)'
|
||||
$DOTWRYN_PATH/bin/vim/rebuild_plugins >>$LOG 2>&1\
|
||||
$DOTWRYN_PATH/bin/vim/rebuild-plugins >>$LOG 2>&1\
|
||||
&& OK || WARN 'retry plugin build manually'
|
||||
}
|
||||
|
@ -1,16 +1,16 @@
|
||||
#####################################################################
|
||||
|
||||
function SETUP__ZSH() {
|
||||
ZSH__SET_DEFAULT_SHELL
|
||||
ZSH__SET_DEFAULT_SHELL
|
||||
ZSH__SOURCE_RC
|
||||
}
|
||||
|
||||
#####################################################################
|
||||
|
||||
function ZSH__SET_DEFAULT_SHELL() {
|
||||
local DEFAULT_SHELL=$(awk -F: -v user="$USER" '$1 == user {print $NF}' /etc/passwd)
|
||||
CHECK 'setting zsh as default shell'
|
||||
sudo chsh -s $(which zsh) $(whoami)>>$LOG 2>&1 \
|
||||
local DEFAULT_SHELL=$(awk -F: -v user="$USER" '$1 == user {print $NF}' /etc/passwd)
|
||||
CHECK 'setting zsh as default shell'
|
||||
sudo chsh -s $(which zsh) $(whoami)>>$LOG 2>&1 \
|
||||
&& OK || WARN 'failed to set zsh as default shell'
|
||||
}
|
||||
|
Reference in New Issue
Block a user