From 1748e42b4db98a9d318230e34b9c9109c528b861 Mon Sep 17 00:00:00 2001 From: Stephan Raabe Date: Thu, 23 May 2024 15:47:31 +0200 Subject: [PATCH] Updates --- hypr/scripts/diagnosis.sh | 8 +++++++ hypr/scripts/eww.sh | 5 ++++ hypr/scripts/gtk.sh | 6 +++++ hypr/scripts/init-wallpaper-engine.sh | 8 +++++++ hypr/scripts/ml4w-launcher.sh | 33 -------------------------- hypr/scripts/ml4w-welcome-autostart.sh | 8 +++---- hypr/scripts/wallpaper.sh | 2 +- 7 files changed, 32 insertions(+), 38 deletions(-) delete mode 100755 hypr/scripts/ml4w-launcher.sh diff --git a/hypr/scripts/diagnosis.sh b/hypr/scripts/diagnosis.sh index ef30158..a91a668 100755 --- a/hypr/scripts/diagnosis.sh +++ b/hypr/scripts/diagnosis.sh @@ -1,4 +1,12 @@ #!/bin/bash +# ____ _ _ +# | _ \(_) __ _ __ _ _ __ ___ ___(_)___ +# | | | | |/ _` |/ _` | '_ \ / _ \/ __| / __| +# | |_| | | (_| | (_| | | | | (_) \__ \ \__ \ +# |____/|_|\__,_|\__, |_| |_|\___/|___/_|___/ +# |___/ +# + clear sleep 0.5 figlet "Diagnosis" diff --git a/hypr/scripts/eww.sh b/hypr/scripts/eww.sh index ef4c3af..7df4512 100755 --- a/hypr/scripts/eww.sh +++ b/hypr/scripts/eww.sh @@ -1,4 +1,9 @@ #!/bin/bash +# _____ ____ __ +# / _ \ \ /\ / /\ \ /\ / / +# | __/\ V V / \ V V / +# \___| \_/\_/ \_/\_/ +# EWW=`which eww` if [[ ! `pidof eww` ]]; then ${EWW} daemon diff --git a/hypr/scripts/gtk.sh b/hypr/scripts/gtk.sh index 5b19731..e412fab 100755 --- a/hypr/scripts/gtk.sh +++ b/hypr/scripts/gtk.sh @@ -1,4 +1,10 @@ #!/bin/bash +# ____ _____ _ __ +# / ___|_ _| |/ / +# | | _ | | | ' / +# | |_| | | | | . \ +# \____| |_| |_|\_\ +# # Source: https://github.com/swaywm/sway/wiki/GTK-3-settings-on-Wayland config="$HOME/.config/gtk-3.0/settings.ini" diff --git a/hypr/scripts/init-wallpaper-engine.sh b/hypr/scripts/init-wallpaper-engine.sh index bfe31c1..afedd12 100755 --- a/hypr/scripts/init-wallpaper-engine.sh +++ b/hypr/scripts/init-wallpaper-engine.sh @@ -1,4 +1,12 @@ #!/bin/bash +# __ ______ _____ _ +# \ \ / / _ \ | ____|_ __ __ _(_)_ __ ___ +# \ \ /\ / /| |_) | | _| | '_ \ / _` | | '_ \ / _ \ +# \ V V / | __/ | |___| | | | (_| | | | | | __/ +# \_/\_/ |_| |_____|_| |_|\__, |_|_| |_|\___| +# |___/ +# + wallpaper_engine=$(cat $HOME/dotfiles/.settings/wallpaper-engine.sh) if [ "$wallpaper_engine" == "swww" ] ;then # swww diff --git a/hypr/scripts/ml4w-launcher.sh b/hypr/scripts/ml4w-launcher.sh deleted file mode 100755 index 4ae1a57..0000000 --- a/hypr/scripts/ml4w-launcher.sh +++ /dev/null @@ -1,33 +0,0 @@ -#!/bin/bash -# __ __ _ _ ___ __ _ _ -# | \/ | | | || \ \ / / | | __ _ _ _ _ __ ___| |__ ___ _ __ -# | |\/| | | | || |\ \ /\ / / | | / _` | | | | '_ \ / __| '_ \ / _ \ '__| -# | | | | |__|__ _\ V V / | |__| (_| | |_| | | | | (__| | | | __/ | -# |_| |_|_____| |_| \_/\_/ |_____\__,_|\__,_|_| |_|\___|_| |_|\___|_| -# - -option1="ML4W Dotfiles Settings" -option2="Hyprland Settings" -option3="Change Wallpaper" -option4="Change Waybar Theme" -option5="ML4W Welcome App" - -options="$option1\n" -options="$options$option2\n" -options="$options$option3\n" -options="$options$option4\n$option5" - -choice=$(echo -e "$options" | rofi -dmenu -replace -config ~/dotfiles/rofi/config-ml4w-launcher.rasi -l 5) - -case $choice in - $option1) - $HOME/dotfiles/apps/ML4W_Dotfiles_Settings-x86_64.AppImage ;; - $option2) - $HOME/dotfiles/apps/ML4W_Hyprland_Settings-x86_64.AppImage ;; - $option3) - $HOME/dotfiles/hypr/scripts/wallpaper.sh select ;; - $option4) - $HOME/dotfiles/waybar/themeswitcher.sh ;; - $option5) - $HOME/dotfiles/apps/ML4W_Welcome-x86_64.AppImage ;; -esac \ No newline at end of file diff --git a/hypr/scripts/ml4w-welcome-autostart.sh b/hypr/scripts/ml4w-welcome-autostart.sh index c607c70..4856cee 100755 --- a/hypr/scripts/ml4w-welcome-autostart.sh +++ b/hypr/scripts/ml4w-welcome-autostart.sh @@ -1,14 +1,14 @@ #!/bin/bash if [ ! -f $HOME/.cache/ml4w-welcome-autostart ] ;then - echo "Autostart of ML4W Welcome App enabled." + echo ":: Autostart of ML4W Welcome App enabled." if [ -f $HOME/dotfiles/apps/ML4W_Welcome-x86_64.AppImage ] ;then - echo "Starting ML4W Welcome App ..." + echo ":: Starting ML4W Welcome App ..." sleep 2 $HOME/dotfiles/apps/ML4W_Welcome-x86_64.AppImage else - echo "ML4W Welcome App not found." + echo ":: ML4W Welcome App not found." fi else - echo "Autostart of ML4W Welcome App disabled." + echo ":: Autostart of ML4W Welcome App disabled." fi \ No newline at end of file diff --git a/hypr/scripts/wallpaper.sh b/hypr/scripts/wallpaper.sh index 6467333..9355f7f 100755 --- a/hypr/scripts/wallpaper.sh +++ b/hypr/scripts/wallpaper.sh @@ -6,7 +6,7 @@ # \_/\_/ \__,_|_|_| .__/ \__,_| .__/ \___|_| # |_| |_| # -# by Stephan Raabe (2023) +# by Stephan Raabe (2024) # ----------------------------------------------------- # Cache file for holding the current wallpaper