This commit is contained in:
Stephan Raabe 2024-05-27 13:50:43 +02:00
parent 99e132b989
commit 363b349915
3 changed files with 5 additions and 10 deletions

12
.bashrc
View File

@ -19,7 +19,6 @@ export EDITOR=nvim
# ----------------------------------------------------- # -----------------------------------------------------
# ALIASES # ALIASES
# ----------------------------------------------------- # -----------------------------------------------------
alias c='clear' alias c='clear'
alias nf='fastfetch' alias nf='fastfetch'
alias pf='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-settings='~/dotfiles/apps/ML4W_Dotfiles_Settings-x86_64.AppImage'
alias ml4w-sidebar='~/dotfiles/eww/ml4w-sidebar/launch.sh' alias ml4w-sidebar='~/dotfiles/eww/ml4w-sidebar/launch.sh'
alias ml4w-hyprland='~/dotfiles/apps/ML4W_Hyprland_Settings-x86_64.AppImage' 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-hyprland-diagnosis='~/dotfiles/hypr/scripts/diagnosis.sh'
alias ml4w-qtile-diagnosis='~/dotfiles/qtile/scripts/diagnosis.sh' alias ml4w-qtile-diagnosis='~/dotfiles/qtile/scripts/diagnosis.sh'
@ -59,7 +59,6 @@ alias Qtile='startx'
# ----------------------------------------------------- # -----------------------------------------------------
# GIT # GIT
# ----------------------------------------------------- # -----------------------------------------------------
alias gs="git status" alias gs="git status"
alias ga="git add" alias ga="git add"
alias gc="git commit -m" alias gc="git commit -m"
@ -73,7 +72,6 @@ alias gcredential="git config credential.helper store"
# ----------------------------------------------------- # -----------------------------------------------------
# SCRIPTS # SCRIPTS
# ----------------------------------------------------- # -----------------------------------------------------
alias gr='python ~/dotfiles/scripts/growthrate.py' alias gr='python ~/dotfiles/scripts/growthrate.py'
alias ChatGPT='python ~/mychatgpt/mychatgpt.py' alias ChatGPT='python ~/mychatgpt/mychatgpt.py'
alias chat='python ~/mychatgpt/mychatgpt.py' alias chat='python ~/mychatgpt/mychatgpt.py'
@ -82,14 +80,12 @@ alias ascii='~/dotfiles/scripts/figlet.sh'
# ----------------------------------------------------- # -----------------------------------------------------
# VIRTUAL MACHINE # VIRTUAL MACHINE
# ----------------------------------------------------- # -----------------------------------------------------
alias vm='~/private/launchvm.sh' alias vm='~/private/launchvm.sh'
alias lg='~/dotfiles/scripts/looking-glass.sh' alias lg='~/dotfiles/scripts/looking-glass.sh'
# ----------------------------------------------------- # -----------------------------------------------------
# EDIT CONFIG FILES # EDIT CONFIG FILES
# ----------------------------------------------------- # -----------------------------------------------------
alias confq='$EDITOR ~/dotfiles/qtile/config.py' alias confq='$EDITOR ~/dotfiles/qtile/config.py'
alias confp='$EDITOR ~/dotfiles/picom/picom.conf' alias confp='$EDITOR ~/dotfiles/picom/picom.conf'
alias confb='$EDITOR ~/dotfiles/.bashrc' alias confb='$EDITOR ~/dotfiles/.bashrc'
@ -97,13 +93,11 @@ alias confb='$EDITOR ~/dotfiles/.bashrc'
# ----------------------------------------------------- # -----------------------------------------------------
# EDIT NOTES # EDIT NOTES
# ----------------------------------------------------- # -----------------------------------------------------
alias notes='$EDITOR ~/notes.txt' alias notes='$EDITOR ~/notes.txt'
# ----------------------------------------------------- # -----------------------------------------------------
# SYSTEM # SYSTEM
# ----------------------------------------------------- # -----------------------------------------------------
alias update-grub='sudo grub-mkconfig -o /boot/grub/grub.cfg' alias update-grub='sudo grub-mkconfig -o /boot/grub/grub.cfg'
alias setkb='setxkbmap de;echo "Keyboard set back to de."' alias setkb='setxkbmap de;echo "Keyboard set back to de."'
@ -133,12 +127,12 @@ eval "$(starship init bash)"
cat ~/.cache/wal/sequences cat ~/.cache/wal/sequences
# ----------------------------------------------------- # -----------------------------------------------------
# PFETCH if on wm # Fastfetch if on wm
# ----------------------------------------------------- # -----------------------------------------------------
echo ""
if [[ $(tty) == *"pts"* ]]; then if [[ $(tty) == *"pts"* ]]; then
fastfetch --config examples/13 fastfetch --config examples/13
else else
echo
if [ -f /bin/qtile ]; then if [ -f /bin/qtile ]; then
echo "Start Qtile X11 with command Qtile" echo "Start Qtile X11 with command Qtile"
fi fi

View File

@ -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 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. - Nautilus defined as the new default file manager. Thunar is still available.
- Waybar can be toggles with SUPER+CTRL+B - Waybar can be toggles with SUPER+CTRL+B
- Installation script optimized for new gum
Version 2.9 Version 2.9
https://gitlab.com/stephan-raabe/dotfiles/-/releases/2.9 https://gitlab.com/stephan-raabe/dotfiles/-/releases/2.9

View File

@ -13,7 +13,7 @@
sleep 1 sleep 1
clear clear
figlet "Updates" figlet "Updates"
echo
_isInstalledYay() { _isInstalledYay() {
package="$1"; package="$1";
check="$(yay -Qs --color always "${package}" | grep "local" | grep "${package} ")"; check="$(yay -Qs --color always "${package}" | grep "local" | grep "${package} ")";