diff --git a/i3/config b/i3/config index 0a186b2..db8b7f0 100644 --- a/i3/config +++ b/i3/config @@ -33,8 +33,8 @@ bindsym $mod+shift+z exec xdotool click 3 bindsym $mod+i border normal bindsym $mod+shift+i border 1pixel # Run a terminal -bindsym $mod+Return exec urxvtc -bindsym $mod+shift+Return exec urxvtc -cd `xcwd` +bindsym $mod+Return exec urxvt +bindsym $mod+shift+Return exec urxvt -cd `xcwd` # Terminate program bindsym $mod+shift+c kill # XF86 Buttons @@ -175,7 +175,7 @@ exec --no-startup-id "~/.i3/run.sh wall" exec --no-startup-id xmodmap ~/.xmodmap exec --no-startup-id ~/xmodmap.sh # Misc -exec --no-startup-id i3-msg 'workspace 1; exec /usr/bin/urxvtc' +exec --no-startup-id i3-msg 'workspace 1; exec /usr/bin/urxvt' #exec --no-startup-id /usr/bin/shutter --min_at_startup exec --no-startup-id /usr/bin/redshift -l 36.3:-80.3 -t 4000:2000 exec --no-startup-id /usr/bin/parcellite diff --git a/i3/run.sh b/i3/run.sh index 47bbefc..7fb0d56 100755 --- a/i3/run.sh +++ b/i3/run.sh @@ -44,13 +44,14 @@ if [ "$1" = "boot" ];then /usr/bin/xset +fp built-ins /usr/bin/xset s off /usr/bin/xset -dpms - /usr/bin/urxvtd -q -f -o + # This will segfault and ruin your day + #/usr/bin/urxvtd -q -f -o if [ "$(hostname)" = "MMLin" ]; then xrandr --output HDMI1 --primary xmodmap <(echo pointer = 3 2 1) elif [ "$(hostname)" = "G2" ]; then #TODO: Figure out what the display is called - #xrandr --output HDMI1 --primary + xrandr --output eDP1 --primary xmodmap <(echo pointer = 1 2 3) fi feh --bg-scale $(shuf -n1 <(realpath /home/stonewareslord/owncloud/wallpaper/$(hostname))) diff --git a/shells/zshrc b/shells/zshrc index fb69574..3f9f635 100644 --- a/shells/zshrc +++ b/shells/zshrc @@ -92,6 +92,7 @@ run(){ echo "Building..." >&2 gcc -Wall -std=c99 "${1:r}.c" -o "${1:r}" && (echo "Running..." >&2;./"${1:r}") } +alias nmrestart='nmcli radio wifi off;nmcli radio wifi on' alias mtr='mtr -t' alias tg='telegram-cli -N -W' alias perm='stat -c "%a %n"' diff --git a/vim/vimrc b/vim/vimrc index bbd3387..d5c7964 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -299,20 +299,12 @@ endif "256 color vim in terminal | https://github.com/godlygeek/csapprox " } " Syntax { - Plug 'elzr/vim-json' - "JSON highlighting | https://github.com/elzr/vim-json - Plug 'groenewege/vim-less' - "LESS highlighting | https://github.com/groenewege/vim-less - Plug 'pangloss/vim-javascript' - "JS syntax and indentation | https://github.com/pangloss/vim-javascript + Plug 'sheerun/vim-polyglot' + "Many languages | https://github.com/sheerun/vim-polyglot Plug 'superbrothers/vim-vimperator' "Vimperator for vim | https://github.com/superbrothers/vim-vimperator Plug 'PotatoesMaster/i3-vim-syntax' "i3 syntax | https://github.com/PotatoesMaster/i3-vim-syntax - Plug 'https://github.com/fatih/vim-go' - "go syntax | https://github.com/fatih/vim-go - Plug 'https://github.com/evidens/vim-twig' - "Twig highlighting | https://github.com/evidens/vim-twig " } " Misc { Plug 'mattn/flappyvird-vim' diff --git a/zsh/borg.zsh b/zsh/borg.zsh index 5ad73aa..531ea66 100644 --- a/zsh/borg.zsh +++ b/zsh/borg.zsh @@ -21,6 +21,9 @@ b-create() { b-rename() { borg rename -v "$REPO"::"$1" "$2" } +b-info() { + borg info "$REPO"::"$1" +} b-cmd() { echo "$REPO" }