From 363b349915cd7f1e6568d350bd574beb37e26ed9 Mon Sep 17 00:00:00 2001 From: Stephan Raabe Date: Mon, 27 May 2024 13:50:43 +0200 Subject: [PATCH] Updates --- .bashrc | 12 +++--------- CHANGELOG | 1 + scripts/installupdates.sh | 2 +- 3 files changed, 5 insertions(+), 10 deletions(-) diff --git a/.bashrc b/.bashrc index 60c7cb2..3bb3980 100644 --- a/.bashrc +++ b/.bashrc @@ -19,7 +19,6 @@ export EDITOR=nvim # ----------------------------------------------------- # ALIASES # ----------------------------------------------------- - alias c='clear' alias nf='fastfetch' alias pf='fastfetch' @@ -46,6 +45,7 @@ alias ml4w='~/dotfiles/apps/ML4W_Welcome-x86_64.AppImage' alias ml4w-settings='~/dotfiles/apps/ML4W_Dotfiles_Settings-x86_64.AppImage' alias ml4w-sidebar='~/dotfiles/eww/ml4w-sidebar/launch.sh' alias ml4w-hyprland='~/dotfiles/apps/ML4W_Hyprland_Settings-x86_64.AppImage' +alias ml4w-diagnosis='~/dotfiles/hypr/scripts/diagnosis.sh' alias ml4w-hyprland-diagnosis='~/dotfiles/hypr/scripts/diagnosis.sh' alias ml4w-qtile-diagnosis='~/dotfiles/qtile/scripts/diagnosis.sh' @@ -59,7 +59,6 @@ alias Qtile='startx' # ----------------------------------------------------- # GIT # ----------------------------------------------------- - alias gs="git status" alias ga="git add" alias gc="git commit -m" @@ -73,7 +72,6 @@ alias gcredential="git config credential.helper store" # ----------------------------------------------------- # SCRIPTS # ----------------------------------------------------- - alias gr='python ~/dotfiles/scripts/growthrate.py' alias ChatGPT='python ~/mychatgpt/mychatgpt.py' alias chat='python ~/mychatgpt/mychatgpt.py' @@ -82,14 +80,12 @@ alias ascii='~/dotfiles/scripts/figlet.sh' # ----------------------------------------------------- # VIRTUAL MACHINE # ----------------------------------------------------- - alias vm='~/private/launchvm.sh' alias lg='~/dotfiles/scripts/looking-glass.sh' # ----------------------------------------------------- # EDIT CONFIG FILES # ----------------------------------------------------- - alias confq='$EDITOR ~/dotfiles/qtile/config.py' alias confp='$EDITOR ~/dotfiles/picom/picom.conf' alias confb='$EDITOR ~/dotfiles/.bashrc' @@ -97,13 +93,11 @@ alias confb='$EDITOR ~/dotfiles/.bashrc' # ----------------------------------------------------- # EDIT NOTES # ----------------------------------------------------- - alias notes='$EDITOR ~/notes.txt' # ----------------------------------------------------- # SYSTEM # ----------------------------------------------------- - alias update-grub='sudo grub-mkconfig -o /boot/grub/grub.cfg' alias setkb='setxkbmap de;echo "Keyboard set back to de."' @@ -133,12 +127,12 @@ eval "$(starship init bash)" cat ~/.cache/wal/sequences # ----------------------------------------------------- -# PFETCH if on wm +# Fastfetch if on wm # ----------------------------------------------------- -echo "" if [[ $(tty) == *"pts"* ]]; then fastfetch --config examples/13 else + echo if [ -f /bin/qtile ]; then echo "Start Qtile X11 with command Qtile" fi diff --git a/CHANGELOG b/CHANGELOG index d09d951..aa5ee99 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -10,6 +10,7 @@ https://gitlab.com/stephan-raabe/dotfiles/-/releases/2.9 For auto-activation at a dedicated time please set the filter to off and follow the instructions here https://github.com/loqusion/hyprshade - Nautilus defined as the new default file manager. Thunar is still available. - Waybar can be toggles with SUPER+CTRL+B +- Installation script optimized for new gum Version 2.9 https://gitlab.com/stephan-raabe/dotfiles/-/releases/2.9 diff --git a/scripts/installupdates.sh b/scripts/installupdates.sh index 1f78dd8..2a2ad73 100755 --- a/scripts/installupdates.sh +++ b/scripts/installupdates.sh @@ -13,7 +13,7 @@ sleep 1 clear figlet "Updates" - +echo _isInstalledYay() { package="$1"; check="$(yay -Qs --color always "${package}" | grep "local" | grep "${package} ")";