diff --git a/home_external/.bash_aliases_branched b/home_external/.bash_aliases_branched index c2539e2..47bfa4b 100644 --- a/home_external/.bash_aliases_branched +++ b/home_external/.bash_aliases_branched @@ -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; } diff --git a/home_external/.config/nano/nanorc b/home_external/.config/nano/nanorc index 7c13914..21e7054 100644 --- a/home_external/.config/nano/nanorc +++ b/home_external/.config/nano/nanorc @@ -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 diff --git a/home_external/.config/rofi/config.rasi b/home_external/.config/rofi/config.rasi index 2d0b8eb..ae0955a 100644 --- a/home_external/.config/rofi/config.rasi +++ b/home_external/.config/rofi/config.rasi @@ -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" diff --git a/scripts/backup_edi.sh b/scripts/backup_edi.sh index adee0e9..42d8ee2 100755 --- a/scripts/backup_edi.sh +++ b/scripts/backup_edi.sh @@ -32,7 +32,7 @@ backupRootDirectory /etc/docker/daemon.json $BACKUP_DIR_ROOT/docker/ ### upload backup ### ##################### -if [[ "$1" == "--noupload" ]]; then +if [[ $# > 0 && "$1" == "--noupload" ]]; then exit 0; fi diff --git a/scripts/dockerContainerAction.sh b/scripts/dockerContainerAction.sh index 74a4e1f..87e2da9 100644 --- a/scripts/dockerContainerAction.sh +++ b/scripts/dockerContainerAction.sh @@ -16,7 +16,7 @@ upDownContainers() { continue; fi cd $subdir; - docker-compose $@; + docker compose $@; done }