Compare commits

..

2 Commits

Author SHA1 Message Date
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
7 changed files with 11 additions and 16 deletions

View File

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

@ -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