From 90fe32a08a1c6a9234916d5fab15c82851b0f0a2 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Mon, 3 Feb 2025 17:24:53 +0900 Subject: added support to make current wallpaper to SDDM (NOTE: need sequoia wallpaper) --- config/hypr/UserScripts/WallpaperEffects.sh | 25 ++++++++- config/hypr/UserScripts/WallpaperSelect.sh | 26 ++++++++- copy.sh | 86 +++++++++++++++++++---------- 3 files changed, 105 insertions(+), 32 deletions(-) diff --git a/config/hypr/UserScripts/WallpaperEffects.sh b/config/hypr/UserScripts/WallpaperEffects.sh index ccb5b744..14da323d 100755 --- a/config/hypr/UserScripts/WallpaperEffects.sh +++ b/config/hypr/UserScripts/WallpaperEffects.sh @@ -10,6 +10,7 @@ focused_monitor=$(hyprctl monitors | awk '/^Monitor/{name=$2} /focused: yes/{pri # Directory for swaync iDIR="$HOME/.config/swaync/images" +iDIRi="$HOME/.config/swaync/icons" # swww transition config FPS=60 @@ -62,7 +63,6 @@ main() { [[ "$effect" != "No Effects" ]] && options+=("$effect") done - # Show rofi menu and handle user choice choice=$(printf "%s\n" "${options[@]}" | LC_COLLATE=C sort | rofi -dmenu -i -config ~/.config/rofi/config-wallpaper-effect.rasi) # Process user choice @@ -98,3 +98,26 @@ if pidof rofi > /dev/null; then fi main + +sleep 2 +# supports sddm sequoia_2 theme only +sddm_sequoia="/usr/share/sddm/themes/sequoia_2" +if [ -d "$sddm_sequoia" ]; then + notify-send -i "$iDIRi/picture.png" "Set wallpaper" "as SDDM background?" \ + -t 10000 \ + -A "yes=Yes" \ + -A "no=No" \ + -h string:x-canonical-private-synchronous:wallpaper-notify + + dbus-monitor "interface='org.freedesktop.Notifications',member='ActionInvoked'" | + while read -r line; do + if echo "$line" | grep -q "yes"; then + # User chose "Yes", copy the wallpaper with correct syntax + pkexec /usr/bin/cp -r "$HOME/.config/hypr/wallpaper_effects/.wallpaper_modified" "$sddm_sequoia/backgrounds/default" + notify-send -i "$iDIRi/picture.png" "SDDM" "Background SET" + break + elif echo "$line" | grep -q "no"; then + break + fi + done & +fi diff --git a/config/hypr/UserScripts/WallpaperSelect.sh b/config/hypr/UserScripts/WallpaperSelect.sh index 7d6b339f..043c3c96 100755 --- a/config/hypr/UserScripts/WallpaperSelect.sh +++ b/config/hypr/UserScripts/WallpaperSelect.sh @@ -5,6 +5,7 @@ # WALLPAPERS PATH wallDIR="$HOME/Pictures/wallpapers" SCRIPTSDIR="$HOME/.config/hypr/scripts" +iDIR="$HOME/.config/swaync/icons" # variables focused_monitor=$(hyprctl monitors | awk '/^Monitor/{name=$2} /focused: yes/{print name}') @@ -106,4 +107,27 @@ wait $! wait $! sleep 2 -"$SCRIPTSDIR/Refresh.sh" \ No newline at end of file +"$SCRIPTSDIR/Refresh.sh" + +sleep 2 +sddm_sequoia="/usr/share/sddm/themes/sequoia_2" +if [ -d "$sddm_sequoia" ]; then + notify-send -i "$iDIR/picture.png" "Set wallpaper" "as SDDM background?" \ + -t 10000 \ + -A "yes=Yes" \ + -A "no=No" \ + -h string:x-canonical-private-synchronous:wallpaper-notify + + # Wait for user input using a background process + dbus-monitor "interface='org.freedesktop.Notifications',member='ActionInvoked'" | + while read -r line; do + if echo "$line" | grep -q "yes"; then + # User chose "Yes", copy the wallpaper with correct syntax + pkexec /usr/bin/cp -r "$HOME/.config/hypr/wallpaper_effects/.wallpaper_current" "$sddm_sequoia/backgrounds/default" + notify-send -i "$iDIR/picture.png" "SDDM" "Background SET" + break + elif echo "$line" | grep -q "no"; then + break + fi + done & +fi diff --git a/copy.sh b/copy.sh index 5747615f..458cfd79 100755 --- a/copy.sh +++ b/copy.sh @@ -296,8 +296,8 @@ while true; do # Convert the answer to lowercase for comparison answer=$(echo "$answer" | tr '[:upper:]' '[:lower:]') -# Check if the answer is valid -if [[ "$answer" == "y" ]]; then + # Check if the answer is valid + if [[ "$answer" == "y" ]]; then # Modify waybar clock modules if 12hr is selected # Clock 1 sed -i 's#^\(\s*\)//\("format": " {:%I:%M %p}",\) #\1\2 #g' config/waybar/Modules 2>&1 | tee -a "$LOG" @@ -327,36 +327,39 @@ if [[ "$answer" == "y" ]]; then echo "${OK} 12H format set on waybar clocks succesfully." 2>&1 | tee -a "$LOG" - # for SDDM (simple-sddm) - sddm_folder="/usr/share/sddm/themes/simple-sddm" - if [ -d "$sddm_folder" ]; then - echo "Simple sddm exists. Editing to 12H format" 2>&1 | tee -a "$LOG" - - sudo sed -i 's|^## HourFormat="hh:mm AP"|HourFormat="hh:mm AP"|' "$sddm_folder/theme.conf" 2>&1 | tee -a "$LOG" || true - sudo sed -i 's|^HourFormat="HH:mm"|## HourFormat="HH:mm"|' "$sddm_folder/theme.conf" 2>&1 | tee -a "$LOG" || true - - echo "${OK} 12H format set to SDDM theme successfully." 2>&1 | tee -a "$LOG" - fi - - # for SDDM (simple-sddm-2) - sddm_folder_2="/usr/share/sddm/themes/simple-sddm-2" - if [ -d "$sddm_folder_2" ]; then - echo "Simple sddm 2 exists. Editing to 12H format" 2>&1 | tee -a "$LOG" - - sudo sed -i 's|^## HourFormat="hh:mm AP"|HourFormat="hh:mm AP"|' "$sddm_folder_2/theme.conf" 2>&1 | tee -a "$LOG" || true - sudo sed -i 's|^HourFormat="HH:mm"|## HourFormat="HH:mm"|' "$sddm_folder_2/theme.conf" 2>&1 | tee -a "$LOG" || true + # Function to apply 12H format to SDDM themes + apply_sddm_12h_format() { + local sddm_directory=$1 + echo "Editing $sddm_directory to 12H format" 2>&1 | tee -a "$LOG" + + sudo sed -i 's|^## HourFormat="hh:mm AP"|HourFormat="hh:mm AP"|' "$sddm_directory/theme.conf" 2>&1 | tee -a "$LOG" || true + sudo sed -i 's|^HourFormat="HH:mm"|## HourFormat="HH:mm"|' "$sddm_directory/theme.conf" 2>&1 | tee -a "$LOG" || true + } + + # Applying to different SDDM themes + apply_sddm_12h_format "/usr/share/sddm/themes/simple-sddm" + apply_sddm_12h_format "/usr/share/sddm/themes/simple-sddm-2" + apply_sddm_12h_format "/usr/share/sddm/themes/sequoia_2" + + # for SDDM (sequoia_2) + sddm_directory_3="/usr/share/sddm/themes/sequoia_2" + if [ -d "$sddm_directory_3" ]; then + echo "sddm sequoia_2 theme exists. Editing to 12H format" 2>&1 | tee -a "$LOG" + sudo sed -i 's|^clockFormat="HH:mm"|## clockFormat="HH:mm"|' "$sddm_directory_3/theme.conf" 2>&1 | tee -a "$LOG" || true + if ! grep -q 'clockFormat="hh:mm AP"' "$sddm_directory_3/theme.conf"; then + sudo sed -i '/^clockFormat=/a clockFormat="hh:mm AP"' "$sddm_directory_3/theme.conf" 2>&1 | tee -a "$LOG" || true + fi - echo "${OK} 12H format set to SDDM theme successfully." 2>&1 | tee -a "$LOG" + echo "${OK} 12H format set to SDDM successfully." 2>&1 | tee -a "$LOG" + fi + break + elif [[ "$answer" == "n" ]]; then + echo "${NOTE} You chose not to change to 12H format." 2>&1 | tee -a "$LOG" + break + else + echo "${ERROR} Invalid choice. Please enter y for yes or n for no." fi - - break - elif [[ "$answer" == "n" ]]; then - echo "${NOTE} You chose not to change to 12H format." 2>&1 | tee -a "$LOG" - break - else - echo "${ERROR} Invalid choice. Please enter y for yes or n for no." - fi -done + done printf "\n" @@ -627,6 +630,29 @@ else "$HOME/.config/waybar/configs/[TOP] Default_v5" 2>&1 | tee -a "$LOG" || true fi +# for SDDM (sequoia_2) +sddm_sequioa="/usr/share/sddm/themes/sequoia_2" +if [ -d "$sddm_sequioa" ]; then + while true; do + read -rp "${CAT} SDDM sequoia_2 theme detected! Apply current wallpaper as SDDM background? (y/n)" SDDM_WALL + case $SDDM_WALL in + [Yy]) + # Copy the wallpaper, ignore errors if the file exists or fails + sudo cp -r "config/hypr/wallpaper_effects/.wallpaper_current" "/usr/share/sddm/themes/sequoia_2/backgrounds/default" || true + echo "${NOTE} Current wallpaper applied as default SDDM background" 2>&1 | tee -a "$LOG" + ;; + [Nn]) + echo "${NOTE} You chose not to apply the current wallpaper to SDDM." 2>&1 | tee -a "$LOG" + break + ;; + *) + echo "Please enter 'y' or 'n' to proceed." + ;; + esac + done +fi + + # additional wallpapers printf "\n%.0s" {1..1} echo "${MAGENTA}By default only a few wallpapers are copied${RESET}..." -- cgit v1.2.3 From 6344db6cc19571df4d356784a05a4f2dea55c5e7 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Mon, 3 Feb 2025 19:57:00 +0900 Subject: updated copy.sh --- copy.sh | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/copy.sh b/copy.sh index 458cfd79..540f3425 100755 --- a/copy.sh +++ b/copy.sh @@ -327,13 +327,19 @@ while true; do echo "${OK} 12H format set on waybar clocks succesfully." 2>&1 | tee -a "$LOG" - # Function to apply 12H format to SDDM themes + # Function to apply 12H format to SDDM themes apply_sddm_12h_format() { - local sddm_directory=$1 - echo "Editing $sddm_directory to 12H format" 2>&1 | tee -a "$LOG" + local sddm_directory=$1 - sudo sed -i 's|^## HourFormat="hh:mm AP"|HourFormat="hh:mm AP"|' "$sddm_directory/theme.conf" 2>&1 | tee -a "$LOG" || true - sudo sed -i 's|^HourFormat="HH:mm"|## HourFormat="HH:mm"|' "$sddm_directory/theme.conf" 2>&1 | tee -a "$LOG" || true + # Check if the directory exists + if [ -d "$sddm_directory" ]; then + echo "Editing $sddm_directory to 12H format" 2>&1 | tee -a "$LOG" + + sudo sed -i 's|^## HourFormat="hh:mm AP"|HourFormat="hh:mm AP"|' "$sddm_directory/theme.conf" 2>&1 | tee -a "$LOG" || true + sudo sed -i 's|^HourFormat="HH:mm"|## HourFormat="HH:mm"|' "$sddm_directory/theme.conf" 2>&1 | tee -a "$LOG" || true + else + echo "${ERROR} Directory $sddm_directory does not exist. Skipping..." 2>&1 | tee -a "$LOG" + fi } # Applying to different SDDM themes @@ -343,23 +349,17 @@ while true; do # for SDDM (sequoia_2) sddm_directory_3="/usr/share/sddm/themes/sequoia_2" - if [ -d "$sddm_directory_3" ]; then + if [ -d "$sddm_directory_3" ]; then echo "sddm sequoia_2 theme exists. Editing to 12H format" 2>&1 | tee -a "$LOG" + sudo sed -i 's|^clockFormat="HH:mm"|## clockFormat="HH:mm"|' "$sddm_directory_3/theme.conf" 2>&1 | tee -a "$LOG" || true - if ! grep -q 'clockFormat="hh:mm AP"' "$sddm_directory_3/theme.conf"; then - sudo sed -i '/^clockFormat=/a clockFormat="hh:mm AP"' "$sddm_directory_3/theme.conf" 2>&1 | tee -a "$LOG" || true - fi - echo "${OK} 12H format set to SDDM successfully." 2>&1 | tee -a "$LOG" - fi - break - elif [[ "$answer" == "n" ]]; then - echo "${NOTE} You chose not to change to 12H format." 2>&1 | tee -a "$LOG" - break - else - echo "${ERROR} Invalid choice. Please enter y for yes or n for no." + if ! grep -q 'clockFormat="hh:mm AP"' "$sddm_directory_3/theme.conf"; then + sudo sed -i '/^clockFormat=/a clockFormat="hh:mm AP"' "$sddm_directory_3/theme.conf" 2>&1 | tee -a "$LOG" || true + fi + + echo "${OK} 12H format set to SDDM successfully." 2>&1 | tee -a "$LOG" fi - done printf "\n" -- cgit v1.2.3 From 864db872db441333bee3f98d7bb3db99baf25d0f Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Mon, 3 Feb 2025 20:00:39 +0900 Subject: of course.. idiot --- copy.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/copy.sh b/copy.sh index 540f3425..c33ee7a6 100755 --- a/copy.sh +++ b/copy.sh @@ -327,7 +327,7 @@ while true; do echo "${OK} 12H format set on waybar clocks succesfully." 2>&1 | tee -a "$LOG" - # Function to apply 12H format to SDDM themes + # Function to apply 12H format to SDDM themes apply_sddm_12h_format() { local sddm_directory=$1 @@ -337,8 +337,6 @@ while true; do sudo sed -i 's|^## HourFormat="hh:mm AP"|HourFormat="hh:mm AP"|' "$sddm_directory/theme.conf" 2>&1 | tee -a "$LOG" || true sudo sed -i 's|^HourFormat="HH:mm"|## HourFormat="HH:mm"|' "$sddm_directory/theme.conf" 2>&1 | tee -a "$LOG" || true - else - echo "${ERROR} Directory $sddm_directory does not exist. Skipping..." 2>&1 | tee -a "$LOG" fi } @@ -361,6 +359,8 @@ while true; do echo "${OK} 12H format set to SDDM successfully." 2>&1 | tee -a "$LOG" fi + done + printf "\n" # Check if the user wants to disable Rainbow borders -- cgit v1.2.3 From 0f519f6fc88ffe821d1d68b386e04cbac5cea519 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Mon, 3 Feb 2025 20:03:16 +0900 Subject: updated --- copy.sh | 127 ++++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 68 insertions(+), 59 deletions(-) diff --git a/copy.sh b/copy.sh index c33ee7a6..e28b1336 100755 --- a/copy.sh +++ b/copy.sh @@ -290,76 +290,85 @@ printf "\n" # Ask whether to change to 12hr format while true; do - echo -e "$MAGENTA By default, KooL's Dots are configured in 24H clock format." - read -p "$CAT Do you want to change to 12H format or AM/PM format? (y/n): " answer - - # Convert the answer to lowercase for comparison - answer=$(echo "$answer" | tr '[:upper:]' '[:lower:]') - - # Check if the answer is valid - if [[ "$answer" == "y" ]]; then - # Modify waybar clock modules if 12hr is selected - # Clock 1 - sed -i 's#^\(\s*\)//\("format": " {:%I:%M %p}",\) #\1\2 #g' config/waybar/Modules 2>&1 | tee -a "$LOG" - sed -i 's#^\(\s*\)\("format": " {:%H:%M:%S}",\) #\1//\2#g' config/waybar/Modules 2>&1 | tee -a "$LOG" - - # Clock 2 - sed -i 's#^\(\s*\)\("format": " {:%H:%M}",\) #\1//\2#g' config/waybar/Modules 2>&1 | tee -a "$LOG" - - # Clock 3 - sed -i 's#^\(\s*\)//\("format": "{:%I:%M %p - %d/%b}",\) #\1\2#g' config/waybar/Modules 2>&1 | tee -a "$LOG" - sed -i 's#^\(\s*\)\("format": "{:%H:%M - %d/%b}",\) #\1//\2#g' config/waybar/Modules 2>&1 | tee -a "$LOG" - - # Clock 4 - sed -i 's#^\(\s*\)//\("format": "{:%B | %a %d, %Y | %I:%M %p}",\) #\1\2#g' config/waybar/Modules 2>&1 | tee -a "$LOG" - sed -i 's#^\(\s*\)\("format": "{:%B | %a %d, %Y | %H:%M}",\) #\1//\2#g' config/waybar/Modules 2>&1 | tee -a "$LOG" - - # Clock 5 - sed -i 's#^\(\s*\)//\("format": "{:%A, %I:%M %P}",\) #\1\2#g' config/waybar/Modules 2>&1 | tee -a "$LOG" - sed -i 's#^\(\s*\)\("format": "{:%a %d | %H:%M}",\) #\1//\2#g' config/waybar/Modules 2>&1 | tee -a "$LOG" - - # for hyprlock - sed -i 's/^\s*text = cmd\[update:1000\] echo "\$(date +"%H")"/# &/' config/hypr/hyprlock.conf 2>&1 | tee -a "$LOG" - sed -i 's/^\(\s*\)# *text = cmd\[update:1000\] echo "\$(date +"%I")" #AM\/PM/\1 text = cmd\[update:1000\] echo "\$(date +"%I")" #AM\/PM/' config/hypr/hyprlock.conf 2>&1 | tee -a "$LOG" - - sed -i 's/^\s*text = cmd\[update:1000\] echo "\$(date +"%S")"/# &/' config/hypr/hyprlock.conf 2>&1 | tee -a "$LOG" - sed -i 's/^\(\s*\)# *text = cmd\[update:1000\] echo "\$(date +"%S %p")" #AM\/PM/\1 text = cmd\[update:1000\] echo "\$(date +"%S %p")" #AM\/PM/' config/hypr/hyprlock.conf 2>&1 | tee -a "$LOG" - - echo "${OK} 12H format set on waybar clocks succesfully." 2>&1 | tee -a "$LOG" + echo -e "$MAGENTA By default, KooL's Dots are configured in 24H clock format." + read -p "$CAT Do you want to change to 12H format or AM/PM format? (y/n): " answer + + # Convert the answer to lowercase for comparison + answer=$(echo "$answer" | tr '[:upper:]' '[:lower:]') + + # Check if the answer is valid + if [[ "$answer" == "y" ]]; then + # Modify waybar clock modules if 12hr is selected + # Clock 1 + sed -i 's#^\(\s*\)//\("format": " {:%I:%M %p}",\) #\1\2 #g' config/waybar/Modules 2>&1 | tee -a "$LOG" + sed -i 's#^\(\s*\)\("format": " {:%H:%M:%S}",\) #\1//\2#g' config/waybar/Modules 2>&1 | tee -a "$LOG" + + # Clock 2 + sed -i 's#^\(\s*\)\("format": " {:%H:%M}",\) #\1//\2#g' config/waybar/Modules 2>&1 | tee -a "$LOG" + + # Clock 3 + sed -i 's#^\(\s*\)//\("format": "{:%I:%M %p - %d/%b}",\) #\1\2#g' config/waybar/Modules 2>&1 | tee -a "$LOG" + sed -i 's#^\(\s*\)\("format": "{:%H:%M - %d/%b}",\) #\1//\2#g' config/waybar/Modules 2>&1 | tee -a "$LOG" + + # Clock 4 + sed -i 's#^\(\s*\)//\("format": "{:%B | %a %d, %Y | %I:%M %p}",\) #\1\2#g' config/waybar/Modules 2>&1 | tee -a "$LOG" + sed -i 's#^\(\s*\)\("format": "{:%B | %a %d, %Y | %H:%M}",\) #\1//\2#g' config/waybar/Modules 2>&1 | tee -a "$LOG" - # Function to apply 12H format to SDDM themes - apply_sddm_12h_format() { - local sddm_directory=$1 + # Clock 5 + sed -i 's#^\(\s*\)//\("format": "{:%A, %I:%M %P}",\) #\1\2#g' config/waybar/Modules 2>&1 | tee -a "$LOG" + sed -i 's#^\(\s*\)\("format": "{:%a %d | %H:%M}",\) #\1//\2#g' config/waybar/Modules 2>&1 | tee -a "$LOG" + + # for hyprlock + sed -i 's/^\s*text = cmd\[update:1000\] echo "\$(date +"%H")"/# &/' config/hypr/hyprlock.conf 2>&1 | tee -a "$LOG" + sed -i 's/^\(\s*\)# *text = cmd\[update:1000\] echo "\$(date +"%I")" #AM\/PM/\1 text = cmd\[update:1000\] echo "\$(date +"%I")" #AM\/PM/' config/hypr/hyprlock.conf 2>&1 | tee -a "$LOG" - # Check if the directory exists - if [ -d "$sddm_directory" ]; then - echo "Editing $sddm_directory to 12H format" 2>&1 | tee -a "$LOG" + sed -i 's/^\s*text = cmd\[update:1000\] echo "\$(date +"%S")"/# &/' config/hypr/hyprlock.conf 2>&1 | tee -a "$LOG" + sed -i 's/^\(\s*\)# *text = cmd\[update:1000\] echo "\$(date +"%S %p")" #AM\/PM/\1 text = cmd\[update:1000\] echo "\$(date +"%S %p")" #AM\/PM/' config/hypr/hyprlock.conf 2>&1 | tee -a "$LOG" + + echo "${OK} 12H format set on waybar clocks succesfully." 2>&1 | tee -a "$LOG" - sudo sed -i 's|^## HourFormat="hh:mm AP"|HourFormat="hh:mm AP"|' "$sddm_directory/theme.conf" 2>&1 | tee -a "$LOG" || true - sudo sed -i 's|^HourFormat="HH:mm"|## HourFormat="HH:mm"|' "$sddm_directory/theme.conf" 2>&1 | tee -a "$LOG" || true - fi - } + # Function to apply 12H format to SDDM themes + apply_sddm_12h_format() { + local sddm_directory=$1 - # Applying to different SDDM themes - apply_sddm_12h_format "/usr/share/sddm/themes/simple-sddm" - apply_sddm_12h_format "/usr/share/sddm/themes/simple-sddm-2" - apply_sddm_12h_format "/usr/share/sddm/themes/sequoia_2" + # Check if the directory exists + if [ -d "$sddm_directory" ]; then + echo "Editing $sddm_directory to 12H format" 2>&1 | tee -a "$LOG" - # for SDDM (sequoia_2) - sddm_directory_3="/usr/share/sddm/themes/sequoia_2" - if [ -d "$sddm_directory_3" ]; then - echo "sddm sequoia_2 theme exists. Editing to 12H format" 2>&1 | tee -a "$LOG" + sudo sed -i 's|^## HourFormat="hh:mm AP"|HourFormat="hh:mm AP"|' "$sddm_directory/theme.conf" 2>&1 | tee -a "$LOG" || true + sudo sed -i 's|^HourFormat="HH:mm"|## HourFormat="HH:mm"|' "$sddm_directory/theme.conf" 2>&1 | tee -a "$LOG" || true + fi + } + + # Applying to different SDDM themes + apply_sddm_12h_format "/usr/share/sddm/themes/simple-sddm" + apply_sddm_12h_format "/usr/share/sddm/themes/simple-sddm-2" + apply_sddm_12h_format "/usr/share/sddm/themes/sequoia_2" + + # for SDDM (sequoia_2) + sddm_directory_3="/usr/share/sddm/themes/sequoia_2" + if [ -d "$sddm_directory_3" ]; then + echo "sddm sequoia_2 theme exists. Editing to 12H format" 2>&1 | tee -a "$LOG" - sudo sed -i 's|^clockFormat="HH:mm"|## clockFormat="HH:mm"|' "$sddm_directory_3/theme.conf" 2>&1 | tee -a "$LOG" || true + sudo sed -i 's|^clockFormat="HH:mm"|## clockFormat="HH:mm"|' "$sddm_directory_3/theme.conf" 2>&1 | tee -a "$LOG" || true + + if ! grep -q 'clockFormat="hh:mm AP"' "$sddm_directory_3/theme.conf"; then + sudo sed -i '/^clockFormat=/a clockFormat="hh:mm AP"' "$sddm_directory_3/theme.conf" 2>&1 | tee -a "$LOG" || true + fi - if ! grep -q 'clockFormat="hh:mm AP"' "$sddm_directory_3/theme.conf"; then - sudo sed -i '/^clockFormat=/a clockFormat="hh:mm AP"' "$sddm_directory_3/theme.conf" 2>&1 | tee -a "$LOG" || true + echo "${OK} 12H format set to SDDM successfully." 2>&1 | tee -a "$LOG" fi - echo "${OK} 12H format set to SDDM successfully." 2>&1 | tee -a "$LOG" + break + + elif [[ "$answer" == "n" ]]; then + echo "${NOTE} You chose not to change to 12H format." 2>&1 | tee -a "$LOG" + break # Exit the loop if the user chooses "n" + else + echo "${ERROR} Invalid choice. Please enter y for yes or n for no." fi +done - done printf "\n" -- cgit v1.2.3 From 85076690c40353443a6e93aedd74830f0a17bf27 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Mon, 3 Feb 2025 20:07:27 +0900 Subject: updated color coding --- copy.sh | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/copy.sh b/copy.sh index e28b1336..3aeb4758 100755 --- a/copy.sh +++ b/copy.sh @@ -348,7 +348,7 @@ while true; do # for SDDM (sequoia_2) sddm_directory_3="/usr/share/sddm/themes/sequoia_2" if [ -d "$sddm_directory_3" ]; then - echo "sddm sequoia_2 theme exists. Editing to 12H format" 2>&1 | tee -a "$LOG" + echo "${YELLOW}sddm sequoia_2${RESET} theme exists. Editing to 12H format" 2>&1 | tee -a "$LOG" sudo sed -i 's|^clockFormat="HH:mm"|## clockFormat="HH:mm"|' "$sddm_directory_3/theme.conf" 2>&1 | tee -a "$LOG" || true @@ -643,12 +643,17 @@ fi sddm_sequioa="/usr/share/sddm/themes/sequoia_2" if [ -d "$sddm_sequioa" ]; then while true; do - read -rp "${CAT} SDDM sequoia_2 theme detected! Apply current wallpaper as SDDM background? (y/n)" SDDM_WALL + read -rp "${CAT} SDDM sequoia_2 theme detected! Apply current wallpaper as SDDM background? (y/n): " SDDM_WALL + + # Remove any leading/trailing whitespace or newlines from input + SDDM_WALL=$(echo "$SDDM_WALL" | tr -d '\n' | tr -d ' ') + case $SDDM_WALL in [Yy]) # Copy the wallpaper, ignore errors if the file exists or fails sudo cp -r "config/hypr/wallpaper_effects/.wallpaper_current" "/usr/share/sddm/themes/sequoia_2/backgrounds/default" || true echo "${NOTE} Current wallpaper applied as default SDDM background" 2>&1 | tee -a "$LOG" + break ;; [Nn]) echo "${NOTE} You chose not to apply the current wallpaper to SDDM." 2>&1 | tee -a "$LOG" @@ -662,6 +667,7 @@ if [ -d "$sddm_sequioa" ]; then fi + # additional wallpapers printf "\n%.0s" {1..1} echo "${MAGENTA}By default only a few wallpapers are copied${RESET}..." -- cgit v1.2.3 From f2fd8261f187e6394cff5be695c943b49b1b05a9 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Mon, 3 Feb 2025 20:15:32 +0900 Subject: add delay of 5 secords for those who have slow machines --- config/hypr/UserScripts/WallpaperEffects.sh | 2 +- config/hypr/UserScripts/WallpaperSelect.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/hypr/UserScripts/WallpaperEffects.sh b/config/hypr/UserScripts/WallpaperEffects.sh index 14da323d..0a599deb 100755 --- a/config/hypr/UserScripts/WallpaperEffects.sh +++ b/config/hypr/UserScripts/WallpaperEffects.sh @@ -99,7 +99,7 @@ fi main -sleep 2 +sleep 5 # add delay of 5 secords for those who have slow machines # supports sddm sequoia_2 theme only sddm_sequoia="/usr/share/sddm/themes/sequoia_2" if [ -d "$sddm_sequoia" ]; then diff --git a/config/hypr/UserScripts/WallpaperSelect.sh b/config/hypr/UserScripts/WallpaperSelect.sh index 043c3c96..b40ec62c 100755 --- a/config/hypr/UserScripts/WallpaperSelect.sh +++ b/config/hypr/UserScripts/WallpaperSelect.sh @@ -109,7 +109,7 @@ wait $! sleep 2 "$SCRIPTSDIR/Refresh.sh" -sleep 2 +sleep 5 # add delay of 5 secords for those who have slow machines sddm_sequoia="/usr/share/sddm/themes/sequoia_2" if [ -d "$sddm_sequoia" ]; then notify-send -i "$iDIR/picture.png" "Set wallpaper" "as SDDM background?" \ -- cgit v1.2.3 From 897ba529ce032b2e66ba5ed0604e421730fcddb5 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Mon, 3 Feb 2025 22:12:47 +0900 Subject: waybar workspaces for normal no.s reduced workspace persistent to 5 as it looks ridiculous --- config/waybar/ModulesWorkspaces | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/waybar/ModulesWorkspaces b/config/waybar/ModulesWorkspaces index 8219d295..79a5eeae 100644 --- a/config/waybar/ModulesWorkspaces +++ b/config/waybar/ModulesWorkspaces @@ -150,7 +150,7 @@ "on-scroll-up": "hyprctl dispatch workspace e+1", "on-scroll-down": "hyprctl dispatch workspace e-1", "persistent-workspaces": { - "*": 10 + "*": 5 }, "format-icons": { "1": "1", -- cgit v1.2.3 From 9c11a77d3e3f9020035f41634d695be85c1e349c Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Mon, 3 Feb 2025 22:37:37 +0900 Subject: tweaked copy.sh --- copy.sh | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/copy.sh b/copy.sh index 3aeb4758..2a23bd80 100755 --- a/copy.sh +++ b/copy.sh @@ -604,11 +604,15 @@ if [ -d "$BACKUP_DIR_PATH" ]; then done fi -printf "\n%.0s" {1..2} +printf "\n%.0s" {1..} -# Wallpapers +# wallpaper stuff mkdir -p ~/Pictures/wallpapers -cp -r wallpapers ~/Pictures/ && { echo "${OK} some wallpapers compied!"; } || { echo "${ERROR} Failed to copy some wallpapers."; exit 1; } 2>&1 | tee -a "$LOG" +if cp -r wallpapers ~/Pictures/; then + echo "${OK} Some ${MAGENTA}wallpapers${RESET} copied successfully!" | tee -a "$LOG" +else + echo "${ERROR} Failed to copy some ${YELLOW}wallpapers${RESET}" | tee -a "$LOG" +fi # Set some files as executable chmod +x ~/.config/hypr/scripts/* 2>&1 | tee -a "$LOG" @@ -639,6 +643,8 @@ else "$HOME/.config/waybar/configs/[TOP] Default_v5" 2>&1 | tee -a "$LOG" || true fi +printf "\n%.0s" {1..2} + # for SDDM (sequoia_2) sddm_sequioa="/usr/share/sddm/themes/sequoia_2" if [ -d "$sddm_sequioa" ]; then @@ -666,8 +672,6 @@ if [ -d "$sddm_sequioa" ]; then done fi - - # additional wallpapers printf "\n%.0s" {1..1} echo "${MAGENTA}By default only a few wallpapers are copied${RESET}..." -- cgit v1.2.3 From 0dc1c0555d697cd0aa975a142d75a984849386ce Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Mon, 3 Feb 2025 22:39:12 +0900 Subject: updated coloring on copy.sh --- copy.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/copy.sh b/copy.sh index 2a23bd80..5cdd76d5 100755 --- a/copy.sh +++ b/copy.sh @@ -776,5 +776,5 @@ wallust run -s $wallpaper 2>&1 | tee -a "$LOG" printf "\n%.0s" {1..4} printf "${OK} GREAT! KooL's Hyprland-Dots is now Loaded & Ready !!!" printf "\n%.0s" {1..1} -printf "${MAGENTA} However, it is HIGHLY SUGGESTED to logout and re-login or better reboot to avoid any issues\n\n" -printf "${BLUE} Thank you for using KooL's Hyprland Configuration... ENJOY!!!\n" \ No newline at end of file +printf "${MAGENTA} However, it is HIGHLY SUGGESTED to logout and re-login or better reboot to avoid any issues${RESET}\n\n" +printf "${BLUE} Thank you for using KooL's Hyprland Configuration... ENJOY!!! ${RESET}\n" \ No newline at end of file -- cgit v1.2.3 From d18844a0fb7345d3cf51688e74bbc89a20370555 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Mon, 3 Feb 2025 22:44:32 +0900 Subject: final tweak copy.sh --- copy.sh | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/copy.sh b/copy.sh index 5cdd76d5..faa70624 100755 --- a/copy.sh +++ b/copy.sh @@ -333,7 +333,7 @@ while true; do # Check if the directory exists if [ -d "$sddm_directory" ]; then - echo "Editing $sddm_directory to 12H format" 2>&1 | tee -a "$LOG" + echo "Editing ${SKY_BLUE}$sddm_directory${RESET} to 12H format" 2>&1 | tee -a "$LOG" sudo sed -i 's|^## HourFormat="hh:mm AP"|HourFormat="hh:mm AP"|' "$sddm_directory/theme.conf" 2>&1 | tee -a "$LOG" || true sudo sed -i 's|^HourFormat="HH:mm"|## HourFormat="HH:mm"|' "$sddm_directory/theme.conf" 2>&1 | tee -a "$LOG" || true @@ -773,8 +773,10 @@ printf "\n%.0s" {1..2} # initialize wallust to avoid config error on hyprland wallust run -s $wallpaper 2>&1 | tee -a "$LOG" -printf "\n%.0s" {1..4} -printf "${OK} GREAT! KooL's Hyprland-Dots is now Loaded & Ready !!!" +printf "\n%.0s" {1..2} +printf "${OK} GREAT! KooL's Hyprland-Dots is now Loaded & Ready !!! " +printf "\n%.0s" {1..1} +printf "${MAGENTA} However, it is HIGHLY SUGGESTED to logout and re-login or better reboot to avoid any issues${RESET}" printf "\n%.0s" {1..1} -printf "${MAGENTA} However, it is HIGHLY SUGGESTED to logout and re-login or better reboot to avoid any issues${RESET}\n\n" -printf "${BLUE} Thank you for using KooL's Hyprland Configuration... ENJOY!!! ${RESET}\n" \ No newline at end of file +printf "${SKY_BLUE}Thank you${RESET} for using ${MAGENTA}KooL's Hyprland Configuration${RESET}... ${YELLOW}ENJOY!!!${RESET}" +printf "\n%.0s" {1..2} \ No newline at end of file -- cgit v1.2.3 From 90f2b68dfb73af8cfa5b7ada7c9c95ce73bbea43 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Mon, 3 Feb 2025 22:47:20 +0900 Subject: thought I had all the colors --- copy.sh | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/copy.sh b/copy.sh index faa70624..6f583810 100755 --- a/copy.sh +++ b/copy.sh @@ -26,11 +26,14 @@ NOTE="$(tput setaf 3)[NOTE]$(tput sgr0)" INFO="$(tput setaf 4)[INFO]$(tput sgr0)" WARN="$(tput setaf 1)[WARN]$(tput sgr0)" CAT="$(tput setaf 6)[ACTION]$(tput sgr0)" -MAGENTA=$(tput setaf 5) -WARNING=$(tput setaf 1) -YELLOW=$(tput setaf 3) -BLUE=$(tput setaf 4) -RESET=$(tput sgr0) +MAGENTA="$(tput setaf 5)" +ORANGE="$(tput setaf 214)" +WARNING="$(tput setaf 1)" +YELLOW="$(tput setaf 3)" +GREEN="$(tput setaf 2)" +BLUE="$(tput setaf 4)" +SKY_BLUE="$(tput setaf 6)" +RESET="$(tput sgr0)" # Create Directory for Copy Logs if [ ! -d Copy-Logs ]; then @@ -776,7 +779,7 @@ wallust run -s $wallpaper 2>&1 | tee -a "$LOG" printf "\n%.0s" {1..2} printf "${OK} GREAT! KooL's Hyprland-Dots is now Loaded & Ready !!! " printf "\n%.0s" {1..1} -printf "${MAGENTA} However, it is HIGHLY SUGGESTED to logout and re-login or better reboot to avoid any issues${RESET}" +printf "${INFO}However, it is ${MAGENTA}HIGHLY SUGGESTED${RESET} to logout and re-login or better reboot to avoid any issues" printf "\n%.0s" {1..1} printf "${SKY_BLUE}Thank you${RESET} for using ${MAGENTA}KooL's Hyprland Configuration${RESET}... ${YELLOW}ENJOY!!!${RESET}" printf "\n%.0s" {1..2} \ No newline at end of file -- cgit v1.2.3 From 1c413275ebb90eee61a75397cef98b7f8179ca99 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Mon, 3 Feb 2025 22:48:48 +0900 Subject: fixed spacing issue --- copy.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/copy.sh b/copy.sh index 6f583810..ce3f9605 100755 --- a/copy.sh +++ b/copy.sh @@ -778,8 +778,8 @@ wallust run -s $wallpaper 2>&1 | tee -a "$LOG" printf "\n%.0s" {1..2} printf "${OK} GREAT! KooL's Hyprland-Dots is now Loaded & Ready !!! " -printf "\n%.0s" {1..1} -printf "${INFO}However, it is ${MAGENTA}HIGHLY SUGGESTED${RESET} to logout and re-login or better reboot to avoid any issues" -printf "\n%.0s" {1..1} +printf "\n%.0s" {1..2} +printf "${INFO} However, it is ${MAGENTA}HIGHLY SUGGESTED${RESET} to logout and re-login or better reboot to avoid any issues" +printf "\n%.0s" {1..2} printf "${SKY_BLUE}Thank you${RESET} for using ${MAGENTA}KooL's Hyprland Configuration${RESET}... ${YELLOW}ENJOY!!!${RESET}" -printf "\n%.0s" {1..2} \ No newline at end of file +printf "\n%.0s" {1..3} \ No newline at end of file -- cgit v1.2.3 From 86738ae123f799952db80dd1d0ffbb55dcc4746d Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Mon, 3 Feb 2025 23:02:10 +0900 Subject: updated copy.sh --- copy.sh | 53 ++++++++++++++++++++++++++++------------------------- 1 file changed, 28 insertions(+), 25 deletions(-) diff --git a/copy.sh b/copy.sh index ce3f9605..b71cbb46 100755 --- a/copy.sh +++ b/copy.sh @@ -330,39 +330,42 @@ while true; do echo "${OK} 12H format set on waybar clocks succesfully." 2>&1 | tee -a "$LOG" - # Function to apply 12H format to SDDM themes - apply_sddm_12h_format() { - local sddm_directory=$1 + # Function to apply 12H format to SDDM themes + apply_sddm_12h_format() { + local sddm_directory=$1 - # Check if the directory exists - if [ -d "$sddm_directory" ]; then - echo "Editing ${SKY_BLUE}$sddm_directory${RESET} to 12H format" 2>&1 | tee -a "$LOG" + # Check if the directory exists + if [ -d "$sddm_directory" ]; then + echo "Editing ${SKY_BLUE}$sddm_directory${RESET} to 12H format" 2>&1 | tee -a "$LOG" - sudo sed -i 's|^## HourFormat="hh:mm AP"|HourFormat="hh:mm AP"|' "$sddm_directory/theme.conf" 2>&1 | tee -a "$LOG" || true - sudo sed -i 's|^HourFormat="HH:mm"|## HourFormat="HH:mm"|' "$sddm_directory/theme.conf" 2>&1 | tee -a "$LOG" || true - fi - } - - # Applying to different SDDM themes - apply_sddm_12h_format "/usr/share/sddm/themes/simple-sddm" - apply_sddm_12h_format "/usr/share/sddm/themes/simple-sddm-2" - apply_sddm_12h_format "/usr/share/sddm/themes/sequoia_2" + sudo sed -i 's|^## HourFormat="hh:mm AP"|HourFormat="hh:mm AP"|' "$sddm_directory/theme.conf" 2>&1 | tee -a "$LOG" || true + sudo sed -i 's|^HourFormat="HH:mm"|## HourFormat="HH:mm"|' "$sddm_directory/theme.conf" 2>&1 | tee -a "$LOG" || true + fi + } - # for SDDM (sequoia_2) - sddm_directory_3="/usr/share/sddm/themes/sequoia_2" - if [ -d "$sddm_directory_3" ]; then - echo "${YELLOW}sddm sequoia_2${RESET} theme exists. Editing to 12H format" 2>&1 | tee -a "$LOG" + # Applying to different SDDM themes + apply_sddm_12h_format "/usr/share/sddm/themes/simple-sddm" + apply_sddm_12h_format "/usr/share/sddm/themes/simple-sddm-2" + apply_sddm_12h_format "/usr/share/sddm/themes/sequoia_2" - sudo sed -i 's|^clockFormat="HH:mm"|## clockFormat="HH:mm"|' "$sddm_directory_3/theme.conf" 2>&1 | tee -a "$LOG" || true + # For SDDM (sequoia_2) + sddm_directory_3="/usr/share/sddm/themes/sequoia_2" + if [ -d "$sddm_directory_3" ]; then + echo "${YELLOW}sddm sequoia_2${RESET} theme exists. Editing to 12H format" 2>&1 | tee -a "$LOG" - if ! grep -q 'clockFormat="hh:mm AP"' "$sddm_directory_3/theme.conf"; then - sudo sed -i '/^clockFormat=/a clockFormat="hh:mm AP"' "$sddm_directory_3/theme.conf" 2>&1 | tee -a "$LOG" || true - fi + # Comment out the existing clockFormat="HH:mm" line + sudo sed -i 's|^clockFormat="HH:mm"|## clockFormat="HH:mm"|' "$sddm_directory_3/theme.conf" 2>&1 | tee -a "$LOG" || true - echo "${OK} 12H format set to SDDM successfully." 2>&1 | tee -a "$LOG" + # Insert the new clockFormat="hh:mm AP" line if it's not already present + if ! grep -q 'clockFormat="hh:mm AP"' "$sddm_directory_3/theme.conf"; then + sudo sed -i '/^clockFormat=/a clockFormat="hh:mm AP"' "$sddm_directory_3/theme.conf" 2>&1 | tee -a "$LOG" || true fi - break + echo "${OK} 12H format set to SDDM successfully." 2>&1 | tee -a "$LOG" + fi + + break + elif [[ "$answer" == "n" ]]; then echo "${NOTE} You chose not to change to 12H format." 2>&1 | tee -a "$LOG" -- cgit v1.2.3 From 1fa258b2f357f7f9763412b5cad35b5463cebc3a Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Mon, 3 Feb 2025 23:07:57 +0900 Subject: updated copy.sh --- copy.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/copy.sh b/copy.sh index b71cbb46..76c85212 100755 --- a/copy.sh +++ b/copy.sh @@ -346,7 +346,6 @@ while true; do # Applying to different SDDM themes apply_sddm_12h_format "/usr/share/sddm/themes/simple-sddm" apply_sddm_12h_format "/usr/share/sddm/themes/simple-sddm-2" - apply_sddm_12h_format "/usr/share/sddm/themes/sequoia_2" # For SDDM (sequoia_2) sddm_directory_3="/usr/share/sddm/themes/sequoia_2" -- cgit v1.2.3 From 50ae2186616744d699fdce6942c30ee755df230b Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Tue, 4 Feb 2025 10:45:45 +0900 Subject: updated. Default wallpaper will be from not modified but current --- config/hypr/UserConfigs/WindowRules.conf | 2 +- config/hypr/initial-boot.sh | 2 +- config/hypr/wallpaper_effects/.wallpaper_current | Bin 10295063 -> 1072854 bytes config/hypr/wallpaper_effects/.wallpaper_modified | Bin 9378870 -> 1885472 bytes copy.sh | 8 ++++---- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/config/hypr/UserConfigs/WindowRules.conf b/config/hypr/UserConfigs/WindowRules.conf index 50d342ac..fc23c079 100644 --- a/config/hypr/UserConfigs/WindowRules.conf +++ b/config/hypr/UserConfigs/WindowRules.conf @@ -94,7 +94,7 @@ windowrulev2 = idleinhibit fullscreen, fullscreen:1 windowrulev2 = workspace 1, tag:email* windowrulev2 = workspace 2, tag:browser* #windowrulev2 = workspace 3, class:^([Tt]hunar)$ -windowrulev2 = workspace 3, tag:projects* +#windowrulev2 = workspace 3, tag:projects* windowrulev2 = workspace 5, tag:gamestore* windowrulev2 = workspace 7, tag:im* windowrulev2 = workspace 8, tag:games* diff --git a/config/hypr/initial-boot.sh b/config/hypr/initial-boot.sh index 474a37a7..b2d5bce5 100755 --- a/config/hypr/initial-boot.sh +++ b/config/hypr/initial-boot.sh @@ -9,7 +9,7 @@ # Variables scriptsDir=$HOME/.config/hypr/scripts -wallpaper=$HOME/.config/hypr/wallpaper_effects/.wallpaper_modified +wallpaper=$HOME/.config/hypr/wallpaper_effects/.wallpaper_current waybar_style="$HOME/.config/waybar/style/[Extra] Modern-Combined - Transparent.css" kvantum_theme="catppuccin-mocha-blue" color_scheme="prefer-dark" diff --git a/config/hypr/wallpaper_effects/.wallpaper_current b/config/hypr/wallpaper_effects/.wallpaper_current index 2c5e839e..5a39f08c 100644 Binary files a/config/hypr/wallpaper_effects/.wallpaper_current and b/config/hypr/wallpaper_effects/.wallpaper_current differ diff --git a/config/hypr/wallpaper_effects/.wallpaper_modified b/config/hypr/wallpaper_effects/.wallpaper_modified index f546bd56..d85a5b8d 100644 Binary files a/config/hypr/wallpaper_effects/.wallpaper_modified and b/config/hypr/wallpaper_effects/.wallpaper_modified differ diff --git a/copy.sh b/copy.sh index 76c85212..85c13c51 100755 --- a/copy.sh +++ b/copy.sh @@ -2,7 +2,7 @@ # /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ # clear -wallpaper=$HOME/.config/hypr/wallpaper_effects/.wallpaper_modified +wallpaper=$HOME/.config/hypr/wallpaper_effects/.wallpaper_current waybar_style="$HOME/.config/waybar/style/[Extra] Modern-Combined - Transparent.css" waybar_config="$HOME/.config/waybar/configs/[TOP] Default_v5" waybar_config_laptop="$HOME/.config/waybar/configs/[TOP] Default Laptop_v5" @@ -14,9 +14,9 @@ if [[ $EUID -eq 0 ]]; then fi printf "\n%.0s" {1..2} -echo ' ╦╔═┌─┐┌─┐╦ ╦ ╦┬ ┬┌─┐┬─┐┬ ┌─┐┌┐┌┌┬┐ ╔╦╗┌─┐┌┬┐┌─┐ ' -echo ' ╠╩╗│ ││ │║ ╠═╣└┬┘├─┘├┬┘│ ├─┤│││ ││───║║│ │ │ └─┐ ' -echo ' ╩ ╩└─┘└─┘╩═╝ ╩ ╩ ┴ ┴ ┴└─┴─┘┴ ┴┘└┘─┴┘ ═╩╝└─┘ ┴ └─┘ ' +echo ' ╦╔═┌─┐┌─┐╦ ╦ ╦┬ ┬┌─┐┬─┐┬ ┌─┐┌┐┌┌┬┐ ╔╦╗┌─┐┌┬┐┌─┐ ' +echo ' ╠╩╗│ ││ │║ ╠═╣└┬┘├─┘├┬┘│ ├─┤│││ ││───║║│ │ │ └─┐ 2025 ' +echo ' ╩ ╩└─┘└─┘╩═╝ ╩ ╩ ┴ ┴ ┴└─┴─┘┴ ┴┘└┘─┴┘ ═╩╝└─┘ ┴ └─┘ ' printf "\n%.0s" {1..2} # Set some colors for output messages -- cgit v1.2.3 From 4e0eebb8cd368e9018875eaad24e5fa8b4319c56 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Tue, 4 Feb 2025 12:07:21 +0900 Subject: All more wallpaper effects. New default wallpaper --- config/hypr/UserScripts/WallpaperEffects.sh | 5 ++++- config/hypr/wallpaper_effects/.wallpaper_current | Bin 1072854 -> 1031389 bytes 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/config/hypr/UserScripts/WallpaperEffects.sh b/config/hypr/UserScripts/WallpaperEffects.sh index 0a599deb..8a604e46 100755 --- a/config/hypr/UserScripts/WallpaperEffects.sh +++ b/config/hypr/UserScripts/WallpaperEffects.sh @@ -27,6 +27,8 @@ declare -A effects=( ["Charcoal"]="magick $current_wallpaper -charcoal 0x5 $wallpaper_output" ["Edge Detect"]="magick $current_wallpaper -edge 1 $wallpaper_output" ["Emboss"]="magick $current_wallpaper -emboss 0x5 $wallpaper_output" + ["Frame Raised"]="magick $current_wallpaper +raise 150 $wallpaper_output" + ["Frame Sunk"]="magick $current_wallpaper -raise 150 $wallpaper_output" ["Negate"]="magick $current_wallpaper -negate $wallpaper_output" ["Oil Paint"]="magick $current_wallpaper -paint 4 $wallpaper_output" ["Posterize"]="magick $current_wallpaper -posterize 4 $wallpaper_output" @@ -34,7 +36,8 @@ declare -A effects=( ["Sepia Tone"]="magick $current_wallpaper -sepia-tone 65% $wallpaper_output" ["Solarize"]="magick $current_wallpaper -solarize 80% $wallpaper_output" ["Sharpen"]="magick $current_wallpaper -sharpen 0x5 $wallpaper_output" - ["Vignette"]="magick $current_wallpaper -vignette 0x5 $wallpaper_output" + ["Vignette"]="magick $current_wallpaper -vignette 0x3 $wallpaper_output" + ["Vignette-black"]="magick $current_wallpaper -background black -vignette 0x3 $wallpaper_output" ["Zoomed"]="magick $current_wallpaper -gravity Center -extent 1:1 $wallpaper_output" ) diff --git a/config/hypr/wallpaper_effects/.wallpaper_current b/config/hypr/wallpaper_effects/.wallpaper_current index 5a39f08c..c42ae068 100644 Binary files a/config/hypr/wallpaper_effects/.wallpaper_current and b/config/hypr/wallpaper_effects/.wallpaper_current differ -- cgit v1.2.3 From 6402105ae68639ad21021abb80133053b9dd1c67 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Tue, 4 Feb 2025 22:25:26 +0900 Subject: updated showcase readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a387351b..2ce124bc 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@
-https://github.com/JaKooLit/Hyprland-Dots/assets/85185940/50d53755-0f11-45d6-9913-76039e84a2cd +https://github.com/user-attachments/assets/49bc12b2-abaf-45de-a21c-67aacd9bb872
-- cgit v1.2.3 From e5dc74881ce00eaba324d16f5d9412bab04fe857 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Wed, 5 Feb 2025 08:28:55 +0900 Subject: adjusted for ags since it is already optional to install --- config/hypr/scripts/Refresh.sh | 7 ++----- config/hypr/scripts/RefreshNoWaybar.sh | 4 ++-- copy.sh | 10 ++++++---- 3 files changed, 10 insertions(+), 11 deletions(-) diff --git a/config/hypr/scripts/Refresh.sh b/config/hypr/scripts/Refresh.sh index 77ba1496..c8c46695 100755 --- a/config/hypr/scripts/Refresh.sh +++ b/config/hypr/scripts/Refresh.sh @@ -24,11 +24,8 @@ done killall -SIGUSR2 waybar # added since wallust sometimes not applying -# quit ags -ags -q - -# relaunch ags -ags & +# quit ags & relaunch ags +#ags -q && ags & # Kill waybar & swaync (yet again) # added since wallust sometimes not applying _ps2=(waybar swaync) diff --git a/config/hypr/scripts/RefreshNoWaybar.sh b/config/hypr/scripts/RefreshNoWaybar.sh index 11496826..85332a32 100755 --- a/config/hypr/scripts/RefreshNoWaybar.sh +++ b/config/hypr/scripts/RefreshNoWaybar.sh @@ -25,8 +25,8 @@ for _prs in "${_ps[@]}"; do fi done -# quit ags -ags -q +# quit ags & relaunch ags +#ags -q && ags & # Wallust refresh ${SCRIPTSDIR}/WallustSwww.sh & diff --git a/copy.sh b/copy.sh index 85c13c51..154e2c96 100755 --- a/copy.sh +++ b/copy.sh @@ -195,7 +195,7 @@ ${MAGENTA} NOTE:${RESET} esac done -printf "\n" +printf "\n%.0s" {1..1} # Check if asusctl is installed and add rog-control-center on Startup if command -v asusctl >/dev/null 2>&1; then @@ -207,12 +207,14 @@ if command -v blueman-applet >/dev/null 2>&1; then sed -i '/exec-once = blueman-applet &/s/^#//' config/hypr/UserConfigs/Startup_Apps.conf fi -# Check if ags is installed and add ags on Startup +# Check if ags is installed edit ags behaviour on configs if command -v ags >/dev/null 2>&1; then - sed -i '/exec-once = ags &/s/^#//' config/hypr/UserConfigs/Startup_Apps.conf + sed -i '/#exec-once = ags &/s/^#//' config/hypr/UserConfigs/Startup_Apps.conf + sed -i '/#ags -q && ags &/s/^#//' config/hypr/scripts/RefreshNoWaybar.sh + sed -i '/#ags -q && ags &/s/^#//' config/hypr/scripts/Refresh.sh fi -printf "\n" +printf "\n%.0s" {1..1} # Checking if neovim or vim is installed and offer user if they want to make as default editor # Function to modify the ENVariables.conf file -- cgit v1.2.3 From a60c69be106fcd2bad12bf1a57c9ae7f13a7165c Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Wed, 5 Feb 2025 09:26:19 +0900 Subject: animations list now alphabetically --- config/hypr/animations/00-default.conf | 26 ++++++++++++++++++++++++++ config/hypr/animations/01-default - v2.conf | 27 +++++++++++++++++++++++++++ config/hypr/animations/03-disabled.conf | 5 +++++ config/hypr/animations/default - v2.conf | 27 --------------------------- config/hypr/animations/default.conf | 26 -------------------------- config/hypr/animations/disabled.conf | 5 ----- config/hypr/scripts/Animations.sh | 6 +++--- copy.sh | 4 ++-- 8 files changed, 63 insertions(+), 63 deletions(-) create mode 100644 config/hypr/animations/00-default.conf create mode 100644 config/hypr/animations/01-default - v2.conf create mode 100644 config/hypr/animations/03-disabled.conf delete mode 100644 config/hypr/animations/default - v2.conf delete mode 100644 config/hypr/animations/default.conf delete mode 100644 config/hypr/animations/disabled.conf diff --git a/config/hypr/animations/00-default.conf b/config/hypr/animations/00-default.conf new file mode 100644 index 00000000..0f40b5e6 --- /dev/null +++ b/config/hypr/animations/00-default.conf @@ -0,0 +1,26 @@ +# /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ # + +animations { + enabled = yes + + bezier = wind, 0.05, 0.9, 0.1, 1.05 + bezier = winIn, 0.1, 1.1, 0.1, 1.1 + bezier = winOut, 0.3, -0.3, 0, 1 + bezier = liner, 1, 1, 1, 1 + bezier = overshot, 0.05, 0.9, 0.1, 1.05 + bezier = smoothOut, 0.5, 0, 0.99, 0.99 + bezier = smoothIn, 0.5, -0.5, 0.68, 1.5 + + animation = windows, 1, 6, wind, slide + animation = windowsIn, 1, 5, winIn, slide + animation = windowsOut, 1, 3, smoothOut, slide + animation = windowsMove, 1, 5, wind, slide + animation = border, 1, 1, liner + animation = borderangle, 1, 180, liner, loop #used by rainbow borders and rotating colors + animation = fade, 1, 3, smoothOut + animation = workspaces, 1, 5, overshot + + # animations for -git or version >0.42.0 + animation = workspacesIn, 1, 5, winIn, slide + animation = workspacesOut, 1, 5, winOut, slide +} \ No newline at end of file diff --git a/config/hypr/animations/01-default - v2.conf b/config/hypr/animations/01-default - v2.conf new file mode 100644 index 00000000..dfbbed7f --- /dev/null +++ b/config/hypr/animations/01-default - v2.conf @@ -0,0 +1,27 @@ +# /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ # + +# old animations + +animations { + enabled = yes + + bezier = myBezier, 0.05, 0.9, 0.1, 1.05 + bezier = linear, 0.0, 0.0, 1.0, 1.0 + bezier = wind, 0.05, 0.9, 0.1, 1.05 + bezier = winIn, 0.1, 1.1, 0.1, 1.1 + bezier = winOut, 0.3, -0.3, 0, 1 + bezier = slow, 0, 0.85, 0.3, 1 + bezier = overshot, 0.7, 0.6, 0.1, 1.1 + bezier = bounce, 1.1, 1.6, 0.1, 0.85 + bezier = sligshot, 1, -1, 0.15, 1.25 + bezier = nice, 0, 6.9, 0.5, -4.20 + + animation = windowsIn, 1, 5, slow, popin + animation = windowsOut, 1, 5, winOut, popin + animation = windowsMove, 1, 5, wind, slide + animation = border, 1, 10, linear + animation = borderangle, 1, 180, linear, loop #used by rainbow borders and rotating colors + animation = fade, 1, 5, overshot + animation = workspaces, 1, 5, wind + animation = windows, 1, 5, bounce, popin +} \ No newline at end of file diff --git a/config/hypr/animations/03-disabled.conf b/config/hypr/animations/03-disabled.conf new file mode 100644 index 00000000..f73a485b --- /dev/null +++ b/config/hypr/animations/03-disabled.conf @@ -0,0 +1,5 @@ +# /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ # + +animations { + enabled = no +} \ No newline at end of file diff --git a/config/hypr/animations/default - v2.conf b/config/hypr/animations/default - v2.conf deleted file mode 100644 index dfbbed7f..00000000 --- a/config/hypr/animations/default - v2.conf +++ /dev/null @@ -1,27 +0,0 @@ -# /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ # - -# old animations - -animations { - enabled = yes - - bezier = myBezier, 0.05, 0.9, 0.1, 1.05 - bezier = linear, 0.0, 0.0, 1.0, 1.0 - bezier = wind, 0.05, 0.9, 0.1, 1.05 - bezier = winIn, 0.1, 1.1, 0.1, 1.1 - bezier = winOut, 0.3, -0.3, 0, 1 - bezier = slow, 0, 0.85, 0.3, 1 - bezier = overshot, 0.7, 0.6, 0.1, 1.1 - bezier = bounce, 1.1, 1.6, 0.1, 0.85 - bezier = sligshot, 1, -1, 0.15, 1.25 - bezier = nice, 0, 6.9, 0.5, -4.20 - - animation = windowsIn, 1, 5, slow, popin - animation = windowsOut, 1, 5, winOut, popin - animation = windowsMove, 1, 5, wind, slide - animation = border, 1, 10, linear - animation = borderangle, 1, 180, linear, loop #used by rainbow borders and rotating colors - animation = fade, 1, 5, overshot - animation = workspaces, 1, 5, wind - animation = windows, 1, 5, bounce, popin -} \ No newline at end of file diff --git a/config/hypr/animations/default.conf b/config/hypr/animations/default.conf deleted file mode 100644 index 0f40b5e6..00000000 --- a/config/hypr/animations/default.conf +++ /dev/null @@ -1,26 +0,0 @@ -# /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ # - -animations { - enabled = yes - - bezier = wind, 0.05, 0.9, 0.1, 1.05 - bezier = winIn, 0.1, 1.1, 0.1, 1.1 - bezier = winOut, 0.3, -0.3, 0, 1 - bezier = liner, 1, 1, 1, 1 - bezier = overshot, 0.05, 0.9, 0.1, 1.05 - bezier = smoothOut, 0.5, 0, 0.99, 0.99 - bezier = smoothIn, 0.5, -0.5, 0.68, 1.5 - - animation = windows, 1, 6, wind, slide - animation = windowsIn, 1, 5, winIn, slide - animation = windowsOut, 1, 3, smoothOut, slide - animation = windowsMove, 1, 5, wind, slide - animation = border, 1, 1, liner - animation = borderangle, 1, 180, liner, loop #used by rainbow borders and rotating colors - animation = fade, 1, 3, smoothOut - animation = workspaces, 1, 5, overshot - - # animations for -git or version >0.42.0 - animation = workspacesIn, 1, 5, winIn, slide - animation = workspacesOut, 1, 5, winOut, slide -} \ No newline at end of file diff --git a/config/hypr/animations/disabled.conf b/config/hypr/animations/disabled.conf deleted file mode 100644 index f73a485b..00000000 --- a/config/hypr/animations/disabled.conf +++ /dev/null @@ -1,5 +0,0 @@ -# /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ # - -animations { - enabled = no -} \ No newline at end of file diff --git a/config/hypr/scripts/Animations.sh b/config/hypr/scripts/Animations.sh index 48ac0f85..7789cb05 100755 --- a/config/hypr/scripts/Animations.sh +++ b/config/hypr/scripts/Animations.sh @@ -13,8 +13,8 @@ SCRIPTSDIR="$HOME/.config/hypr/scripts" animations_dir="$HOME/.config/hypr/animations" UserConfigs="$HOME/.config/hypr/UserConfigs" -# list of animation files -animations_list=$(find "$animations_dir" -maxdepth 1 -type f | sed 's/.*\///' | sed 's/\.conf$//') +# list of animation files, sorted alphabetically with numbers first +animations_list=$(find "$animations_dir" -maxdepth 1 -type f | sed 's/.*\///' | sed 's/\.conf$//' | sort -V) # Rofi Menu chosen_file=$(echo "$animations_list" | rofi -i -dmenu -config ~/.config/rofi/config-Animations.rasi) @@ -32,4 +32,4 @@ else fi sleep 1 -"$SCRIPTSDIR/RefreshNoWaybar.sh" \ No newline at end of file +"$SCRIPTSDIR/RefreshNoWaybar.sh" diff --git a/copy.sh b/copy.sh index 154e2c96..e90fb5bf 100755 --- a/copy.sh +++ b/copy.sh @@ -65,7 +65,7 @@ fi # uncommenting WLR_RENDERER_ALLOW_SOFTWARE,1 if running in a VM is detected if hostnamectl | grep -q 'Chassis: vm'; then - echo "${INFO} System is running in a virtual machine." 2>&1 | tee -a "$LOG" || true + echo "${INFO} System is running in a virtual machine. Setting up proper env's and configs" 2>&1 | tee -a "$LOG" || true # enabling proper ENV's for Virtual Environment which should help sed -i 's/^\([[:space:]]*no_hardware_cursors[[:space:]]*=[[:space:]]*\)2/\1true/' config/hypr/UserConfigs/UserSettings.conf sed -i '/env = WLR_RENDERER_ALLOW_SOFTWARE,1/s/^#//' config/hypr/UserConfigs/ENVariables.conf @@ -75,7 +75,7 @@ fi # Proper Polkit for NixOS if hostnamectl | grep -q 'Operating System: NixOS'; then - echo "${INFO} NixOS Distro Detected. Setting up properly." 2>&1 | tee -a "$LOG" || true + echo "${INFO} NixOS Distro Detected. Setting up proper env's and configs." 2>&1 | tee -a "$LOG" || true sed -i -E '/^#?exec-once = \$scriptsDir\/Polkit-NixOS\.sh/s/^#//' config/hypr/UserConfigs/Startup_Apps.conf sed -i '/^exec-once = \$scriptsDir\/Polkit\.sh$/ s/^#*/#/' config/hypr/UserConfigs/Startup_Apps.conf fi -- cgit v1.2.3 From 40cd9976f402a0810503eb2b5356d00c79e5fcdd Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Wed, 5 Feb 2025 16:57:09 +0900 Subject: switched to kitty from pkexec --- config/hypr/UserScripts/WallpaperEffects.sh | 16 +++++++++------- config/hypr/UserScripts/WallpaperSelect.sh | 21 ++++++++++++++------- 2 files changed, 23 insertions(+), 14 deletions(-) diff --git a/config/hypr/UserScripts/WallpaperEffects.sh b/config/hypr/UserScripts/WallpaperEffects.sh index 8a604e46..e12db3cf 100755 --- a/config/hypr/UserScripts/WallpaperEffects.sh +++ b/config/hypr/UserScripts/WallpaperEffects.sh @@ -3,6 +3,8 @@ # Wallpaper Effects using ImageMagick (SUPER SHIFT W) # Variables +terminal=kitty + current_wallpaper="$HOME/.config/hypr/wallpaper_effects/.wallpaper_current" wallpaper_output="$HOME/.config/hypr/wallpaper_effects/.wallpaper_modified" SCRIPTSDIR="$HOME/.config/hypr/scripts" @@ -102,22 +104,22 @@ fi main -sleep 5 # add delay of 5 secords for those who have slow machines -# supports sddm sequoia_2 theme only +sleep 3 # add delay of 3 seconds for those who have slow machines sddm_sequoia="/usr/share/sddm/themes/sequoia_2" if [ -d "$sddm_sequoia" ]; then - notify-send -i "$iDIRi/picture.png" "Set wallpaper" "as SDDM background?" \ + notify-send -i "$iDIR/ja.png" "Set wallpaper" "as SDDM background?" \ -t 10000 \ -A "yes=Yes" \ -A "no=No" \ -h string:x-canonical-private-synchronous:wallpaper-notify + # Wait for user input using a background process dbus-monitor "interface='org.freedesktop.Notifications',member='ActionInvoked'" | while read -r line; do - if echo "$line" | grep -q "yes"; then - # User chose "Yes", copy the wallpaper with correct syntax - pkexec /usr/bin/cp -r "$HOME/.config/hypr/wallpaper_effects/.wallpaper_modified" "$sddm_sequoia/backgrounds/default" - notify-send -i "$iDIRi/picture.png" "SDDM" "Background SET" + if echo "$line" | grep -q "yes"; then + $terminal -e bash -c "echo 'Enter your password to set wallpaper as SDDM Background'; \ + sudo cp -r $wallpaper_output '$sddm_sequoia/backgrounds/default' && \ + notify-send -i '$iDIR/ja.png' 'SDDM' 'Background SET'" break elif echo "$line" | grep -q "no"; then break diff --git a/config/hypr/UserScripts/WallpaperSelect.sh b/config/hypr/UserScripts/WallpaperSelect.sh index b40ec62c..feae485b 100755 --- a/config/hypr/UserScripts/WallpaperSelect.sh +++ b/config/hypr/UserScripts/WallpaperSelect.sh @@ -3,9 +3,15 @@ # This script for selecting wallpapers (SUPER W) # WALLPAPERS PATH +terminal=kitty + wallDIR="$HOME/Pictures/wallpapers" SCRIPTSDIR="$HOME/.config/hypr/scripts" -iDIR="$HOME/.config/swaync/icons" +wallpaper_current="$HOME/.config/hypr/wallpaper_effects/.wallpaper_current" + +# Directory for swaync +iDIR="$HOME/.config/swaync/images" +iDIRi="$HOME/.config/swaync/icons" # variables focused_monitor=$(hyprctl monitors | awk '/^Monitor/{name=$2} /focused: yes/{print name}') @@ -109,10 +115,10 @@ wait $! sleep 2 "$SCRIPTSDIR/Refresh.sh" -sleep 5 # add delay of 5 secords for those who have slow machines +sleep 3 # add delay of 3 seconds for those who have slow machines sddm_sequoia="/usr/share/sddm/themes/sequoia_2" if [ -d "$sddm_sequoia" ]; then - notify-send -i "$iDIR/picture.png" "Set wallpaper" "as SDDM background?" \ + notify-send -i "$iDIR/ja.png" "Set wallpaper" "as SDDM background?" \ -t 10000 \ -A "yes=Yes" \ -A "no=No" \ @@ -121,13 +127,14 @@ if [ -d "$sddm_sequoia" ]; then # Wait for user input using a background process dbus-monitor "interface='org.freedesktop.Notifications',member='ActionInvoked'" | while read -r line; do - if echo "$line" | grep -q "yes"; then - # User chose "Yes", copy the wallpaper with correct syntax - pkexec /usr/bin/cp -r "$HOME/.config/hypr/wallpaper_effects/.wallpaper_current" "$sddm_sequoia/backgrounds/default" - notify-send -i "$iDIR/picture.png" "SDDM" "Background SET" + if echo "$line" | grep -q "yes"; then + $terminal -e bash -c "echo 'Enter your password to set wallpaper as SDDM Background'; \ + sudo cp -r $wallpaper_current '$sddm_sequoia/backgrounds/default' && \ + notify-send -i '$iDIR/ja.png' 'SDDM' 'Background SET'" break elif echo "$line" | grep -q "no"; then break fi done & fi + -- cgit v1.2.3 From 5f2cdb95effe909fa290bf340f9df896ce6eb4e6 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Wed, 5 Feb 2025 17:07:06 +0900 Subject: updated swaync config as older version does not like it :) --- config/swaync/config.json | 2 -- 1 file changed, 2 deletions(-) diff --git a/config/swaync/config.json b/config/swaync/config.json index c99195cb..2ec0f771 100755 --- a/config/swaync/config.json +++ b/config/swaync/config.json @@ -1,5 +1,3 @@ -/* ----------- 💫 https://github.com/JaKooLit 💫 -------- */ - { "$schema": "/etc/xdg/swaync/configSchema.json", "positionX": "center", -- cgit v1.2.3 From 23502b208f658e24f655cdeb91a0d3cf1501ce46 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Wed, 5 Feb 2025 19:29:23 +0900 Subject: Minor waybar update --- config/waybar/configs/[TOP] 0-Ja-0 | 51 ++++++++++++++++++++++++++++++++++++++ config/waybar/configs/[TOP] 0Ja0 | 51 -------------------------------------- 2 files changed, 51 insertions(+), 51 deletions(-) create mode 100644 config/waybar/configs/[TOP] 0-Ja-0 delete mode 100644 config/waybar/configs/[TOP] 0Ja0 diff --git a/config/waybar/configs/[TOP] 0-Ja-0 b/config/waybar/configs/[TOP] 0-Ja-0 new file mode 100644 index 00000000..b5c7a62f --- /dev/null +++ b/config/waybar/configs/[TOP] 0-Ja-0 @@ -0,0 +1,51 @@ +/* ---- 💫 https://github.com/JaKooLit 💫 ---- */ + +/* My Mostly Used waybar config incase you wonder :) */ +{ +"include": [ + "$HOME/.config/waybar/Modules", + "$HOME/.config/waybar/ModulesWorkspaces", + "$HOME/.config/waybar/ModulesCustom", + "$HOME/.config/waybar/ModulesGroups", + ], +"layer": "top", +//"mode": "dock", +"exclusive": true, +"passthrough": false, +"position": "top", +"spacing": 3, +"fixed-center": true, +"ipc": true, +"margin-top": 3, +"margin-left": 8, +"margin-right": 8, + +"modules-left": [ + "idle_inhibitor", + "custom/separator#blank", + "tray", + "custom/separator#blank", + "clock", + "custom/playerctl", + "custom/separator#blank_2", + "hyprland/window", + ], + +"modules-center": [ + "group/app_drawer", + "custom/separator#dot-line", + "hyprland/workspaces#rw", + "custom/separator#dot-line", + "custom/swaync", + ], + +"modules-right": [ + "group/laptop", + "custom/separator#blank", + "group/mobo_drawer", + "custom/separator#line", + "group/audio", + "custom/separator#dot-line", + "group/status", + ], +} \ No newline at end of file diff --git a/config/waybar/configs/[TOP] 0Ja0 b/config/waybar/configs/[TOP] 0Ja0 deleted file mode 100644 index 98345c32..00000000 --- a/config/waybar/configs/[TOP] 0Ja0 +++ /dev/null @@ -1,51 +0,0 @@ -/* ---- 💫 https://github.com/JaKooLit 💫 ---- */ - -/* My Mostly Used waybar config incase you wonder :) */ -{ -"include": [ - "$HOME/.config/waybar/Modules", - "$HOME/.config/waybar/ModulesWorkspaces", - "$HOME/.config/waybar/ModulesCustom", - "$HOME/.config/waybar/ModulesGroups", - ], -"layer": "top", -//"mode": "dock", -"exclusive": true, -"passthrough": false, -"position": "top", -"spacing": 3, -"fixed-center": true, -"ipc": true, -"margin-top": 3, -"margin-left": 8, -"margin-right": 8, - -"modules-left": [ - "idle_inhibitor", - "custom/separator#blank", - "tray", - "custom/separator#blank", - "clock", - "custom/playerctl", - "custom/separator#blank_2", - "hyprland/window", - ], - -"modules-center": [ - "group/app_drawer", - "custom/separator#dot-line", - "hyprland/workspaces#rw", - "custom/separator#dot-line", - "custom/swaync", - ], - -"modules-right": [ - "group/laptop", - "custom/separator#dot-line", - "group/mobo_drawer", - "custom/separator#line", - "group/audio", - "custom/separator#dot-line", - "group/status", - ], -} \ No newline at end of file -- cgit v1.2.3 From 0649f839781448b8aa0c91ac4471365b737ffbf8 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Thu, 6 Feb 2025 01:34:03 +0900 Subject: color coding & script tweaks --- copy.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/copy.sh b/copy.sh index e90fb5bf..30af722e 100755 --- a/copy.sh +++ b/copy.sh @@ -411,7 +411,7 @@ if [ ! -d "$HOME/.config" ]; then exit 1 fi -printf "${INFO} - copying dotfiles ${BLUE}first${RESET} part\n" +printf "${INFO} - copying dotfiles ${SKY_BLUE}first${RESET} part\n" # Config directories which will ask the user whether to replace or not DIRS=" ags @@ -473,7 +473,7 @@ done printf "\n%.0s" {1..1} -printf "${INFO} - Copying dotfiles ${BLUE}second${RESET} part\n" +printf "${INFO} - Copying dotfiles ${SKY_BLUE}second${RESET} part\n" # Check if the config directory exists if [ ! -d "config" ]; then -- cgit v1.2.3 From aa3b329106f00aadd0e912337b657a22a1a630ce Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Thu, 6 Feb 2025 01:50:54 +0900 Subject: reduced gaps --- config/hypr/UserConfigs/UserDecorations.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/hypr/UserConfigs/UserDecorations.conf b/config/hypr/UserConfigs/UserDecorations.conf index f076487c..b69f26ec 100644 --- a/config/hypr/UserConfigs/UserDecorations.conf +++ b/config/hypr/UserConfigs/UserDecorations.conf @@ -10,8 +10,8 @@ source = $HOME/.config/hypr/wallust/wallust-hyprland.conf general { border_size = 2 - gaps_in = 6 - gaps_out = 8 + gaps_in = 4 + gaps_out = 6 col.active_border = $color12 col.inactive_border = $color10 -- cgit v1.2.3 From 5098c51f7b840c421c6ea6bc34aff66b3c9120e4 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Thu, 6 Feb 2025 11:58:22 +0900 Subject: new logo :) --- copy.sh | 28 ++++++++++++++++------------ 1 file changed, 16 insertions(+), 12 deletions(-) diff --git a/copy.sh b/copy.sh index 30af722e..4b6a3cde 100755 --- a/copy.sh +++ b/copy.sh @@ -7,18 +7,6 @@ waybar_style="$HOME/.config/waybar/style/[Extra] Modern-Combined - Transparent.c waybar_config="$HOME/.config/waybar/configs/[TOP] Default_v5" waybar_config_laptop="$HOME/.config/waybar/configs/[TOP] Default Laptop_v5" -# Check if running as root. If root, script will exit -if [[ $EUID -eq 0 ]]; then - echo "This script should not be executed as root! Exiting......." - exit 1 -fi - -printf "\n%.0s" {1..2} -echo ' ╦╔═┌─┐┌─┐╦ ╦ ╦┬ ┬┌─┐┬─┐┬ ┌─┐┌┐┌┌┬┐ ╔╦╗┌─┐┌┬┐┌─┐ ' -echo ' ╠╩╗│ ││ │║ ╠═╣└┬┘├─┘├┬┘│ ├─┤│││ ││───║║│ │ │ └─┐ 2025 ' -echo ' ╩ ╩└─┘└─┘╩═╝ ╩ ╩ ┴ ┴ ┴└─┴─┘┴ ┴┘└┘─┴┘ ═╩╝└─┘ ┴ └─┘ ' -printf "\n%.0s" {1..2} - # Set some colors for output messages OK="$(tput setaf 2)[OK]$(tput sgr0)" ERROR="$(tput setaf 1)[ERROR]$(tput sgr0)" @@ -35,6 +23,22 @@ BLUE="$(tput setaf 4)" SKY_BLUE="$(tput setaf 6)" RESET="$(tput sgr0)" + +# Check if running as root. If root, script will exit +if [[ $EUID -eq 0 ]]; then + echo "${ERROR} This script should ${WARNING}NOT${RESET} be executed as root!! Exiting......." + printf "\n%.0s" {1..2} + exit 1 +fi + +printf "\n%.0s" {1..2} +echo -e "\e[35m + ╦╔═┌─┐┌─┐╦ ╔╦╗┌─┐┌┬┐┌─┐ + ╠╩╗│ ││ │║ ║║│ │ │ └─┐ 2025 + ╩ ╩└─┘└─┘╩═╝ ═╩╝└─┘ ┴ └─┘ +\e[0m" +printf "\n%.0s" {1..1} + # Create Directory for Copy Logs if [ ! -d Copy-Logs ]; then mkdir Copy-Logs -- cgit v1.2.3 From 142682669aef0647235cd3e8d62f4367f1c7ee93 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Thu, 6 Feb 2025 14:15:48 +0900 Subject: minor waybar style tweak --- config/waybar/style/[Dark] Golden Eclipse.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/waybar/style/[Dark] Golden Eclipse.css b/config/waybar/style/[Dark] Golden Eclipse.css index 987834ce..e782996e 100644 --- a/config/waybar/style/[Dark] Golden Eclipse.css +++ b/config/waybar/style/[Dark] Golden Eclipse.css @@ -110,7 +110,7 @@ window#waybar.hidden { /*-----Indicators----*/ #custom-hypridle.notactive, #idle_inhibitor.activated { - color: white; + color: cyan; } #battery.critical:not(.charging) { -- cgit v1.2.3