]> Vexing Labs - dotfiles.git/commitdiff
local changes, some cleanup
authorAdam <ashamblin@digitalocean.com>
Mon, 30 Sep 2024 15:27:34 +0000 (09:27 -0600)
committerAdam <ashamblin@digitalocean.com>
Mon, 30 Sep 2024 15:27:34 +0000 (09:27 -0600)
.gitmodules
dotbash_profile
dotvim/bundle/jshint.vim [deleted submodule]
dotvim/bundle/vim-colors-solarized [deleted submodule]
dotvimrc
dotxresources
i3/i3.conf
i3/i3status.conf

index 97c78949621a0a801bd3e9a8c27f193b1b89e71a..f519fcb501f165cb2b57de02d4cf3450beef0896 100644 (file)
@@ -7,12 +7,6 @@
 [submodule "dotvim/bundle/vim-flake8"]
        path = dotvim/bundle/vim-flake8
        url = https://github.com/nvie/vim-flake8.git
-[submodule "dotvim/bundle/vim-colors-solarized"]
-       path = dotvim/bundle/vim-colors-solarized
-       url = https://github.com/altercation/vim-colors-solarized.git
-[submodule "dotvim/bundle/jshint.vim"]
-       path = dotvim/bundle/jshint.vim
-       url = https://github.com/walm/jshint.vim.git
 [submodule "dotvim/bundle/vim-go"]
        path = dotvim/bundle/vim-go
        url = git@github.com:fatih/vim-go.git
index 4daa08cf3fdcbfe84b90678bf4dcb8728439459e..6b3a55436c15108e2279d294eec56bf3d09e2e68 100644 (file)
@@ -69,6 +69,7 @@ fi
 
 export PYTHON_ENV_PATH=$HOME/env
 export PIP_REQUIRE_VIRTUALENV=true
+export VIRTUAL_ENV_DISABLE_PROMPT=1
 
 function activate () {
     command source $PYTHON_ENV_PATH/$1/bin/activate
@@ -90,6 +91,23 @@ function _envdir () {
 }
 complete -F _envdir activate
 
+# Load pyenv automatically by appending
+# the following to 
+# ~/.bash_profile if it exists, otherwise ~/.profile (for login shells)
+# and ~/.bashrc (for interactive shells) :
+
+export PYENV_ROOT="$HOME/.pyenv"
+[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH"
+eval "$(pyenv init -)"
+
+# Restart your shell for the changes to take effect.
+
+# Load pyenv-virtualenv automatically by adding
+# the following to ~/.bashrc:
+
+eval "$(pyenv virtualenv-init -)"
+
+
 ##################################################
 #
 #   Go Stuffs
@@ -141,6 +159,8 @@ function _ssh_hosts () {
 }
 complete -F _ssh_hosts ssh
 
+export SSH_AUTH_SOCK=~/.1password/agent.sock
+
 ##################################################
 #
 #   k8s stuffs
@@ -149,6 +169,14 @@ complete -F _ssh_hosts ssh
 
 #KIND_EXPERIMENTAL_PROVIDER=podman
 
+##################################################
+#
+#   jq stuffs
+#
+##################################################
+
+export JQ_COLORS="1;37:1;37:1;37:1;37:1;32:1;37:1;37"
+
 ##################################################
 #
 #   Aliases, etc.
@@ -157,9 +185,15 @@ complete -F _ssh_hosts ssh
 
 alias ls="ls --color=auto"
 alias grep="grep --color=auto"
+alias mood="curl https://ramses.coffee/stuff/moodface.txt"
+
 export EDITOR=/usr/bin/vi
 export PATH=~/bin/android_sdk/cmdline-tools/latest/bin:$PATH
-export PATH=~/bin:~/.local/bin:/opt/bin:/opt/VSCode-linux-x64/bin:$PATH
+export PATH="~/bin:~/.local/bin:~/.krew/bin:/opt/bin:/opt/VSCode-linux-x64/bin:$PATH"
 . "$HOME/.cargo/env"
+export PATH=~/.krew/bin:$PATH
 
 # eval "$(direnv hook bash)"
+export GH_PAT=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
+
+export VAULT_ADDR="https://vault-api.internal.digitalocean.com:8200"
diff --git a/dotvim/bundle/jshint.vim b/dotvim/bundle/jshint.vim
deleted file mode 160000 (submodule)
index 68a9a7c..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Subproject commit 68a9a7c0fea24ddbbd9beecab1fa68f9bf3d7dc2
diff --git a/dotvim/bundle/vim-colors-solarized b/dotvim/bundle/vim-colors-solarized
deleted file mode 160000 (submodule)
index 528a59f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Subproject commit 528a59f26d12278698bb946f8fb82a63711eec21
index 3128c5701c97cf7648a06472e19395ba30682c02..1c676151b48ca64ec7fcf9349bc5f0100013e131 100644 (file)
--- a/dotvimrc
+++ b/dotvimrc
@@ -35,8 +35,8 @@ set hlsearch
 set switchbuf=usetab
 
 " Disable Mouse Interactions
-set mouse=
-set ttymouse=
+set mouse=a
+set ttymouse=urxvt
 
 map <C-t> :tabnew<cr>
 map <C-tab> :tabnext<cr>
@@ -55,6 +55,22 @@ let g:ale_set_quickfix=1
 let g:ale_fixers = {}
 let g:ale_fixers.python = ['black']
 
+let wiki = {}
+let wiki.path = '~/vimwiki'
+let wiki.syntax = 'markdown'
+let wiki.ext = '.md'
+let wiki.auto_toc = 1
+let wiki.auto_header = 1
+
+let zettlr = {}
+let zettlr.path = '~/Documents/znotebook'
+let zettlr.syntax = 'markdown'
+let zettlr.ext = '.md'
+let zettlr.auto_toc = 1
+let zettlr.auto_header = 1
+
+let g:vimwiki_list = [wiki, zettlr]
+
 map <leader>f :CtrlP<cr>
 map <leader>a :NERDTreeToggle<cr>
 map <leader>b :Git blame<cr>
index 03712a2bf7ffd91fc92e2ab765c3132567fc3539..ee59305579bf4526ce4b501f5a79fe1ebe3a2ccb 100644 (file)
@@ -1,9 +1,14 @@
-URxvt*loginShell:   true
-URxvt*background:   #1D2021
-URxvt*foreground:   #FBF1C7
-URxvt*font:         xft:Liberation Mono:pixelsize=18:antialias=true:autohint=true
-URxvt*scrollBar:    false
-URxvt*saveLines:    65535
+URxvt.loginShell:   true
+URxvt.background:   #1D2021
+URxvt.foreground:   #FBF1C7
+URxvt.font:         xft:Liberation Mono:pixelsize=18:antialias=true:autohint=true
+URxvt.scrollBar:    false
+URxvt.saveLines:    65535
+URxvt.url-launcher: /usr/bin/xdg-open
+URxvt.perl-ext-common:     default,matcher
+URxvt.matcher.button: 1
+URxvt.matcher.pattern.1: '(?i)\\b((?:[a-z][\\w-]+:(?:/{1,3}|[a-z0-9%])|www\\d{0,3}[.]|[a-z0-9.\\-]+[.][a-z]{2,4}/)(?:[^\\s()<>]+|\\(([^\\s()<>]+|(\\([^\\s()<>]+\\)))*\\))+(?:\\(([^\\s()<>]+|(\\([^\\s()<>]+\\)))*\\)|[^\\s`!()\\[\\]{};:\'".,<>?«»“”‘’]))'
+URxvt.matcher.rend.0: fg16 RS_Uline
 Xft*dpi:            96
 Xft*antialias:      True
 Xft*hinting:        Full
index 841013777c004eec2206a8a9b363ceeae4a8fc58..2233cdfaca8c90fa444d5add7f3d14b58bdbfe9f 100644 (file)
@@ -49,10 +49,10 @@ bindsym $mod+Return exec i3-sensible-terminal
 bindsym $mod+Shift+q kill
 
 # start dmenu (a program launcher)
-bindsym $mod+d exec --no-startup-id dmenu_run
-bindsym $mod+Shift+d exec --no-startup-id i3-dmenu-desktop
+bindsym $mod+d exec --no-startup-id dmenu_run
+bindsym $mod+Shift+d exec --no-startup-id i3-dmenu-desktop
 # A more modern dmenu replacement is rofi:
-# bindcode $mod+40 exec "rofi -modi drun,run -show drun"
+bindcode $mod+40 exec "rofi -show combi"
 # There also is i3-dmenu-desktop which only displays applications shipping a
 # .desktop file. It is a wrapper around dmenu, so you need that installed.
 # bindcode $mod+40 exec --no-startup-id i3-dmenu-desktop
@@ -229,7 +229,7 @@ bar {
     active_workspace $gruv_fg4 $gruv_bg1 $gruv_fg4
     urgent_workspace $gruv_fg $gruv_red $gruv_fg
   }
-  font pango:Exo 2 10
+  font pango:Exo 2 12
 }
 
 # Apply xmodmap
index 8268b6fc33c741e47a9cea8d2ff034217a50f3ca..aa3d72597b3603b3d7237f33d04b88e38869159b 100644 (file)
@@ -17,7 +17,7 @@ general {
 order += "ipv6"
 order += "wireless _first_"
 order += "ethernet _first_"
-order += "ethernet mullvad-us10"
+order += "ethernet gpd0"
 order += "battery 0"
 order += "load"
 order += "memory"
@@ -34,7 +34,7 @@ ethernet _first_ {
         format_down = "E: down"
 }
 
-ethernet vpn0 {
+ethernet gpd0 {
         format_up = "VPN: %ip"
         format_down = "VPN: down"
 }
@@ -60,7 +60,7 @@ tztime local {
 volume master {
         format = "♪: %volume"
         format_muted = "♪: muted (%volume)"
-        device = "pulse:alsa_output.usb-Focusrite_Scarlett_Solo_USB_Y75Z9UA21E5007-00.iec958-stereo"
+        device = "pulse:alsa_output.usb-Focusrite_Scarlett_Solo_USB_Y75Z9UA21E5007-00.analog-stereo"
         mixer = "Master"
         mixer_idx = 0
 }