From 266533c9e84f9c6adea8a416b60dbbde8aebc151 Mon Sep 17 00:00:00 2001 From: x1phosura Date: Fri, 2 Jul 2021 18:39:37 -0700 Subject: [PATCH] More misc. changes --- .bashrc | 3 +++ .config/alacritty/alacritty.yml | 8 ++++---- .config/ranger/rc.conf | 7 ++++++- .gitignore | 2 ++ bin/wpa-connect | 4 ++-- bin/x1phosura | 4 +++- 6 files changed, 20 insertions(+), 8 deletions(-) diff --git a/.bashrc b/.bashrc index 2e36ba0..7c69991 100644 --- a/.bashrc +++ b/.bashrc @@ -38,6 +38,7 @@ PATH="$PATH:/usr/local/games:/usr/games" # base if [ "$hostname" = "foundryside" ]; then PATH="$PATH:$HOME/bin" # my own secret sauce PATH="$PATH:$HOME/bin/jdk-11.0.10+9/bin" # JavaTM + PATH="$PATH:$HOME/bin/android-studio/bin" # Android Studio PATH="$PATH:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl" # BS fi export PATH @@ -129,6 +130,8 @@ alias vimrc="$EDITOR ~/.vimrc" alias nanorc="nano ~/.config/nano/nanorc" # just for fun! alias spellcheck='aspell check ' alias rot13="tr 'A-Za-z' 'N-ZA-Mn-za-m' " +alias iso-date='date --iso-8601=s ' + not_in_vim="echo -e \"You're not in vim doofus!\"" alias :wq="$not_in_vim" ; alias :q="$not_in_vim" ; alias :x="$not_in_vim" alias ZZ="$not_in_vim" diff --git a/.config/alacritty/alacritty.yml b/.config/alacritty/alacritty.yml index 1b49a43..11ea79c 100644 --- a/.config/alacritty/alacritty.yml +++ b/.config/alacritty/alacritty.yml @@ -295,7 +295,7 @@ mouse: # If this is `true`, the cursor is temporarily hidden when typing. hide_when_typing: false - url: +# url: # URL launcher # # This program is executed when clicking on a text which is recognized as a URL. @@ -307,8 +307,8 @@ mouse: # - (macOS) open # - (Linux) xdg-open # - (Windows) explorer - launcher: - program: None +# launcher: +# program: None # program: xdg-open # args: [] @@ -316,7 +316,7 @@ mouse: # # These are the modifiers that need to be held down for opening URLs when clicking # on them. The available modifiers are documented in the key binding section. - modifiers: None +# modifiers: None selection: #semantic_escape_chars: ",│`|:\"' ()[]{}<>" diff --git a/.config/ranger/rc.conf b/.config/ranger/rc.conf index 7a8d64a..0a33373 100644 --- a/.config/ranger/rc.conf +++ b/.config/ranger/rc.conf @@ -380,12 +380,17 @@ map gh cd ~ map ge cd /etc map gu cd /usr map gd cd ~/Documents -map gw cd ~/Desktop/class-workspace +map gdp cd ~/Documents/Personal +map gdw cd ~/Documents/Professional map g77 cd ~/73h4x map g7c cd ~/73h4x/code +map g7d cd ~/73h4x/dotfiles +map g7n cd ~/73h4x/notes map g7p cd ~/73h4x/projects map gll cd ~/Library +map gla cd ~/Library/Audio map gli cd ~/Library/Images +map glt cd ~/Library/Textfiles map glv cd ~/Library/Video map gL cd -r %f map go cd /opt diff --git a/.gitignore b/.gitignore index 6972f92..ab1cd64 100644 --- a/.gitignore +++ b/.gitignore @@ -11,6 +11,8 @@ st-* .ssh etc +# directories to ignore bin/jdk-11* bin/ghidra* +bin/android-studio* diff --git a/bin/wpa-connect b/bin/wpa-connect index 1474e39..c97bb66 100755 --- a/bin/wpa-connect +++ b/bin/wpa-connect @@ -124,8 +124,8 @@ while [[ "$#" -gt 0 ]]; do -c|--connect) profile="$2" if [ "$profile" = "" ]; then - echo -ne "$(basename $0): -c, --connect take an argument " \ - "'profile_name'\n\n" + echo -ne "$(basename $0): -c, --connect takes an argument " \ + "'profile_name'\n\n" print_usage else sudo_validate diff --git a/bin/x1phosura b/bin/x1phosura index e48ce91..3460053 100755 --- a/bin/x1phosura +++ b/bin/x1phosura @@ -22,7 +22,9 @@ x1phosura=" exists_truecolor='true' # TODO: detect if have truecolor support -fg_purple_true="\x1b[38;2;156;39;176m" # foreground is RGB 156,39,176 (#9C27B0) +# vvv- original: +#fg_purple_true="\x1b[38;2;156;39;176m" # foreground is RGB 156,39,176 (#9C27B0) +fg_purple_true="\x1b[38;2;187;34;187m" # foreground is RGB 187,34,187 (#bb22bb) bg_black_true="\x1b[48;2;0;0;0m" # background is black fg_purple_16="\033[01;35m" # foreground is boring bold purple ansi_bold="\033[1m"