Compare commits
4 commits
b221b0574b
...
82bd1013ef
Author | SHA1 | Date | |
---|---|---|---|
Franzi | 82bd1013ef | ||
Franzi | 6ca9992ff5 | ||
Franzi | e85b5f19a6 | ||
Franzi | 1cbdbaedb9 |
|
@ -19,11 +19,11 @@ done
|
|||
--rsync-path="/usr/bin/rsync --fake-super" \
|
||||
-e "ssh" --delete-excluded \
|
||||
--exclude "/home/kunsi/.cache/" \
|
||||
--exclude "/home/kunsi/.config/Rambox/" \
|
||||
--exclude "/home/kunsi/.config/Ferdi/" \
|
||||
--exclude "/home/kunsi/.config/Rambox/" \
|
||||
--exclude "/home/kunsi/.local/lib/python*/site-packages/" \
|
||||
--exclude "/home/kunsi/.local/share/sddm/" \
|
||||
--exclude "/home/kunsi/.local/share/TelegramDesktop/tdata/user_data/cache/" \
|
||||
--exclude "/home/kunsi/.local/share/sddm/" \
|
||||
--exclude "/home/kunsi/.mozilla/firefox/*/storage/*" \
|
||||
--exclude "/home/kunsi/.npm/" \
|
||||
--exclude "/home/kunsi/.nvm/" \
|
||||
|
@ -31,9 +31,10 @@ done
|
|||
--exclude "/home/kunsi/.ssh/cm-*" \
|
||||
--exclude "/home/kunsi/.vdirsyncer" \
|
||||
--exclude "/home/kunsi/Downloads/" \
|
||||
--exclude "/home/kunsi/qemu/Windows_10.qcow2" \
|
||||
--exclude "/home/kunsi/Schreibtisch/" \
|
||||
--exclude "/home/kunsi/VirtualBox VMs/" \
|
||||
--exclude "/home/kunsi/qemu/Windows_10.qcow2" \
|
||||
--exclude "/home/kunsi/tmp.*/" \
|
||||
"/home/kunsi" "kunsi-t470@home.nas":backups/
|
||||
|
||||
# Exit code 24 means some files have vanished during rsync.
|
||||
|
|
24
.bin/voc-mount
Executable file
24
.bin/voc-mount
Executable file
|
@ -0,0 +1,24 @@
|
|||
#!/bin/bash
|
||||
|
||||
# mount a voc encoder or minion to /video
|
||||
|
||||
device=$1
|
||||
|
||||
[[ -n "$DEBUG" ]] && set -x
|
||||
set -euo pipefail
|
||||
|
||||
uid="$(id -u)"
|
||||
|
||||
if [[ -z "$device" ]]
|
||||
then
|
||||
echo "Usage: $0 <device>" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if ! [[ -d "/video/fuse" ]]
|
||||
then
|
||||
sudo mkdir -p "/video/fuse"
|
||||
fi
|
||||
|
||||
sudo mount -t cifs -o "uid=${uid},password=" "//${device}.lan.c3voc.de/video" "/video"
|
||||
sudo mount -t cifs -o "uid=${uid},password=" "//${device}.lan.c3voc.de/fuse" "/video/fuse"
|
|
@ -25,6 +25,8 @@ alias gc='git commit'
|
|||
alias gd='git diff'
|
||||
alias gdc='git diff --cached'
|
||||
alias gm='git checkout main && git pull --all'
|
||||
alias gp='git push'
|
||||
alias gpu='git push -u origin HEAD'
|
||||
alias gs='git status --short'
|
||||
|
||||
set -x BW_ITEM_WORKERS 16
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
set $mod Mod4
|
||||
|
||||
#font pango:B612 Regular 7
|
||||
font pango:DejaVuSans Regular 8
|
||||
font pango:DB Office Regular 9
|
||||
|
||||
floating_modifier $mod
|
||||
|
||||
|
@ -108,11 +108,11 @@ for_window [class="Gnome-calculator"] floating enable
|
|||
for_window [class="realvnc-vncviewer"] floating enable
|
||||
for_window [class="xiate-floating"] floating enable
|
||||
|
||||
workspace 1 output DP2-2
|
||||
workspace 2 output DP2-1
|
||||
workspace 3 output DP2-2
|
||||
workspace 9 output eDP1
|
||||
workspace 10 output DP2-1
|
||||
workspace $ws1 output DP2-2
|
||||
workspace $ws2 output DP2-1
|
||||
workspace $ws3 output DP2-2
|
||||
workspace $ws9 output eDP1
|
||||
workspace $ws10 output DP2-1
|
||||
|
||||
exec_always setxkbmap -synch
|
||||
exec_always ~/.fehbg
|
||||
|
|
2
.fehbg
2
.fehbg
|
@ -1,2 +1,2 @@
|
|||
#!/bin/sh
|
||||
xsetroot -solid black
|
||||
feh --no-fehbg --bg-scale '/home/kunsi/Pictures/2021-08-28_The-Treasure_by-David-Revoy.jpg'
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
gtk-theme-name="Adwaita-dark"
|
||||
gtk-theme-name="breeze-dark"
|
||||
|
||||
gtk-enable-animations=1
|
||||
|
||||
|
|
|
@ -5,6 +5,10 @@ Host *
|
|||
|
||||
Include ~/.ssh/bwnodes
|
||||
|
||||
Host luther-netcup
|
||||
HostName 46.38.249.46
|
||||
User sub4632_80
|
||||
|
||||
Host shells
|
||||
HostName shells.entropia.de
|
||||
Port 22
|
||||
|
|
45
.vimrc
45
.vimrc
|
@ -24,5 +24,50 @@ map <silent> <c-k> :nohlsearch<CR>
|
|||
set colorcolumn=72,120
|
||||
hi colorcolumn ctermbg=NONE ctermfg=red cterm=bold guibg=NONE guifg=red gui=bold
|
||||
|
||||
" Tab navigation
|
||||
set showtabline=2
|
||||
set tabpagemax=1000
|
||||
nmap ä gt
|
||||
nmap ö gT
|
||||
nmap Ä :+tabm<CR>
|
||||
nmap Ö :-tabm<CR>
|
||||
|
||||
au BufRead /tmp/neomutt-* set tw=72
|
||||
au BufRead /tmp/mutt-* set tw=72
|
||||
|
||||
" No littering.
|
||||
if isdirectory('/tmp/vim-' . $USER) == 0
|
||||
:silent !install -dm700 /tmp/vim-$USER >/dev/null 2>&1
|
||||
endif
|
||||
set directory=/tmp/vim-$USER//
|
||||
set nobackup
|
||||
set nowritebackup
|
||||
set viminfo=""
|
||||
|
||||
|
||||
" Set default file type to text
|
||||
" https://stackoverflow.com/questions/5487338/vim-set-filetype-txt-for-every-new-file-no-name
|
||||
autocmd BufEnter * if &filetype == "" | setlocal ft=text | endif
|
||||
|
||||
" X11 clipboard.
|
||||
fun X11Copy()
|
||||
silent %w !setsid xclip -selection clipboard
|
||||
endfun
|
||||
|
||||
fun X11CopyRegister(reg)
|
||||
let l:ignore = system('setsid xclip -selection clipboard', getreg(a:reg))
|
||||
endfun
|
||||
|
||||
fun X11PasteClipboard()
|
||||
r !xclip -selection clipboard -o
|
||||
endfun
|
||||
|
||||
fun X11PastePrimary()
|
||||
r !xclip -o
|
||||
endfun
|
||||
|
||||
nmap <Leader>xc :call X11Copy()<CR>
|
||||
vmap <Leader>xc "xy:call X11CopyRegister('x')<CR>
|
||||
nmap <Leader>xp :call X11PasteClipboard()<CR>
|
||||
nmap <Leader>xP :call X11PastePrimary()<CR>
|
||||
|
||||
|
|
Loading…
Reference in a new issue