This commit is contained in:
kento2 2025-11-16 22:32:14 +01:00
commit 4603184052
87 changed files with 3677 additions and 0 deletions

2
files/.local/bin/d Executable file
View file

@ -0,0 +1,2 @@
#!/bin/sh
exec date -I

3
files/.local/bin/menu Executable file
View file

@ -0,0 +1,3 @@
#!/bin/sh
cmd="$(dmenu_path | fzy)"
nohup sh -c "${cmd} &" >/dev/null 2>&1

9
files/.local/bin/mkbackup Executable file
View file

@ -0,0 +1,9 @@
#!/bin/sh
set -e
if ! test "$(id -u)" = 0; then
>&2 echo "mkbackup has to be run as root"
exit 1
fi
borg create -e '*/.git/*' --verbose "backups@kentoj.de:$(hostname)::$(date -I)_$1" /etc /home /srv /var/ /usr