From 8a253f50e1d55eece5ee29b5e4f8a8d3ae2b1d42 Mon Sep 17 00:00:00 2001 From: "stephan.raabe" Date: Thu, 9 Feb 2023 10:27:03 +0100 Subject: [PATCH] bashrc update --- .bashrc | 22 +++++++++++++++------- scripts/updatewal.sh | 11 +++++++++++ 2 files changed, 26 insertions(+), 7 deletions(-) create mode 100755 scripts/updatewal.sh diff --git a/.bashrc b/.bashrc index 812a897..231e302 100644 --- a/.bashrc +++ b/.bashrc @@ -4,34 +4,42 @@ # If not running interactively, don't do anything [[ $- != *i* ]] && return - -# alias ls='ls --color=auto' PS1='[\u@\h \W]\$ ' # ALIASES alias update-grub='sudo grub-mkconfig -o /boot/grub/grub.cfg' + +alias c='clear' + +# APPLICATIONS alias ls='exa -al' alias mutt='neomutt' alias m='neomutt' alias shutdown='sudo shutdown -h now' alias v='vim' -alias w='wal -i ~/wallpaper/' +alias r='ranger' +alias w='~/dotfiles/scripts/updatewal.sh' +# SCRIPTS alias gr='python ~/dotfiles/scripts/growthrate.py' +alias chat='python ~/mychatgpt/mychatgpt.py' +# VIRTUAL MACHINE alias vm='~/dotfiles/scripts/launchVM.sh' alias vmstart='virsh --connect qemu:///system start RDPWindows' alias vmstop='virsh --connect qemu:///system destroy RDPWindows' alias win10='xfreerdp /v:Windows10 /size:100% /d: /p:sancho /dynamic-resolution &' -alias qc='vim ~/dotfiles/qtile/config.py' -alias pc='vim ~/dotfiles/picom/picom.conf' +# EDIT CONFIG Files +alias confq='vim ~/dotfiles/qtile/config.py' +alias confp='vim ~/dotfiles/picom/picom.conf' +alias confb='vim ~/dotfiles/.bashrc' # START STARSHIP eval "$(starship init bash)" -# PyWal +# PYWAL cat ~/.cache/wal/sequences -# START NEOFETCH +# NEOFETCH neofetch diff --git a/scripts/updatewal.sh b/scripts/updatewal.sh new file mode 100755 index 0000000..809100b --- /dev/null +++ b/scripts/updatewal.sh @@ -0,0 +1,11 @@ +# ~/.bashrc + +# Update Wallpaper with pywal +wal -i ~/wallpaper/ + +# Wait for 1 sec +sleep 1 + +# Reload qtile to color bar +qtile cmd-obj -o cmd -f reload_config +