Merge branch 'master' of gaw:stonewareslord/sync

This commit is contained in:
Austen Adler 2018-07-02 15:47:34 -04:00
commit 74876043bb
8 changed files with 89 additions and 62 deletions

View File

@ -33,7 +33,8 @@ ethernet enp1s0 {
format_down = "!E" format_down = "!E"
} }
tztime local { tztime local {
format = "%a %b%e %r" #format = "%a %b%e %r"
format = "%a %e %b %F %r"
#:%M:%S #:%M:%S
} }
load { load {

View File

@ -3,7 +3,7 @@ set $mod Mod4
set $x_switch workspace set $x_switch workspace
# Assignments # Assignments
for_window [class=ownCloud] floating disable for_window [class=nextcloud] floating disable
assign [class=Firefox] 2 assign [class=Firefox] 2
assign [class=google-chrome] 2 assign [class=google-chrome] 2
assign [class=Google-chrome] 2 assign [class=Google-chrome] 2
@ -53,6 +53,8 @@ bindsym XF86AudioLowerVolume exec "amixer set Master 7%- unmute"
bindsym XF86AudioMute exec "amixer -D pulse set Master 1+ toggle;amixer set Master 0%" bindsym XF86AudioMute exec "amixer -D pulse set Master 1+ toggle;amixer set Master 0%"
# Toggle toucpad # Toggle toucpad
bindsym $mod+backslash exec "synclient TouchpadOff=$(synclient -l | grep -c 'TouchpadOff.*=.*0')" bindsym $mod+backslash exec "synclient TouchpadOff=$(synclient -l | grep -c 'TouchpadOff.*=.*0')"
# Toggle tap to click
bindsym $mod+shift+backslash exec "synclient TapButton2=$(($(synclient -l | grep -c 'TapButton1.*=.*0') * 3));synclient TapButton1=$(synclient -l | grep -c 'TapButton1.*=.*0')"
# Movement # Movement
bindsym $mod+o workspace back_and_forth bindsym $mod+o workspace back_and_forth
bindsym $mod+bracketleft workspace prev bindsym $mod+bracketleft workspace prev
@ -73,6 +75,11 @@ bindsym $mod+shift+Left move left
bindsym $mod+shift+Down move down bindsym $mod+shift+Down move down
bindsym $mod+shift+Up move up bindsym $mod+shift+Up move up
bindsym $mod+shift+Right move right bindsym $mod+shift+Right move right
# Moving to corners
bindsym $mod+ctrl+h exec "~/.i3/run.sh move left"
bindsym $mod+ctrl+j exec "~/.i3/run.sh move bottom"
bindsym $mod+ctrl+k exec "~/.i3/run.sh move top"
bindsym $mod+ctrl+l exec "~/.i3/run.sh move right"
# Fullscreen # Fullscreen
bindsym $mod+f fullscreen bindsym $mod+f fullscreen
bindsym $mod+shift+f fullscreen global bindsym $mod+shift+f fullscreen global
@ -81,8 +88,8 @@ bindsym $mod+s layout stacking
bindsym $mod+w layout tabbed bindsym $mod+w layout tabbed
bindsym $mod+e layout toggle split bindsym $mod+e layout toggle split
bindsym $mod+shift+space floating toggle bindsym $mod+shift+space floating toggle
#bindsym $mod+space focus mode_toggle bindsym $mod+space focus mode_toggle
bindsym $mod+space exec "~/.i3/run.sh window" bindsym $mod+comma exec "~/.i3/run.sh window"
bindsym $mod+1 $x_switch 1 bindsym $mod+1 $x_switch 1
bindsym $mod+2 $x_switch 2 bindsym $mod+2 $x_switch 2
bindsym $mod+3 $x_switch 3 bindsym $mod+3 $x_switch 3
@ -188,7 +195,7 @@ exec --no-startup-id xmodmap ~/.xmodmap
#exec --no-startup-id ~/xmodmap.sh #exec --no-startup-id ~/xmodmap.sh
# Misc # Misc
# Compositor # Compositor
exec --no-startup-id compton #exec --no-startup-id compton
# Spawn a terminal # Spawn a terminal
#TODO: Currently the terminal will spawn in the current workspace #TODO: Currently the terminal will spawn in the current workspace
exec --no-startup-id /usr/bin/urxvt exec --no-startup-id /usr/bin/urxvt
@ -200,9 +207,12 @@ exec --no-startup-id /usr/bin/gpaste-client dr
# Turn off numlock! # Turn off numlock!
exec --no-startup-id /usr/bin/numlockx exec --no-startup-id /usr/bin/numlockx
# Run firefox/firefox-bin # Run firefox/firefox-bin
exec --no-startup-id firefox -p sync || firefox-bin -p sync exec --no-startup-id firefox -p a || firefox-bin -p a
# Start syncthing if it hasn't already been started # Start syncthing if it hasn't already been started
exec --no-startup-id /bin/zsh -c 'pidof syncthing||screen -dmS syncthing ~/bin/syncthing' #exec --no-startup-id /bin/zsh -c 'pidof syncthing||screen -dmS syncthing ~/bin/syncthing'
exec --no-startup-id nextcloud
# Start kdeconnect # Start kdeconnect
exec --no-startup-id "~/bin/indicator-kdeconnect" #exec --no-startup-id "~/bin/indicator-kdeconnect"
# riot
exec --no-startup-id riot-web --hidden
# vim: ts=2:sw=2:et # vim: ts=2:sw=2:et

View File

@ -1,7 +1,20 @@
#!/usr/bin/env bash #!/usr/bin/env bash
if [ "$1" = "lock" ];then if [ "$1" = "move" ]; then
#!/bin/bash shift
eval "$(xdotool getwindowfocus getwindowgeometry | grep Geometry: | perl -pe 's/^\s*Geometry: /WinH=/;s/x/\nWinW=/g')"
eval "$(xdotool getwindowfocus getwindowgeometry | grep Position: | perl -pe 's/^\s*Position: /WinY=/;s/,/\nWinX=/g;s/\s\(.+//')"
eval "$(xrandr | grep -w connected | perl -pe 's/.+?(\d+x\d+)\+\d+\+\d+.*/\1/g;s/^/MonH=/;s/x/\nMonW=/;' | head -n2)"
if [ "$1" = "top" ]; then
echo $((WinY))
xdotool getwindowfocus windowmove $((WinY - 1)) 0
elif [ "$1" = "right" ]; then
xdotool getwindowfocus windowmove $((MonH - WinH)) $((WinX - 1))
elif [ "$1" = "left" ]; then
xdotool getwindowfocus windowmove 0 $((WinX - 1))
elif [ "$1" = "bottom" ]; then
xdotool getwindowfocus windowmove $((WinY - 1)) $((MonW - WinW))
fi
elif [ "$1" = "lock" ];then
declare -i ID declare -i ID
ID=`xinput list | grep -Eo 'TouchPad\s*id\=[0-9]{1,2}' | grep -Eo '[0-9]{1,2}'` ID=`xinput list | grep -Eo 'TouchPad\s*id\=[0-9]{1,2}' | grep -Eo '[0-9]{1,2}'`
declare -i STATE declare -i STATE
@ -112,7 +125,9 @@ if [ "$1" = "screenshot" ]; then
\rm -f ~/last-photo/* \rm -f ~/last-photo/*
sleep .2 sleep .2
#DISPLAY=:0.0 xfce4-screenshooter -r -s ~/last-photo #DISPLAY=:0.0 xfce4-screenshooter -r -s ~/last-photo
DISPLAY=:0.0 import "$HOME/last-photo/$(date +'%Y-%m-%d_%T').png" local FNAME="$HOME/last-photo/$(date +'%Y-%m-%d_%T').png"
DISPLAY=:0.0 import "${FNAME}"
DISPLAY=:0.0 xclip -selection clipboard -t image/png -i "${FNAME}"
#DISPLAY=:0.0 scrot -s "$HOME/last-photo/$(date +'%Y-%m-%d_%T').png" #DISPLAY=:0.0 scrot -s "$HOME/last-photo/$(date +'%Y-%m-%d_%T').png"
\cp ~/last-photo/* ~/Pictures \cp ~/last-photo/* ~/Pictures
fi fi

View File

@ -26,12 +26,12 @@ sync_config() {
if command -v zsh 2>&1 >/dev/null; then if command -v zsh 2>&1 >/dev/null; then
for i in lpr oh-my-git-themes omg zsh-syntax-highlighting; do for i in lpr oh-my-git-themes omg zsh-syntax-highlighting; do
if [ ! -d ~/.zsh-git/"$i" ]; then if [ ! -d ~/.zsh-git/"$i" ]; then
git clone "https://austenwares.com/gitea/stonewareslord/$i.git" ~/.zsh-git/"$i" git clone "https://gitea.austenwares.com/stonewareslord/$i.git" ~/.zsh-git/"$i"
fi fi
done done
fi fi
if [ ! -d ~/.fzf ] ; then if [ ! -d ~/.fzf ] ; then
git clone "https://austenwares.com/gitea/stonewareslord/fzf.git" ~/.fzf git clone "https://gitea.austenwares.com/stonewareslord/fzf.git" ~/.fzf
~/.fzf/install --bin ~/.fzf/install --bin
fi fi
else else
@ -69,7 +69,7 @@ sync_custom() {
fi fi
if [[ ! -d ~/.zsh-git/custom-config ]]; then if [[ ! -d ~/.zsh-git/custom-config ]]; then
#TODO: Figure out if I should use ssh or https cloning #TODO: Figure out if I should use ssh or https cloning
#git clone https://austenwares.com/gitea/stonewareslord/custom-config #git clone https://gitea.austenwares.com/stonewareslord/custom-config
git clone git@austenwares.com:stonewareslord/custom-config ~/.zsh-git/custom-config git clone git@austenwares.com:stonewareslord/custom-config ~/.zsh-git/custom-config
fi fi
remove ~/.gitconfig remove ~/.gitconfig

View File

@ -6,7 +6,9 @@
!URxvt.font: xft:Terminus:size=12 !URxvt.font: xft:Terminus:size=12
!URxvt.font: xft:Neep:size=13 !URxvt.font: xft:Neep:size=13
!URxvt.font: xft:Courier New:size=12 !URxvt.font: xft:Courier New:size=12
URxvt.font: xft:Gohu GohuFont:size=12 !URxvt.font: xft:Gohu GohuFont:size=12
!URxvt.font: xft:Misc Termsynu:size=13
!URxvt.font: xft:Unifont:size=13
!URxvt.faceName: -*-*-*-*-*-*-10-*-*-*-*-*-*-* !URxvt.faceName: -*-*-*-*-*-*-10-*-*-*-*-*-*-*
!URxvt.font: xft:Fixed:style=SemiCondensed:size=16 !URxvt.font: xft:Fixed:style=SemiCondensed:size=16

View File

@ -284,10 +284,6 @@ if test -f /etc/gentoo-release; then
} }
update(){ update(){
# If this is a server computer # If this is a server computer
if [ "$(hostname)" = "SGen" ] ; then
echo "You're a server. Exiting"
return
fi
sudo rm -f '/usr/portage/metadata/timestamp.chk' sudo rm -f '/usr/portage/metadata/timestamp.chk'
if ex eix-update; then if ex eix-update; then
sudo zsh -c "emaint sync -a&&eix-update" sudo zsh -c "emaint sync -a&&eix-update"
@ -351,6 +347,9 @@ fi
alias -g nify=" > /dev/null 2>&1 &" alias -g nify=" > /dev/null 2>&1 &"
alias -g nifyd=" > /dev/null 2>&1 & disown" alias -g nifyd=" > /dev/null 2>&1 & disown"
alias -g L="2>&1|less" alias -g L="2>&1|less"
if ex mktemp; then
alias mtmp='pushd "$(mktemp -d)" >/dev/null'
fi
if ex rg; then if ex rg; then
alias -g G='|& rg' alias -g G='|& rg'
alias rg='rg -i' alias rg='rg -i'
@ -389,7 +388,7 @@ paste() {
} }
linx() { linx() {
if [[ -z "$1" ]]; then if [[ -z "$1" ]]; then
curl -T- -H "Linx-Randomize: yes" -H "Linx-Expiry: 2592000" https://austenwares.com/linx/upload | perl -pe 's/https:\/\/austenwares.com\/linx\/(\w+)/https:\/\/austenwares.com\/linx\/selif\/\1/' curl -T- -H "Linx-Randomize: yes" -H "Linx-Expiry: 2592000" https://linx.austenwares.com/upload | perl -pe 's/https:\/\/linx.austenwares.com\/(\w+)/https:\/\/linx.austenwares.com\/selif\/\1/'
elif (( $# == 1 )) && [[ -f "$1" ]]; then elif (( $# == 1 )) && [[ -f "$1" ]]; then
linx < "$1" linx < "$1"
else else
@ -437,7 +436,7 @@ grename() {
done done
} }
bp(){ bp(){
echo '\a' printf '\a'
} }
ltar(){ ltar(){
tar -cf - $@|pv -WcN tar|xz|pv -WcN lzma tar -cf - $@|pv -WcN tar|xz|pv -WcN lzma
@ -506,7 +505,7 @@ create-repo(){
read username read username
echo -n "Password: " echo -n "Password: "
read -s password read -s password
curl --user "$username:$password" -d name="$1" -d private="$PRIVATE" https://austenwares.com/gitea/api/v1/user/repos curl --user "$username:$password" -d name="$1" -d private="$PRIVATE" https://gitea.austenwares.com/api/v1/user/repos
} }
hsh(){ hsh(){
FILE="$1" FILE="$1"
@ -639,8 +638,8 @@ source ~/.zsh-git/lpr/liquidprompt
source ~/.zsh-git/omg/base.sh source ~/.zsh-git/omg/base.sh
source ~/.zsh-git/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh source ~/.zsh-git/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
source ~/.zsh-git/oh-my-git-themes/af-magic.zsh-theme source ~/.zsh-git/oh-my-git-themes/af-magic.zsh-theme
if [[ -f ~/.zsh-git/zshrc ]]; then if [[ -f ~/.zsh-git/custom-config/zshrc ]]; then
source ~/.zsh-git/zshrc source ~/.zsh-git/custom-config/zshrc
fi fi
echo -e '[##]' echo -e '[##]'
#zprof #zprof

View File

@ -213,81 +213,81 @@ else
call plug#begin('~/.vim/plugged') call plug#begin('~/.vim/plugged')
endif endif
" Code writing { " Code writing {
"Plug 'https://austenwares.com/gitea/vim/vim-autoformat', { 'on': 'Autoformat'} "Plug 'https://gitea.austenwares.com/vim/vim-autoformat', { 'on': 'Autoformat'}
"Adds autoformat command | https://github.com/Chiel92/vim-autoformat "Adds autoformat command | https://github.com/Chiel92/vim-autoformat
Plug 'https://austenwares.com/gitea/vim/vim-surround' Plug 'https://gitea.austenwares.com/vim/vim-surround'
"Surround selection in ({\"' or HTML tags | https://github.com/tpope/vim-surround "Surround selection in ({\"' or HTML tags | https://github.com/tpope/vim-surround
"Plug 'https://austenwares.com/gitea/vim/syntastic' "Plug 'https://gitea.austenwares.com/vim/syntastic'
"Syntax checker | https://github.com/scrooloose/syntastic "Syntax checker | https://github.com/scrooloose/syntastic
"Plug 'https://austenwares.com/gitea/vim/nerdtree', { 'on': 'NERDTreeToggle' } "Plug 'https://gitea.austenwares.com/vim/nerdtree', { 'on': 'NERDTreeToggle' }
"File browser | https://github.com/scrooloose/nerdtree "File browser | https://github.com/scrooloose/nerdtree
Plug 'https://austenwares.com/gitea/vim/vim-easymotion' Plug 'https://gitea.austenwares.com/vim/vim-easymotion'
"Move around quickly in a document | https://github.com/Lokaltog/vim-easymotion "Move around quickly in a document | https://github.com/Lokaltog/vim-easymotion
"Plug 'https://austenwares.com/gitea/vim/gundo.vim', { 'on': 'GundoToggle' } "Plug 'https://gitea.austenwares.com/vim/gundo.vim', { 'on': 'GundoToggle' }
"Visual undo | https://github.com/sjl/gundo.vim "Visual undo | https://github.com/sjl/gundo.vim
"Plug 'https://austenwares.com/gitea/vim/vim-exchange' "Plug 'https://gitea.austenwares.com/vim/vim-exchange'
"Exchange two selections of text | https://github.com/tommcdo/vim-exchange "Exchange two selections of text | https://github.com/tommcdo/vim-exchange
"Plug 'https://austenwares.com/gitea/vim/vim-repeat' "Plug 'https://gitea.austenwares.com/vim/vim-repeat'
"Repeat last tpope command with . | https://github.com/tpope/vim-repeat "Repeat last tpope command with . | https://github.com/tpope/vim-repeat
"Plug 'https://austenwares.com/gitea/vim/vim-fugitive' "Plug 'https://gitea.austenwares.com/vim/vim-fugitive'
"Great Vim-Git compatibility | https://github.com/tpope/vim-fugitive "Great Vim-Git compatibility | https://github.com/tpope/vim-fugitive
"Plug 'https://austenwares.com/gitea/vim/ctrlp.vim' "Plug 'https://gitea.austenwares.com/vim/ctrlp.vim'
"Fuzzy file search | https://github.com/kien/ctrlp.vim "Fuzzy file search | https://github.com/kien/ctrlp.vim
Plug 'https://austenwares.com/gitea/vim/tabular', { 'on': 'Tab' } Plug 'https://gitea.austenwares.com/vim/tabular', { 'on': 'Tab' }
"Quickly make tables in vim | https://github.com/godlygeek/tabular "Quickly make tables in vim | https://github.com/godlygeek/tabular
"Plug 'https://austenwares.com/gitea/vim/UltiSnips' "Plug 'https://gitea.austenwares.com/vim/UltiSnips'
"Adds snippet support | https://github.com/sirver/UltiSnips "Adds snippet support | https://github.com/sirver/UltiSnips
"Plug 'https://austenwares.com/gitea/vim/vim-snippets' "Plug 'https://gitea.austenwares.com/vim/vim-snippets'
"Add snippets | https://github.com/honza/vim-snippets "Add snippets | https://github.com/honza/vim-snippets
Plug 'https://austenwares.com/gitea/vim/eregex.vim' Plug 'https://gitea.austenwares.com/vim/eregex.vim'
"Real regexes in vim | https://github.com/othree/eregex.vim "Real regexes in vim | https://github.com/othree/eregex.vim
Plug 'https://austenwares.com/gitea/vim/vim-signify' Plug 'https://gitea.austenwares.com/vim/vim-signify'
"Git information inline | https://github.com/mhinz/vim-signify "Git information inline | https://github.com/mhinz/vim-signify
Plug 'https://austenwares.com/gitea/vim/auto-pairs' Plug 'https://gitea.austenwares.com/vim/auto-pairs'
"Automatic pairs | https://github.com/jiangmiao/auto-pairs "Automatic pairs | https://github.com/jiangmiao/auto-pairs
"Plug 'https://austenwares.com/gitea/vim/YouCompleteMe' "Plug 'https://gitea.austenwares.com/vim/YouCompleteMe'
"Autocompletion | https://github.com/Valloric/YouCompleteMe "Autocompletion | https://github.com/Valloric/YouCompleteMe
"Plug 'https://austenwares.com/gitea/vim/vim-java-getset.git' "Plug 'https://gitea.austenwares.com/vim/vim-java-getset.git'
"Java getters and setters| https://austenwares.com/gitea/vim/vim-java-getset.git "Java getters and setters| https://gitea.austenwares.com/vim/vim-java-getset.git
"Plug 'https://austenwares.com/gitea/vim/double-tap.git' "Plug 'https://gitea.austenwares.com/vim/double-tap.git'
"Double tap for comments "Double tap for comments
" } " }
" Style { " Style {
"Plug 'https://austenwares.com/gitea/vim/vim-indent-guides' "Plug 'https://gitea.austenwares.com/vim/vim-indent-guides'
"Indentation guides | https://github.com/nathanaelkane/vim-indent-guides "Indentation guides | https://github.com/nathanaelkane/vim-indent-guides
"Plug 'https://austenwares.com/gitea/vim/vim-airline' "Plug 'https://gitea.austenwares.com/vim/vim-airline'
"Bottom status bar | https://github.com/bling/vim-airline "Bottom status bar | https://github.com/bling/vim-airline
Plug 'https://austenwares.com/gitea/vim/vim-colors' Plug 'https://gitea.austenwares.com/vim/vim-colors'
"Theme pack | https://github.com/spf13/vim-colors "Theme pack | https://github.com/spf13/vim-colors
Plug 'https://austenwares.com/gitea/vim/csapprox' Plug 'https://gitea.austenwares.com/vim/csapprox'
"256 color vim in terminal | https://github.com/godlygeek/csapprox "256 color vim in terminal | https://github.com/godlygeek/csapprox
" } " }
" Syntax { " Syntax {
"Plug 'https://austenwares.com/gitea/vim/vimtex' "Plug 'https://gitea.austenwares.com/vim/vimtex'
"Latex | https://github.com/lervag/vimtex "Latex | https://github.com/lervag/vimtex
Plug 'https://austenwares.com/gitea/vim/vim-polyglot' Plug 'https://gitea.austenwares.com/vim/vim-polyglot'
"Many languages | https://github.com/sheerun/vim-polyglot "Many languages | https://github.com/sheerun/vim-polyglot
"Plug 'https://austenwares.com/gitea/vim/vim-vimperator' "Plug 'https://gitea.austenwares.com/vim/vim-vimperator'
"Vimperator for vim | https://github.com/superbrothers/vim-vimperator "Vimperator for vim | https://github.com/superbrothers/vim-vimperator
"Plug 'https://austenwares.com/gitea/vim/i3-vim-syntax' "Plug 'https://gitea.austenwares.com/vim/i3-vim-syntax'
"i3 syntax | https://github.com/PotatoesMaster/i3-vim-syntax "i3 syntax | https://github.com/PotatoesMaster/i3-vim-syntax
" } " }
" Misc { " Misc {
"Plug 'https://austenwares.com/gitea/vim/flappyvird-vim', { 'on': [] } "Plug 'https://gitea.austenwares.com/vim/flappyvird-vim', { 'on': [] }
"The amazing Flappy Bird game | https://github.com/mattn/flappyvird-vim "The amazing Flappy Bird game | https://github.com/mattn/flappyvird-vim
"Plug 'https://austenwares.com/gitea/vim/vim-gnupg' "Plug 'https://gitea.austenwares.com/vim/vim-gnupg'
"GPG support | https://github.com/jamessan/vim-gnupg "GPG support | https://github.com/jamessan/vim-gnupg
Plug 'https://austenwares.com/gitea/vim/vim-bracketed-paste' Plug 'https://gitea.austenwares.com/vim/vim-bracketed-paste'
"Automatic :set paste funcationality | https://github.com/ConradIrwin/vim-bracketed-paste "Automatic :set paste funcationality | https://github.com/ConradIrwin/vim-bracketed-paste
"Plug 'https://austenwares.com/gitea/vim/HiCursorWords' "Plug 'https://gitea.austenwares.com/vim/HiCursorWords'
"Highlight word under cursor automatically | http://www.vim.org/scripts/script.php?script_id=4306 "Highlight word under cursor automatically | http://www.vim.org/scripts/script.php?script_id=4306
" } " }
" Unused { " Unused {
"Plug 'https://austenwares.com/gitea/vim/mirror.vim' "Plug 'https://gitea.austenwares.com/vim/mirror.vim'
" "Edit files remotely | https://github.com/zenbro/mirror.vim " "Edit files remotely | https://github.com/zenbro/mirror.vim
" } " }
" Staging { " Staging {
"Plug 'https://austenwares.com/gitea/vim/vim-symfony' "Plug 'https://gitea.austenwares.com/vim/vim-symfony'
"Plug 'dracula/vim' "Plug 'dracula/vim'
"Plug 'idanarye/vim-vebugger' "Plug 'idanarye/vim-vebugger'
@ -344,8 +344,8 @@ function! Initialize()
silent! so ~/.vimrc silent! so ~/.vimrc
endif endif
silent! PlugClean! silent! PlugClean!
silent! PlugUpdate silent! PlugInstall!
silent! PlugInstall silent! PlugUpdate!
q q
endfunction endfunction
set guifont=Gohu\ GohuFont set guifont=Gohu\ GohuFont

View File

@ -24,7 +24,7 @@ b-create() {
if [[ -f "/home/stonewareslord/syncthing/me/backup/$(hostname)/mount" ]]; then if [[ -f "/home/stonewareslord/syncthing/me/backup/$(hostname)/mount" ]]; then
"$SUDO" "/home/stonewareslord/syncthing/me/backup/$(hostname)/mount" "$SUDO" "/home/stonewareslord/syncthing/me/backup/$(hostname)/mount"
fi fi
"$SUDO" borg create -vpsx --exclude-caches --compression lzma,7 --exclude-from "$IGNORE_FILE" $BORG_REPO::$(hostname)-$(uuidgen) / /boot "$SUDO" borg create -vpsx --exclude-caches --compression lzma,7 --exclude-from "$IGNORE_FILE" $BORG_REPO::$(hostname)-$(uuidgen) / /boot /home
} }
b-rename() { b-rename() {
borg rename -v "$BORG_REPO::$1" "$2" borg rename -v "$BORG_REPO::$1" "$2"