diff --git a/.bin/backup-and-update-system b/.bin/backup-and-update-system index 8b9e653..c28a285 100755 --- a/.bin/backup-and-update-system +++ b/.bin/backup-and-update-system @@ -19,11 +19,11 @@ done --rsync-path="/usr/bin/rsync --fake-super" \ -e "ssh" --delete-excluded \ --exclude "/home/kunsi/.cache/" \ - --exclude "/home/kunsi/.config/Ferdi/" \ --exclude "/home/kunsi/.config/Rambox/" \ + --exclude "/home/kunsi/.config/Ferdi/" \ --exclude "/home/kunsi/.local/lib/python*/site-packages/" \ - --exclude "/home/kunsi/.local/share/TelegramDesktop/tdata/user_data/cache/" \ --exclude "/home/kunsi/.local/share/sddm/" \ + --exclude "/home/kunsi/.local/share/TelegramDesktop/tdata/user_data/cache/" \ --exclude "/home/kunsi/.mozilla/firefox/*/storage/*" \ --exclude "/home/kunsi/.npm/" \ --exclude "/home/kunsi/.nvm/" \ @@ -31,10 +31,9 @@ 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. diff --git a/.bin/voc-mount b/.bin/voc-mount deleted file mode 100755 index 0c37e63..0000000 --- a/.bin/voc-mount +++ /dev/null @@ -1,24 +0,0 @@ -#!/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 " >&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" diff --git a/.config/fish/config.fish b/.config/fish/config.fish index ce5167a..49569cd 100644 --- a/.config/fish/config.fish +++ b/.config/fish/config.fish @@ -25,8 +25,6 @@ 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 diff --git a/.config/i3/config b/.config/i3/config index 2c8f466..b4d9bc1 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -1,7 +1,7 @@ set $mod Mod4 #font pango:B612 Regular 7 -font pango:DB Office Regular 9 +font pango:DejaVuSans Regular 8 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 $ws1 output DP2-2 -workspace $ws2 output DP2-1 -workspace $ws3 output DP2-2 -workspace $ws9 output eDP1 -workspace $ws10 output DP2-1 +workspace 1 output DP2-2 +workspace 2 output DP2-1 +workspace 3 output DP2-2 +workspace 9 output eDP1 +workspace 10 output DP2-1 exec_always setxkbmap -synch exec_always ~/.fehbg diff --git a/.fehbg b/.fehbg index 9b3f00c..94cb072 100755 --- a/.fehbg +++ b/.fehbg @@ -1,2 +1,2 @@ #!/bin/sh -feh --no-fehbg --bg-scale '/home/kunsi/Pictures/2021-08-28_The-Treasure_by-David-Revoy.jpg' +xsetroot -solid black diff --git a/.gtkrc-2.0 b/.gtkrc-2.0 index 171dc0e..30c53fc 100644 --- a/.gtkrc-2.0 +++ b/.gtkrc-2.0 @@ -1,4 +1,4 @@ -gtk-theme-name="breeze-dark" +gtk-theme-name="Adwaita-dark" gtk-enable-animations=1 diff --git a/.ssh/config b/.ssh/config index 2591b72..8804a22 100755 --- a/.ssh/config +++ b/.ssh/config @@ -5,10 +5,6 @@ Host * Include ~/.ssh/bwnodes -Host luther-netcup - HostName 46.38.249.46 - User sub4632_80 - Host shells HostName shells.entropia.de Port 22 diff --git a/.vimrc b/.vimrc index 24cd979..a87fc1d 100644 --- a/.vimrc +++ b/.vimrc @@ -24,50 +24,5 @@ map :nohlsearch 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 -nmap Ö :-tabm - 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 xc :call X11Copy() -vmap xc "xy:call X11CopyRegister('x') -nmap xp :call X11PasteClipboard() -nmap xP :call X11PastePrimary() -