This commit is contained in:
Stephan Raabe 2024-02-19 09:00:59 +01:00
parent 846583599f
commit b67525df47
9 changed files with 107 additions and 102 deletions

View File

@ -44,6 +44,7 @@ packagesPacman=(
"network-manager-applet" "network-manager-applet"
"xarchiver" "xarchiver"
"thunar-archive-plugin" "thunar-archive-plugin"
"zip"
"fuse2" "fuse2"
"gtk4" "gtk4"
"libadwaita" "libadwaita"

View File

@ -2,55 +2,38 @@
# Install dotfiles # Install dotfiles
# ------------------------------------------------------ # ------------------------------------------------------
if [ ! $mode == "dev" ]; then if [ -d ~/dotfiles-versions/$version/alacritty ]; then
if [ -d ~/dotfiles-versions/$version/alacritty ]; then
_installSymLink alacritty ~/.config/alacritty ~/dotfiles/alacritty/ ~/.config _installSymLink alacritty ~/.config/alacritty ~/dotfiles/alacritty/ ~/.config
fi fi
if [ -d ~/dotfiles-versions/$version/vim ]; then if [ -d ~/dotfiles-versions/$version/vim ]; then
_installSymLink vim ~/.config/vim ~/dotfiles/vim/ ~/.config _installSymLink vim ~/.config/vim ~/dotfiles/vim/ ~/.config
fi fi
if [ -d ~/dotfiles-versions/$version/nvim ]; then if [ -d ~/dotfiles-versions/$version/nvim ]; then
_installSymLink nvim ~/.config/nvim ~/dotfiles/nvim/ ~/.config _installSymLink nvim ~/.config/nvim ~/dotfiles/nvim/ ~/.config
fi fi
if [ -d ~/dotfiles-versions/$version/starship ]; then if [ -d ~/dotfiles-versions/$version/starship ]; then
_installSymLink starship ~/.config/starship.toml ~/dotfiles/starship/starship.toml ~/.config/starship.toml _installSymLink starship ~/.config/starship.toml ~/dotfiles/starship/starship.toml ~/.config/starship.toml
fi fi
if [ -d ~/dotfiles-versions/$version/rofi ]; then if [ -d ~/dotfiles-versions/$version/rofi ]; then
_installSymLink rofi ~/.config/rofi ~/dotfiles/rofi/ ~/.config _installSymLink rofi ~/.config/rofi ~/dotfiles/rofi/ ~/.config
fi fi
if [ -d ~/dotfiles-versions/$version/dunst ]; then if [ -d ~/dotfiles-versions/$version/dunst ]; then
_installSymLink dunst ~/.config/dunst ~/dotfiles/dunst/ ~/.config _installSymLink dunst ~/.config/dunst ~/dotfiles/dunst/ ~/.config
fi fi
if [ -d ~/dotfiles-versions/$version/hypr ]; then if [ -d ~/dotfiles-versions/$version/hypr ]; then
_installSymLink hypr ~/.config/hypr ~/dotfiles/hypr/ ~/.config _installSymLink hypr ~/.config/hypr ~/dotfiles/hypr/ ~/.config
fi fi
if [ -d ~/dotfiles-versions/$version/waybar ]; then if [ -d ~/dotfiles-versions/$version/waybar ]; then
_installSymLink waybar ~/.config/waybar ~/dotfiles/waybar/ ~/.config _installSymLink waybar ~/.config/waybar ~/dotfiles/waybar/ ~/.config
fi fi
if [ -d ~/dotfiles-versions/$version/swaylock ]; then if [ -d ~/dotfiles-versions/$version/swaylock ]; then
_installSymLink swaylock ~/.config/swaylock ~/dotfiles/swaylock/ ~/.config _installSymLink swaylock ~/.config/swaylock ~/dotfiles/swaylock/ ~/.config
fi fi
if [ -d ~/dotfiles-versions/$version/wlogout ]; then if [ -d ~/dotfiles-versions/$version/wlogout ]; then
_installSymLink wlogout ~/.config/wlogout ~/dotfiles/wlogout/ ~/.config _installSymLink wlogout ~/.config/wlogout ~/dotfiles/wlogout/ ~/.config
fi fi
if [ -d ~/dotfiles-versions/$version/swappy ]; then if [ -d ~/dotfiles-versions/$version/swappy ]; then
_installSymLink swappy ~/.config/swappy ~/dotfiles/swappy/ ~/.config _installSymLink swappy ~/.config/swappy ~/dotfiles/swappy/ ~/.config
fi
#if [ -d ~/dotfiles-versions/$version/gtk ]; then
# _installSymLink .gtkrc-2.0 ~/.gtkrc-2.0 ~/dotfiles/gtk/.gtkrc-2.0 ~/.gtkrc-2.0
#fi
#if [ -d ~/dotfiles-versions/$version/gtk ]; then
# _installSymLink .Xresources ~/.Xresources ~/dotfiles/gtk/.Xresources ~/.Xresources
#fi
#if [ -d ~/dotfiles-versions/$version/gtk ]; then
# _installSymLink gtk-3.0 ~/.config/gtk-3.0 ~/dotfiles/gtk/gtk-3.0/ ~/.config/
#fi
#if [ -d ~/dotfiles-versions/$version/gtk ]; then
# _installSymLink gtk-4.0 ~/.config/gtk-4.0 ~/dotfiles/gtk/gtk-4.0/ ~/.config/
#fi
else
echo "Skipped: DEV MODE!"
fi fi
echo "Symbolic links created." echo "Symbolic links created."
echo "" echo

View File

@ -2,42 +2,37 @@
# Install dotfiles # Install dotfiles
# ------------------------------------------------------ # ------------------------------------------------------
if [ ! $mode == "dev" ]; then if [ -d ~/dotfiles-versions/$version/alacritty ]; then
if [ -d ~/dotfiles-versions/$version/alacritty ]; then
_installSymLink alacritty ~/.config/alacritty ~/dotfiles/alacritty/ ~/.config _installSymLink alacritty ~/.config/alacritty ~/dotfiles/alacritty/ ~/.config
fi fi
if [ -d ~/dotfiles-versions/$version/vim ]; then if [ -d ~/dotfiles-versions/$version/vim ]; then
_installSymLink vim ~/.config/vim ~/dotfiles/vim/ ~/.config _installSymLink vim ~/.config/vim ~/dotfiles/vim/ ~/.config
fi fi
if [ -d ~/dotfiles-versions/$version/nvim ]; then if [ -d ~/dotfiles-versions/$version/nvim ]; then
_installSymLink nvim ~/.config/nvim ~/dotfiles/nvim/ ~/.config _installSymLink nvim ~/.config/nvim ~/dotfiles/nvim/ ~/.config
fi fi
if [ -d ~/dotfiles-versions/$version/starship ]; then if [ -d ~/dotfiles-versions/$version/starship ]; then
_installSymLink starship ~/.config/starship.toml ~/dotfiles/starship/starship.toml ~/.config/starship.toml _installSymLink starship ~/.config/starship.toml ~/dotfiles/starship/starship.toml ~/.config/starship.toml
fi fi
if [ -d ~/dotfiles-versions/$version/rofi ]; then if [ -d ~/dotfiles-versions/$version/rofi ]; then
_installSymLink rofi ~/.config/rofi ~/dotfiles/rofi/ ~/.config _installSymLink rofi ~/.config/rofi ~/dotfiles/rofi/ ~/.config
fi fi
if [ -d ~/dotfiles-versions/$version/dunst ]; then if [ -d ~/dotfiles-versions/$version/dunst ]; then
_installSymLink dunst ~/.config/dunst ~/dotfiles/dunst/ ~/.config _installSymLink dunst ~/.config/dunst ~/dotfiles/dunst/ ~/.config
fi fi
if [ -d ~/dotfiles-versions/$version/qtile ]; then if [ -d ~/dotfiles-versions/$version/qtile ]; then
_installSymLink qtile ~/.config/qtile ~/dotfiles/qtile/ ~/.config _installSymLink qtile ~/.config/qtile ~/dotfiles/qtile/ ~/.config
fi fi
if [ -d ~/dotfiles-versions/$version/picom ]; then if [ -d ~/dotfiles-versions/$version/picom ]; then
_installSymLink picom ~/.config/picom ~/dotfiles/picom/ ~/.config _installSymLink picom ~/.config/picom ~/dotfiles/picom/ ~/.config
fi fi
if [ -d ~/dotfiles-versions/$version/qtile ]; then if [ -d ~/dotfiles-versions/$version/qtile ]; then
_installSymLink .xinitrc ~/.xinitrc ~/dotfiles/qtile/.xinitrc ~/.xinitrc _installSymLink .xinitrc ~/.xinitrc ~/dotfiles/qtile/.xinitrc ~/.xinitrc
fi fi
if [ -d ~/dotfiles-versions/$version/swaylock ]; then if [ -d ~/dotfiles-versions/$version/swaylock ]; then
_installSymLink swaylock ~/.config/swaylock ~/dotfiles/swaylock/ ~/.config _installSymLink swaylock ~/.config/swaylock ~/dotfiles/swaylock/ ~/.config
fi fi
if [ -d ~/dotfiles-versions/$version/swappy ]; then if [ -d ~/dotfiles-versions/$version/swappy ]; then
_installSymLink swappy ~/.config/swappy ~/dotfiles/swappy/ ~/.config _installSymLink swappy ~/.config/swappy ~/dotfiles/swappy/ ~/.config
fi
else
echo "Skipped: DEV MODE!"
fi fi
echo "Symbolic links created." echo "Symbolic links created."
echo ""

View File

@ -1,15 +1,19 @@
Version 2.8.1 Version 2.8.1
https://gitlab.com/stephan-raabe/dotfiles/-/releases/2.8 https://gitlab.com/stephan-raabe/dotfiles/-/releases/2.8
-------------------------------------------------------- --------------------------------------------------------
General:
- xarchiver and zip added for thunar
ML4W Welcome App: ML4W Welcome App:
- Terminal can be set for Thunar - Opens Hyprland systeminfo from the about menu
- Opens systeminfo of Hyprland - Timeshift can be installed from the settings menu
- Terminal for Thunar can be set from the settings menu
Hyprland: Hyprland:
- Bugfix timeshift detection in installupdates.sh - Bugfix timeshift detection in installupdates.sh
Qtile: Qtile:
- - Polybar removed from the dotfiles
Version 2.8 Version 2.8
https://gitlab.com/stephan-raabe/dotfiles/-/releases/2.8 https://gitlab.com/stephan-raabe/dotfiles/-/releases/2.8

Binary file not shown.

View File

@ -8,4 +8,3 @@ windowrule = tile,^(Chromium)$
windowrule = float,^(pavucontrol)$ windowrule = float,^(pavucontrol)$
windowrule = float,^(blueman-manager)$ windowrule = float,^(blueman-manager)$
windowrule = float,^(nm-connection-editor)$ windowrule = float,^(nm-connection-editor)$

31
scripts/installtimeshift.sh Executable file
View File

@ -0,0 +1,31 @@
#!/bin/bash
# _____ _ _ _ __ _
# |_ _(_)_ __ ___ ___ ___| |__ (_)/ _| |_
# | | | | '_ ` _ \ / _ \/ __| '_ \| | |_| __|
# | | | | | | | | | __/\__ \ | | | | _| |_
# |_| |_|_| |_| |_|\___||___/_| |_|_|_| \__|
#
sleep 1
clear
figlet "Timeshift"
_isInstalledYay() {
package="$1";
check="$(yay -Qs --color always "${package}" | grep "local" | grep "${package} ")";
if [ -n "${check}" ] ; then
echo 0; #'0' means 'true' in Bash
return; #true
fi;
echo 1; #'1' means 'false' in Bash
return; #false
}
if [[ $(_isInstalledYay "timeshift") == "0" ]] ;then
echo ":: Timeshift is already installed"
sleep 3
else
if gum confirm "DO YOU WANT TO INSTALL Timeshift now?" ;then
yay -S timeshift
fi
fi

View File

@ -5,22 +5,14 @@
# | || | | \__ \ || (_| | | | | |_| | |_) | (_| | (_| | || __/\__ \ # | || | | \__ \ || (_| | | | | |_| | |_) | (_| | (_| | || __/\__ \
# |___|_| |_|___/\__\__,_|_|_| \___/| .__/ \__,_|\__,_|\__\___||___/ # |___|_| |_|___/\__\__,_|_|_| \___/| .__/ \__,_|\__,_|\__\___||___/
# |_| # |_|
# by Stephan Raabe (2023) # by Stephan Raabe (2024)
# ----------------------------------------------------- # -----------------------------------------------------
# Required: yay trizen timeshift btrfs-grub # Required: yay trizen timeshift btrfs-grub
# ----------------------------------------------------- # -----------------------------------------------------
sleep 1 sleep 1
clear clear
figlet "Updates"
cat <<"EOF"
_ _ _ _
| | | |_ __ __| | __ _| |_ ___ ___
| | | | '_ \ / _` |/ _` | __/ _ \/ __|
| |_| | |_) | (_| | (_| | || __/\__ \
\___/| .__/ \__,_|\__,_|\__\___||___/
|_|
EOF EOF
_isInstalledYay() { _isInstalledYay() {