Compare commits

...

13 Commits

Author SHA1 Message Date
77d6ef3708 Merge branch 'master' into debian 2025-04-15 10:15:02 +02:00
fszimnau
7270a2c858 skripte vereinfacht mit etwas weniger fp verbrauch 2025-04-14 16:53:23 +02:00
fabian
d3d0a4cc5d updated command to docker compose 2.0 2024-09-01 14:47:17 +02:00
fabian
ae2779f48e fix npe-like-error 2024-09-01 14:46:44 +02:00
0d7c1902c1 fkin just work now... please 2024-04-01 00:17:07 +02:00
d8e73040bc Merge branch 'debian' of ssh://git.szimnau.de:222/fabian/sync into debian 2024-04-01 00:14:47 +02:00
bb09061c3b improved automatic updates via executeAndNotify to enable fire-and-forget 2024-03-31 23:59:16 +02:00
08fbd0beb9 new function to update debian based systems
improved automatic updates via executeAndNotify to enable fire-and-forget
2024-03-31 23:58:19 +02:00
e99b430ce8 new function to update debian based systems
improved automatic updates via executeAndNotify to enable fire-and-forget
2024-03-31 23:54:05 +02:00
1952ece138 - commented out options not working in ancient debian version 2024-03-31 23:47:34 +02:00
a50baf801c Revert "Revert "old raspi version of nanorc cannot handle certain settings""
This reverts commit 844fe85d6d.
2024-03-31 23:46:47 +02:00
0306ebc04c enable mounting media 2024-03-31 23:33:35 +02:00
1ea29d78d7 since the directory is not used only for movies anymore, rename 2024-03-31 23:33:01 +02:00
11 changed files with 25 additions and 17 deletions

View File

@@ -4,13 +4,18 @@
updatePackages() { updatePackages() {
noconfirm= noconfirm=
if [[ $1 == "-y" ]]; then if [[ $1 == "-y" ]]; then
noconfirm="--no-confirm"; noconfirm="--assume-yes"
fi fi
executeAndNotify "doUpdatePackages $noconfirm" "packages updated" "package update failed"; full=
if [[ $2 == "--full" ]]; then
full="full-"
fi
executeAndNotify "doUpdatePackages $noconfirm $full" "system updated" "system update failed";
} }
doUpdatePackages() { doUpdatePackages() {
pamac update $1; sudo apt update;
pamac remove --orphans --cascade $1; sudo apt ${2}upgrade $1;
sudo apt autoremove $1;
} }

View File

@@ -89,7 +89,7 @@ set linenumbers
set matchbrackets "(<[{)>]}" set matchbrackets "(<[{)>]}"
## Suppress title bar and show file name and editor state at the bottom. ## Suppress title bar and show file name and editor state at the bottom.
set minibar # set minibar
## Enable mouse support, if available for your system. When enabled, ## Enable mouse support, if available for your system. When enabled,
## mouse clicks can be used to place the cursor, set the mark (with a ## mouse clicks can be used to place the cursor, set the mark (with a

View File

@@ -139,13 +139,13 @@ configuration {
/* me-select-entry: "MousePrimary";*/ /* me-select-entry: "MousePrimary";*/
/* me-accept-entry: "MouseDPrimary";*/ /* me-accept-entry: "MouseDPrimary";*/
/* me-accept-custom: "Control+MouseDPrimary";*/ /* me-accept-custom: "Control+MouseDPrimary";*/
timeout { /* timeout {
action: "kb-cancel"; action: "kb-cancel";
delay: 0; delay: 0;
} }
filebrowser { filebrowser {
directories-first: true; directories-first: true;
sorting-method: "name"; sorting-method: "name";
} }*/
} }
@theme "/usr/share/rofi/themes/Arc-Dark.rasi" @theme "/usr/share/rofi/themes/Arc-Dark.rasi"

View File

@@ -1,3 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
source=${1%/}; # cut off trailing "/" source=$1
tar cfv $source.tar $source && xz $source.tar; destinationPart=${1%/}; # cut off trailing "/"
# tar cfv $destinationPart.tar $source && xz $destinationPart.tar;
tar c -I"xz -v" -vf $destinationPart.tar.xz $source

View File

@@ -32,7 +32,7 @@ backupRootDirectory /etc/docker/daemon.json $BACKUP_DIR_ROOT/docker/
### upload backup ### ### upload backup ###
##################### #####################
if [[ "$1" == "--noupload" ]]; then if [[ $# > 0 && "$1" == "--noupload" ]]; then
exit 0; exit 0;
fi fi

View File

@@ -1,4 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
source=$1; source=$1;
archive=${source%.xz}; # cut off trailing ".xz" # archive=${source%.xz}; # cut off trailing ".xz"
unxz $source && tar xfv $archive # unxz $source && tar xfv $archive
tar x -I"unxz -v" -vf $source

View File

@@ -16,7 +16,7 @@ upDownContainers() {
continue; continue;
fi fi
cd $subdir; cd $subdir;
docker-compose $@; docker compose $@;
done done
} }

View File

@@ -3,4 +3,4 @@ set -euo pipefail
source /sync/scripts/mount_general.sh source /sync/scripts/mount_general.sh
sshMount edi edi fabian FabisDokumente sshMount edi edi fabian FabisDokumente media Medien

View File

@@ -3,4 +3,4 @@ set -euo pipefail
source /sync/scripts/mount_general.sh source /sync/scripts/mount_general.sh
sshMount fabian garrus fabian FabisDokumente media Filme sshMount fabian garrus fabian FabisDokumente media Medien

View File

@@ -3,4 +3,4 @@ set -euo pipefail
source /sync/scripts/unmount_general.sh source /sync/scripts/unmount_general.sh
sshUnmount FabisDokumente sshUnmount FabisDokumente Medien

View File

@@ -3,4 +3,4 @@ set -euo pipefail
source /sync/scripts/unmount_general.sh source /sync/scripts/unmount_general.sh
sshUnmount FabisDokumente Filme sshUnmount FabisDokumente Medien