This commit is contained in:
Stephan Raabe 2023-08-13 11:08:30 +02:00
parent 886fdf1580
commit e9368f54da
3 changed files with 14 additions and 3 deletions

View File

@ -44,11 +44,13 @@ done
echo "" echo ""
echo "-> Install main packages" echo "-> Install main packages"
packagesPacman=("alacritty" "scrot" "nitrogen" "picom" "starship" "slock" "neovim" "rofi" "dunst" "mpv" "freerdp" "xfce4-power-manager" "thunar" "mousepad" "ttf-font-awesome" "ttf-fira-sans" "ttf-fira-code" "ttf-firacode-nerd" "figlet" "lxappearance" "polybar" "breeze" "breeze-gtk" "rofi-calc" "vlc"); packagesPacman=("alacritty" "scrot" "nitrogen" "picom" "starship" "slock" "neovim" "rofi" "dunst" "mpv" "freerdp" "xfce4-power-manager" "thunar" "mousepad" "ttf-font-awesome" "ttf-fira-sans" "ttf-fira-code" "ttf-firacode-nerd" "figlet" "lxappearance" "polybar" "breeze" "breeze-gtk" "rofi-calc" "vlc" "exa");
packagesYay=("brave-bin" "pfetch" "bibata-cursor-theme"); packagesYay=("brave-bin" "pfetch" "bibata-cursor-theme");
# pywal installation below # pywal installation below
packagesPip=("psutil" "rich" "click");
# ------------------------------------------------------ # ------------------------------------------------------
# Function: Is package installed # Function: Is package installed
# ------------------------------------------------------ # ------------------------------------------------------
@ -74,6 +76,16 @@ _isInstalledYay() {
return; #false return; #false
} }
_isInstalledPip() {
package="$1";
check="$(pip list | grep "${package} ")";
if [ -n "${check}" ] ; then
echo 0;
else
echo 1;
fi
}
# ------------------------------------------------------ # ------------------------------------------------------
# Function Install all package if not installed # Function Install all package if not installed
# ------------------------------------------------------ # ------------------------------------------------------

View File

@ -16,4 +16,4 @@ xfce4-power-manager &
dunst & dunst &
~/dotfiles/polybar/launch.sh & ~/dotfiles/polybar/launch.sh &
~/dotfiles/scripts/updatewal.sh & ~/dotfiles/scripts/updatewal.sh &
virsh --connect qemu:///system start win11 # virsh --connect qemu:///system start win11

View File

@ -9,6 +9,5 @@
# by Stephan Raabe (2023) # by Stephan Raabe (2023)
# ----------------------------------------------------- # -----------------------------------------------------
virsh --connect qemu:///system start win11
looking-glass-client & looking-glass-client &
exit exit