9 Commits a6c3c59325 ... 89d3a7199f

Author SHA1 Message Date
  Adam 89d3a7199f set user for ssh deepthought 3 years ago
  Adam 3aedd64da1 remove old keys from git config 3 years ago
  Adam 64afa8d7f1 source sh files from expanded tilde 3 years ago
  Adam 2d65994bae remove custom pager from git 3 years ago
  Adam c06eb2d7e6 add DeepThought variables 3 years ago
  Adam 849ed1f886 set full path from host-based file 3 years ago
  Adam b18009bd9b run sway only if present 3 years ago
  Adam 8065cb50ef add alacritty config 3 years ago
  Adam d545b12020 preview archives in ranger 3 years ago

+ 45 - 0
.config/alacritty/alacritty.yml

@@ -0,0 +1,45 @@
+window:
+  decorations: none
+font:
+  normal:
+    family: Iosevka
+colors:
+  primary:
+    background: '#292929'
+    foreground: '#d3d7cf'
+  normal:
+    black:   '#292929'
+    red:     '#ff5c57'
+    green:   '#5af78e'
+    yellow:  '#ffd787'
+    blue:    '#00afff'
+    magenta: '#bd93f9'
+    cyan:    '#00ffff'
+    white:   '#d3d7cf'
+  indexed_colors:
+  - { index: 100, color: '#364045' }
+  - { index: 108, color: '#db9d3b' }
+  - { index: 101, color: '#892b30' }
+  - { index: 102, color: '#1c9867' }
+  - { index: 103, color: '#db9d3b' }
+  - { index: 104, color: '#db9d3b' }
+  - { index: 105, color: '#892b30' }
+  - { index: 106, color: '#317b9f' }
+  - { index: 107, color: '#5d3636' }
+  - { index: 109, color: '#892b30' }
+  - { index: 110, color: '#1c9867' }
+  - { index: 111, color: '#db9d3b' }
+  - { index: 112, color: '#db9d3b' }
+  - { index: 113, color: '#892b30' }
+  - { index: 114, color: '#317b9f' }
+  - { index: 115, color: '#5d3636' }
+background_opacity: 0.95
+selection:
+  save_to_clipboard: false
+cursor:
+  style: Beam
+mouse:
+  url:
+    launcher:
+      program: firefox-wayland
+    modifiers: Control

+ 2 - 2
.config/fish/config.fish

@@ -19,15 +19,15 @@ for name in (cat ~/.config/sh/functions | grep '()' | grep -v '#' | cut -d '(' -
 	end
 end
 
-if [ (tty) = "/dev/tty1" ]
+if [ (tty) = "/dev/tty1" ] && which sway
 	exec sway
 end
 
 . ~/.config/sh/aliases
-posix_source ~/.config/sh/variables
 if [ -f  ~/.config/sh/variables.(hostname) ]
 	posix_source ~/.config/sh/variables.(hostname)
 end
+posix_source ~/.config/sh/variables
 
 if [ -f /tmp/ssh-agent.fish ]
 	. /tmp/ssh-agent.fish >/dev/null

+ 4 - 4
.config/ranger/rifle.conf

@@ -197,13 +197,13 @@ ext xcf,                    X, flag f = gimp -- "$@"
 ext 7z, has 7z = 7z -p l "$@" | "$PAGER"
 # This requires atool
 ext ace|ar|arc|bz2?|cab|cpio|cpt|deb|dgc|dmg|gz,     has atool = atool --list --each -- "$@" | "$PAGER"
-ext iso|jar|msi|pkg|rar|shar|tar|tgz|xar|xpi|xz|zip, has atool = atool --list --each -- "$@" | "$PAGER"
+ext iso|jar|msi|pkg|rar|shar|tar|tgz|xar|xpi|txz|xz|zip, has atool = atool --list --each -- "$@" | "$PAGER"
 ext 7z|ace|ar|arc|bz2?|cab|cpio|cpt|deb|dgc|dmg|gz,  has atool = atool --extract --each -- "$@"
-ext iso|jar|msi|pkg|rar|shar|tar|tgz|xar|xpi|xz|zip, has atool = atool --extract --each -- "$@"
+ext iso|jar|msi|pkg|rar|shar|tar|tgz|xar|xpi|txz|xz|zip, has atool = atool --extract --each -- "$@"
 
 # Listing and extracting archives without atool:
-ext tar|gz|bz2|xz, has tar = tar vvtf "$1" | "$PAGER"
-ext tar|gz|bz2|xz, has tar = for file in "$@"; do tar vvxf "$file"; done
+ext tar|gz|bz2|tgz|txz|xz, has tar = tar vvtf "$1" | "$PAGER"
+ext tar|gz|bz2|tgz|txz|xz, has tar = for file in "$@"; do tar vvxf "$file"; done
 ext bz2, has bzip2 = for file in "$@"; do bzip2 -dk "$file"; done
 ext zip, has unzip = unzip -l "$1" | less
 ext zip, has unzip = for file in "$@"; do unzip -d "${file%.*}" "$file"; done

+ 5 - 1
.config/ranger/scope.sh

@@ -44,9 +44,10 @@ handle_extension() {
     case "${FILE_EXTENSION_LOWER}" in
         # Archive
         a|ace|alz|arc|arj|bz|bz2|cab|cpio|deb|gz|jar|lha|lz|lzh|lzma|lzo|\
-        rpm|rz|t7z|tar|tbz|tbz2|tgz|tlz|txz|tZ|tzo|war|xpi|xz|Z|zip)
+        rpm|rz|t7z|tar|tbz|tbz2|tgz|tlz|txz|tZ|tzo|war|xpi|xz|Z)
             atool --list -- "${FILE_PATH}" && exit 5
             bsdtar --list --file "${FILE_PATH}" && exit 5
+            tar -vvtf "${FILE_PATH}" && exit 5
             exit 1;;
         rar)
             # Avoid password prompt by providing empty password
@@ -56,6 +57,9 @@ handle_extension() {
             # Avoid password prompt by providing empty password
             7z l -p -- "${FILE_PATH}" && exit 5
             exit 1;;
+        zip)
+	          unzip -l -- "${FILE_PATH}" && exit 5
+	          exit 1;;
 
         # PDF
          pdf)

+ 0 - 1
.config/sh/variables

@@ -1,6 +1,5 @@
 export _JAVA_AWT_WM_NONREPARENTING=1
 export GTK_THEME=Materia:dark
-export PATH=/usr/local/bin:/usr/bin
 export EDITOR=kak
 export ANDROID_EMULATOR_USE_SYSTEM_LIBS=1
 export GOPATH=~/.go

+ 1 - 0
.config/sh/variables.DeepThought

@@ -0,0 +1 @@
+export PATH=~/.local/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin

+ 1 - 1
.config/sh/variables.L26

@@ -1 +1 @@
-export PATH=/usr/local/sbin:/usr/sbin:/sbin:/bin
+export PATH=~/.local/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin

+ 1 - 1
.config/sh/variables.Mycroft

@@ -1 +1 @@
-export PATH=~/.local/bin:/opt/texlive/2019/bin/x86_64-linuxmusl/:$PATH
+export PATH=~/.local/bin:/opt/texlive/2019/bin/x86_64-linuxmusl:/usr/local/bin:/usr/bin

+ 0 - 2
.gitconfig

@@ -8,8 +8,6 @@
 	editor = kak
 	autocrlf = input
 	excludesfile = ~/.gitignore
-	#pager = less -+X
-	pager = delta --dark --theme=base16
 [color]
 	ui = auto
 [merge]

+ 0 - 0
.profile


Some files were not shown because too many files changed in this diff