config: tweaks

This commit is contained in:
xeruf 2023-07-20 14:58:14 +02:00
parent 71c3a77709
commit f89863d436
3 changed files with 5 additions and 1 deletions

View File

@ -30,6 +30,7 @@ let g:firenvim_config = {
\ '.*twitter\.com.*': { 'priority': 9, 'takeover': 'never', },
\
\ '://pve.*': { 'priority': 9, 'takeover': 'never', },
\ '://46.*': { 'priority': 9, 'takeover': 'never', },
\ '.*:8006/.*': { 'priority': 9, 'takeover': 'never', },
\
\ '.*calendar\.google\.com.*': { 'priority': 9, 'takeover': 'empty', },

View File

@ -1,4 +1,4 @@
assign [app_id="firefox"] workspace 2
# assign [app_id="firefox"] workspace 2
assign [class="sc.gui.final.FinalApp"] workspace 5
assign [title="JViewer.*"] workspace 5
assign [class="discord"] workspace 9

View File

@ -1,5 +1,6 @@
#!/bin/sh
# Backup linux system and user files with borg
# Usage: bag [-n] [--dry-run] [--home] [--root MOUNTED_ROOT]
root="/"
args="--progress --stats"
while test $# -gt 0; do
@ -7,6 +8,8 @@ while test $# -gt 0; do
(-n) run="arg-test"; shift;;
(--dry-run) args="--dry-run --list"; name=test-$(date +%s); shift;;
(--root) shift; root="$1"; name="$(basename "$(realpath "$root")")"; echo $root $name; shift;;
(--home) "$0" home /home -e "sh:$HOME/data/4-*" -e "sh:$HOME/data/5-*" -e "sh:**/.stfolder" -e "sh:**/0-forks" -e "sh:**/.git"
return $?;;
(-*) name="${1#-}"; shift;;
(*) break;;
esac