Compare commits

...

3 Commits

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

View File

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

View File

@ -89,7 +89,7 @@ set linenumbers
set matchbrackets "(<[{)>]}"
## 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,
## 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-accept-entry: "MouseDPrimary";*/
/* me-accept-custom: "Control+MouseDPrimary";*/
timeout {
/* timeout {
action: "kb-cancel";
delay: 0;
}
filebrowser {
directories-first: true;
sorting-method: "name";
}
}*/
}
@theme "/usr/share/rofi/themes/Arc-Dark.rasi"