From 0476ad02cc0c813266ef8c80ea1796f187c94884 Mon Sep 17 00:00:00 2001 From: Lamido Tijjani Date: Wed, 26 Jun 2024 12:05:22 +0100 Subject: fix: Correct logic for local music playback to start from selected track - Adjusted logic to use the full path stored in the `local_music` array instead of "$mDIR/$choice" - Modified `play_local_music` function to use `${local_music[@]}` for `mpv` command. - Ensured the entire playlist is considered when starting from a specific index. --- config/hypr/UserScripts/RofiBeats.sh | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/config/hypr/UserScripts/RofiBeats.sh b/config/hypr/UserScripts/RofiBeats.sh index 7a7ac3f5..b9e9ba01 100755 --- a/config/hypr/UserScripts/RofiBeats.sh +++ b/config/hypr/UserScripts/RofiBeats.sh @@ -56,16 +56,9 @@ play_local_music() { notification "$choice" - # For some reason wont start playlist at 0 - if [[ $i -eq 0 ]]; then - # Play the selected local music file using mpv - mpv --loop-playlist --vid=no "$mDIR/$choice" - - else - file=$i - # Play the selected local music file using mpv - mpv --playlist-start="$file" --loop-playlist --vid=no "$mDIR/$choice" - fi + # Play the selected local music file using mpv + mpv --playlist-start="$i" --loop-playlist --vid=no "${local_music[@]}" + break fi done -- cgit v1.2.3 From fdeb6c069a8786eafd4eb813037288bac5e7f172 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Sun, 30 Jun 2024 19:05:47 +0900 Subject: updated gamemode.sh. Bumping to v2.3.1 --- config/hypr/scripts/GameMode.sh | 2 +- config/hypr/v2.3 | 5 ----- config/hypr/v2.3.1 | 5 +++++ 3 files changed, 6 insertions(+), 6 deletions(-) delete mode 100644 config/hypr/v2.3 create mode 100644 config/hypr/v2.3.1 diff --git a/config/hypr/scripts/GameMode.sh b/config/hypr/scripts/GameMode.sh index 5ad268ca..f8dc3505 100755 --- a/config/hypr/scripts/GameMode.sh +++ b/config/hypr/scripts/GameMode.sh @@ -20,7 +20,7 @@ if [ "$HYPRGAMEMODE" = 1 ] ; then notify-send -e -u low -i "$notif" "gamemode enabled. All animations off" exit else - swww-daemon && swww img "$HOME/.config/rofi/.current_wallpaper" & + swww-daemon --format xrgb && swww img "$HOME/.config/rofi/.current_wallpaper" & sleep 0.1 ${SCRIPTSDIR}/WallustSwww.sh sleep 0.5 diff --git a/config/hypr/v2.3 b/config/hypr/v2.3 deleted file mode 100644 index 31b3414d..00000000 --- a/config/hypr/v2.3 +++ /dev/null @@ -1,5 +0,0 @@ -### https://github.com/JaKooLit ### -## https://github.com/JaKooLit/Hyprland-Dots -## This is to have a reference of which version would be - -## note that this will always be higher than the released versions \ No newline at end of file diff --git a/config/hypr/v2.3.1 b/config/hypr/v2.3.1 new file mode 100644 index 00000000..31b3414d --- /dev/null +++ b/config/hypr/v2.3.1 @@ -0,0 +1,5 @@ +### https://github.com/JaKooLit ### +## https://github.com/JaKooLit/Hyprland-Dots +## This is to have a reference of which version would be + +## note that this will always be higher than the released versions \ No newline at end of file -- cgit v1.2.3 From 9a543cd81eebe9d8572ee45cf3b33486a5d03626 Mon Sep 17 00:00:00 2001 From: Ecys <73040912+Eccys@users.noreply.github.com> Date: Tue, 2 Jul 2024 02:21:51 +0000 Subject: Fixed inconsistent brightness Fixed brightness script not inc/dec in increments of 5 --- config/hypr/scripts/Brightness.sh | 30 +++++++++++++++++++++++++----- 1 file changed, 25 insertions(+), 5 deletions(-) diff --git a/config/hypr/scripts/Brightness.sh b/config/hypr/scripts/Brightness.sh index 8f9fbf22..5c455ef1 100755 --- a/config/hypr/scripts/Brightness.sh +++ b/config/hypr/scripts/Brightness.sh @@ -7,12 +7,12 @@ notification_timeout=1000 # Get brightness get_backlight() { - echo $(brightnessctl -m | cut -d, -f4) + brightnessctl -m | cut -d, -f4 | sed 's/%//' } # Get icons get_icon() { - current=$(get_backlight | sed 's/%//') + current=$(get_backlight) if [ "$current" -le "20" ]; then icon="$iDIR/brightness-20.png" elif [ "$current" -le "40" ]; then @@ -33,7 +33,27 @@ notify_user() { # Change brightness change_backlight() { - brightnessctl set "$1" -n && get_icon && notify_user + local current_brightness + current_brightness=$(get_backlight) + + # Calculate new brightness + if [[ "$1" == "+5%" ]]; then + new_brightness=$((current_brightness + 5)) + elif [[ "$1" == "5%-" ]]; then + new_brightness=$((current_brightness - 5)) + fi + + # Ensure new brightness is within valid range + if (( new_brightness < 0 )); then + new_brightness=0 + elif (( new_brightness > 100 )); then + new_brightness=100 + fi + + brightnessctl set "${new_brightness}%" + get_icon + current=$new_brightness + notify_user } # Execute accordingly @@ -42,10 +62,10 @@ case "$1" in get_backlight ;; "--inc") - change_backlight "+10%" + change_backlight "+5%" ;; "--dec") - change_backlight "10%-" + change_backlight "5%-" ;; *) get_backlight -- cgit v1.2.3 From 24d18bef5a9353a94fbda43f5b09f151c3a82a17 Mon Sep 17 00:00:00 2001 From: Ecys <73040912+Eccys@users.noreply.github.com> Date: Tue, 2 Jul 2024 02:34:48 +0000 Subject: Added options to Brightness.sh Fixed error where you couldn't change the step value. Also added option to change step value to your liking. --- config/hypr/scripts/Brightness.sh | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/config/hypr/scripts/Brightness.sh b/config/hypr/scripts/Brightness.sh index 5c455ef1..c42837f2 100755 --- a/config/hypr/scripts/Brightness.sh +++ b/config/hypr/scripts/Brightness.sh @@ -4,6 +4,7 @@ iDIR="$HOME/.config/swaync/icons" notification_timeout=1000 +step=10 # INCREASE/DECREASE BY THIS VALUE # Get brightness get_backlight() { @@ -37,10 +38,10 @@ change_backlight() { current_brightness=$(get_backlight) # Calculate new brightness - if [[ "$1" == "+5%" ]]; then - new_brightness=$((current_brightness + 5)) - elif [[ "$1" == "5%-" ]]; then - new_brightness=$((current_brightness - 5)) + if [[ "$1" == "+${step}%" ]]; then + new_brightness=$((current_brightness + step)) + elif [[ "$1" == "${step}%-" ]]; then + new_brightness=$((current_brightness - step)) fi # Ensure new brightness is within valid range @@ -62,10 +63,10 @@ case "$1" in get_backlight ;; "--inc") - change_backlight "+5%" + change_backlight "+${step}%" ;; "--dec") - change_backlight "5%-" + change_backlight "${step}%-" ;; *) get_backlight -- cgit v1.2.3 From b2cd847f4115271a2441fb0c1a1df60cac36027c Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Tue, 2 Jul 2024 14:51:54 +0900 Subject: added thorium browser in WindowRules.conf --- config/hypr/UserConfigs/WindowRules.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/config/hypr/UserConfigs/WindowRules.conf b/config/hypr/UserConfigs/WindowRules.conf index 7e1a43a5..602531e1 100644 --- a/config/hypr/UserConfigs/WindowRules.conf +++ b/config/hypr/UserConfigs/WindowRules.conf @@ -68,6 +68,7 @@ windowrulev2 = float, class:^([Ff]erdium)$ windowrulev2 = opacity 0.9 0.6, class:^([Rr]ofi)$ windowrulev2 = opacity 0.9 0.7, class:^(Brave-browser(-beta|-dev)?)$ windowrulev2 = opacity 0.9 0.7, class:^([Ff]irefox|org.mozilla.firefox|[Ff]irefox-esr)$ +windowrulev2 = opacity 0.9 0.6, class:^([Tt]horium-browser)$ windowrulev2 = opacity 0.9 0.8, class:^([Mm]icrosoft-edge(-stable|-beta|-dev|-unstable)?)$ windowrulev2 = opacity 0.9 0.8, class:^(google-chrome(-beta|-dev|-unstable)?)$ windowrulev2 = opacity 0.94 0.86, class:^(chrome-.+-Default)$ # Chrome PWAs -- cgit v1.2.3 From bc761a2489cec861ef91f01f737340404ec0cd2d Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Tue, 2 Jul 2024 19:53:06 +0900 Subject: set minimum brightness of 5% --- config/hypr/scripts/Brightness.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/hypr/scripts/Brightness.sh b/config/hypr/scripts/Brightness.sh index c42837f2..d1f80932 100755 --- a/config/hypr/scripts/Brightness.sh +++ b/config/hypr/scripts/Brightness.sh @@ -45,8 +45,8 @@ change_backlight() { fi # Ensure new brightness is within valid range - if (( new_brightness < 0 )); then - new_brightness=0 + if (( new_brightness < 5 )); then + new_brightness=5 elif (( new_brightness > 100 )); then new_brightness=100 fi -- cgit v1.2.3 From 246266f5822669c5ecd94af7081d66725464472e Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Wed, 3 Jul 2024 10:23:17 +0900 Subject: adjusted copy.sh for kb_layout and Rainbow Borders disabling --- copy.sh | 256 +++++++++++++++++++++++++++++++++++++++------------------------- 1 file changed, 156 insertions(+), 100 deletions(-) diff --git a/copy.sh b/copy.sh index e8283488..d80476a7 100755 --- a/copy.sh +++ b/copy.sh @@ -36,6 +36,11 @@ if [ ! -d Copy-Logs ]; then mkdir Copy-Logs fi +# Function to print colorful text +print_color() { + printf "%b%s%b\n" "$1" "$2" "$CLEAR" +} + # Set the name of the log file to include the current date and time LOG="Copy-Logs/install-$(date +%d-%H%M%S)_dotfiles.log" @@ -91,61 +96,88 @@ detect_layout() { layout=$(detect_layout) if [ "$layout" = "(unset)" ]; then - while true; do - printf "\n%.0s" {1..1} - echo "$(tput bold)$(tput setaf 3)ATTENTION!!!! VERY IMPORTANT!!!! $(tput sgr0)" - echo "$(tput bold)$(tput setaf 1)The keyboard layout could not be detected properly. $(tput sgr0)" - echo "$(tput bold)$(tput setaf 7)You need to set it manually. $(tput sgr0)" - echo "$(tput bold)$(tput setaf 2)If you are not sure, type us. You can change later on! $(tput sgr0)" - printf "\n%.0s" {1..1} - echo "$(tput bold)$(tput setaf 5)You can also set more than 2 layouts!$(tput sgr0)" - echo "$(tput bold)$(tput setaf 5)ie: us,kr,es $(tput sgr0)" - printf "\n%.0s" {1..1} - read -p "${CAT} - Please enter the correct keyboard layout: " new_layout - - if [ -n "$new_layout" ]; then - layout="$new_layout" - break - else - echo "Please enter a keyboard layout." - fi - done + while true; do + printf "\n%.0s" {1..1} +print_color $RED " +█▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀█ + STOP AND READ +█▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄█ + + !!! IMPORTANT WARNING !!! + +The Default Keyboard Layout could not be detected + +You need to set it Manually + +!!! WARNING !!! +Setting a wrong Keyboard Layout will cause Hyprland to crash + +If you are not sure, just type us + +NOTE: +• You can also set more than 2 keyboard layouts +• For example us,kr,gb,ru +" + printf "\n%.0s" {1..1} + read -p "${CAT} - Please enter the correct keyboard layout: " new_layout + + if [ -n "$new_layout" ]; then + layout="$new_layout" + break + else + echo "Please enter a keyboard layout." + fi + done fi printf "${NOTE} Detecting keyboard layout to prepare proper Hyprland Settings\n\n" # Prompt the user to confirm whether the detected layout is correct while true; do - read -p "$ORANGE Current keyboard layout is: $layout. Is this correct? [y/n] " confirm - - case $confirm in - [yY]) - # If the detected layout is correct, update the 'kb_layout =' line in the file - awk -v layout="$layout" '/kb_layout/ {$0 = " kb_layout = " layout} 1' config/hypr/UserConfigs/UserSettings.conf > temp.conf - mv temp.conf config/hypr/UserConfigs/UserSettings.conf - - echo "${NOTE} kb_layout $layout configured in settings. " 2>&1 | tee -a "$LOG" - break ;; - [nN]) - printf "\n%.0s" {1..2} - echo "$(tput bold)$(tput setaf 3)ATTENTION!!!! VERY IMPORTANT!!!! $(tput sgr0)" - echo "$(tput bold)$(tput setaf 1)Setting a wrong value here will result in Hyprland not starting $(tput sgr0)" - echo "$(tput bold)$(tput setaf 2)If you are not sure, type us. You can change later on! $(tput sgr0)" - printf "\n%.0s" {1..1} - echo "$(tput bold)$(tput setaf 5)You can also set more than 2 layouts!$(tput sgr0)" - echo "$(tput bold)$(tput setaf 5)ie: us,kr,es $(tput sgr0)" - printf "\n%.0s" {1..1} - - read -p "${CAT} - Please enter the correct keyboard layout: " new_layout - - # Update the 'kb_layout =' line with the correct layout in the file - awk -v new_layout="$new_layout" '/kb_layout/ {$0 = " kb_layout = " new_layout} 1' config/hypr/UserConfigs/UserSettings.conf > temp.conf - mv temp.conf config/hypr/UserConfigs/UserSettings.conf - echo "${NOTE} kb_layout $new_layout configured in settings." 2>&1 | tee -a "$LOG" - break ;; - *) - echo "Please enter either 'y' or 'n'." ;; - esac + read -p "$ORANGE Current keyboard layout is: $layout. Is this correct? [y/n] " confirm + + case $confirm in + [yY]) + # If the detected layout is correct, update the 'kb_layout =' line in the file + awk -v layout="$layout" '/kb_layout/ {$0 = " kb_layout = " layout} 1' config/hypr/UserConfigs/UserSettings.conf > temp.conf + mv temp.conf config/hypr/UserConfigs/UserSettings.conf + + echo "${NOTE} kb_layout $layout configured in settings. " 2>&1 | tee -a "$LOG" + break ;; + [nN]) + printf "\n%.0s" {1..2} +print_color $RED " +█▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀█ + STOP AND READ +█▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄█ + + !!! IMPORTANT WARNING !!! + +The Default Keyboard Layout could not be detected + +You need to set it Manually + +!!! WARNING !!! +Setting a wrong Keyboard Layout will cause Hyprland to crash + +If you are not sure, just type us + +NOTE: +• You can also set more than 2 keyboard layouts +• For example us,kr,gb,ru +" + printf "\n%.0s" {1..1} + + read -p "${CAT} - Please enter the correct keyboard layout: " new_layout + + # Update the 'kb_layout =' line with the correct layout in the file + awk -v new_layout="$new_layout" '/kb_layout/ {$0 = " kb_layout = " new_layout} 1' config/hypr/UserConfigs/UserSettings.conf > temp.conf + mv temp.conf config/hypr/UserConfigs/UserSettings.conf + echo "${NOTE} kb_layout $new_layout configured in settings." 2>&1 | tee -a "$LOG" + break ;; + *) + echo "Please enter either 'y' or 'n'." ;; + esac done printf "\n" @@ -224,24 +256,24 @@ printf "\n" # Action to do for better rofi appearance while true; do - echo "$ORANGE Select monitor resolution for better Rofi appearance:" - echo "$YELLOW 1. Equal to or less than 1080p (≤ 1080p)" - echo "$YELLOW 2. Equal to or higher than 1440p (≥ 1440p)" - read -p "$CAT Enter the number of your choice: " choice - - case $choice in - 1) - resolution="≤ 1080p" - break - ;; - 2) - resolution="≥ 1440p" - break - ;; - *) - echo "Invalid choice. Please enter 1 for ≤ 1080p or 2 for ≥ 1440p." - ;; - esac + echo "$ORANGE Select monitor resolution for better Rofi appearance:" + echo "$YELLOW 1. Equal to or less than 1080p (≤ 1080p)" + echo "$YELLOW 2. Equal to or higher than 1440p (≥ 1440p)" + read -p "$CAT Enter the number of your choice: " choice + + case $choice in + 1) + resolution="≤ 1080p" + break + ;; + 2) + resolution="≥ 1440p" + break + ;; + *) + echo "Invalid choice. Please enter 1 for ≤ 1080p or 2 for ≥ 1440p." + ;; + esac done # Use the selected resolution in your existing script @@ -256,7 +288,31 @@ fi printf "\n%.0s" {1..2} -### Copy Config Files ### +# Rainbow Borders +# Check if the user wants to disable Rainbow borders +# Print message about Rainbow Borders +printf "${NOTE} - By default, Rainbow Borders animation is enabled.\n" +printf "${NOTE} - However, this uses a bit more CPU and Memory resources.\n + +# Prompt user to disable Rainbow Borders +read -p "Do you want to disable Rainbow Borders animation? (Y/N): " choice +if [[ "$choice" =~ ^[Yy]$ ]]; then + # Move RainbowBorders.sh script to backup location + mv config/hypr/UserScripts/RainbowBorders.sh config/hypr/UserScripts/RainbowBorders.bak.sh + + # Comment out the line exec-once = $UserScripts/RainbowBorders.sh & + sed -i '/exec-once = \$UserScripts\/RainbowBorders.sh \&/s/^/#/' config/hypr/UserConfigs/Startup_Apps.conf + + # Comment out the line animation = borderangle, 1, 180, liner, loop + sed -i '/ animation = borderangle, 1, 180, liner, loop/s/^/#/' config/hypr/UserConfigs/UserSettings.conf + + echo "Rainbow borders is now disabled." 2>&1 | tee -a "$LOG" +else + echo "No changes made. Rainbow borders remain enabled." 2>&1 | tee -a "$LOG" +fi + + +# Copy Config Files # set -e # Exit immediately if a command exits with a non-zero status. printf "${NOTE} - copying dotfiles\n" @@ -312,38 +368,38 @@ echo "$(tput setaf 6) By default only a few wallpapers are copied...$(tput sgr0) printf "\n%.0s" {1..2} while true; do - read -rp "${CAT} Would you like to download additional wallpapers? Warning! This is more than >600mb (y/n)" WALL - case $WALL in - [Yy]) - echo "${NOTE} Downloading additional wallpapers..." - if git clone "https://github.com/JaKooLit/Wallpaper-Bank.git"; then - echo "${NOTE} Wallpapers downloaded successfully." 2>&1 | tee -a "$LOG" - - # Check if wallpapers directory exists and create it if not - if [ ! -d ~/Pictures/wallpapers ]; then - mkdir -p ~/Pictures/wallpapers - echo "${NOTE} Created wallpapers directory." 2>&1 | tee -a "$LOG" - fi - - if cp -R Wallpaper-Bank/wallpapers/* ~/Pictures/wallpapers/ >> "$LOG" 2>&1; then - echo "${NOTE} Wallpapers copied successfully." 2>&1 | tee -a "$LOG" - rm -rf Wallpaper-Bank 2>&1 # Remove cloned repository after copying wallpapers - break - else - echo "${ERROR} Copying wallpapers failed" 2>&1 | tee -a "$LOG" - fi - else - echo "${ERROR} Downloading additional wallpapers failed" 2>&1 | tee -a "$LOG" - fi - ;; - [Nn]) - echo "You chose not to download additional wallpapers." 2>&1 | tee -a "$LOG" - break - ;; - *) - echo "Please enter 'y' or 'n' to proceed." - ;; - esac + read -rp "${CAT} Would you like to download additional wallpapers? Warning! This is more than >600mb (y/n)" WALL + case $WALL in + [Yy]) + echo "${NOTE} Downloading additional wallpapers..." + if git clone "https://github.com/JaKooLit/Wallpaper-Bank.git"; then + echo "${NOTE} Wallpapers downloaded successfully." 2>&1 | tee -a "$LOG" + + # Check if wallpapers directory exists and create it if not + if [ ! -d ~/Pictures/wallpapers ]; then + mkdir -p ~/Pictures/wallpapers + echo "${NOTE} Created wallpapers directory." 2>&1 | tee -a "$LOG" + fi + + if cp -R Wallpaper-Bank/wallpapers/* ~/Pictures/wallpapers/ >> "$LOG" 2>&1; then + echo "${NOTE} Wallpapers copied successfully." 2>&1 | tee -a "$LOG" + rm -rf Wallpaper-Bank 2>&1 # Remove cloned repository after copying wallpapers + break + else + echo "${ERROR} Copying wallpapers failed" 2>&1 | tee -a "$LOG" + fi + else + echo "${ERROR} Downloading additional wallpapers failed" 2>&1 | tee -a "$LOG" + fi + ;; + [Nn]) + echo "You chose not to download additional wallpapers." 2>&1 | tee -a "$LOG" + break + ;; + *) + echo "Please enter 'y' or 'n' to proceed." + ;; + esac done # symlinks for waybar style -- cgit v1.2.3 From 2be153558159c5369cc9811c1fef56f815f3af8d Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Wed, 3 Jul 2024 12:27:51 +0900 Subject: updated copy.sh --- copy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/copy.sh b/copy.sh index d80476a7..c9527d76 100755 --- a/copy.sh +++ b/copy.sh @@ -292,7 +292,7 @@ printf "\n%.0s" {1..2} # Check if the user wants to disable Rainbow borders # Print message about Rainbow Borders printf "${NOTE} - By default, Rainbow Borders animation is enabled.\n" -printf "${NOTE} - However, this uses a bit more CPU and Memory resources.\n +printf "${NOTE} - However, this uses a bit more CPU and Memory resources.\n" # Prompt user to disable Rainbow Borders read -p "Do you want to disable Rainbow Borders animation? (Y/N): " choice -- cgit v1.2.3 From 39ec4bdf20139f8c2727c59e566d4257b587dbff Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Thu, 4 Jul 2024 10:59:53 +0900 Subject: updated rofi-beats.sh --- config/hypr/UserScripts/RofiBeats.sh | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/config/hypr/UserScripts/RofiBeats.sh b/config/hypr/UserScripts/RofiBeats.sh index b9e9ba01..aa9f62e8 100755 --- a/config/hypr/UserScripts/RofiBeats.sh +++ b/config/hypr/UserScripts/RofiBeats.sh @@ -10,18 +10,18 @@ iDIR="$HOME/.config/swaync/icons" # Online Stations. Edit as required declare -A online_music=( - ["AfroBeatz 2024 🎧"]="https://www.youtube.com/watch?v=7uB-Eh9XVZQ" - ["Lofi Girl ☕️🎶"]="https://play.streamafrica.net/lofiradio" - ["Easy Rock 96.3 FM 📻🎶"]="https://radio-stations-philippines.com/easy-rock" - ["Wish 107.5 FM 📻🎶"]="https://radio-stations-philippines.com/dwnu-1075-wish" - ["Wish 107.5 YT Pinoy HipHop 🎻🎶"]="https://youtube.com/playlist?list=PLkrzfEDjeYJnmgMYwCKid4XIFqUKBVWEs&si=vahW_noh4UDJ5d37" - ["Top Youtube Music 2023 ☕️🎶"]="https://youtube.com/playlist?list=PLDIoUOhQQPlXr63I_vwF9GD8sAKh77dWU&si=y7qNeEVFNgA-XxKy" - ["Wish 107.5 YT Wishclusives ☕️🎶"]="https://youtube.com/playlist?list=PLkrzfEDjeYJn5B22H9HOWP3Kxxs-DkPSM&si=d_Ld2OKhGvpH48WO" - ["Chillhop ☕️🎶"]="http://stream.zeno.fm/fyn8eh3h5f8uv" - ["SmoothChill ☕️🎶"]="https://media-ssl.musicradio.com/SmoothChill" - ["Relaxing Music ☕️🎶"]="https://youtube.com/playlist?list=PLMIbmfP_9vb8BCxRoraJpoo4q1yMFg4CE" - ["Youtube Remix 📻🎶"]="https://youtube.com/playlist?list=PLeqTkIUlrZXlSNn3tcXAa-zbo95j0iN-0" - ["Korean Drama OST 📻🎶"]="https://youtube.com/playlist?list=PLUge_o9AIFp4HuA-A3e3ZqENh63LuRRlQ" + ["Lofi Girl Radio ☕️🎶"]="https://play.streamafrica.net/lofiradio" + ["FM - Easy Rock 96.3 📻🎶"]="https://radio-stations-philippines.com/easy-rock" + ["FM - WRock - CEBU 96.3 📻🎶"]="https://onlineradio.ph/126-96-3-wrock.html" + ["YT - Wish 107.5 YT Pinoy HipHop 🎻🎶"]="https://youtube.com/playlist?list=PLkrzfEDjeYJnmgMYwCKid4XIFqUKBVWEs&si=vahW_noh4UDJ5d37" + ["YT - Top Youtube Music 2023 ☕️🎶"]="https://youtube.com/playlist?list=PLDIoUOhQQPlXr63I_vwF9GD8sAKh77dWU&si=y7qNeEVFNgA-XxKy" + ["YT - Wish 107.5 YT Wishclusives ☕️🎶"]="https://youtube.com/playlist?list=PLkrzfEDjeYJn5B22H9HOWP3Kxxs-DkPSM&si=d_Ld2OKhGvpH48WO" + ["Chillhop Radio ☕️🎶"]="http://stream.zeno.fm/fyn8eh3h5f8uv" + ["FM - Fresh Philippines ☕️🎶"]="https://onlineradio.ph/553-fresh-fm.html" + ["YT - Relaxing Music ☕️🎶"]="https://youtube.com/playlist?list=PLMIbmfP_9vb8BCxRoraJpoo4q1yMFg4CE" + ["YT - Youtube Remix 📻🎶"]="https://youtube.com/playlist?list=PLeqTkIUlrZXlSNn3tcXAa-zbo95j0iN-0" + ["YT - Korean Drama OST 📻🎶"]="https://youtube.com/playlist?list=PLUge_o9AIFp4HuA-A3e3ZqENh63LuRRlQ" + ["YT - AfroBeatz 2024 🎧"]="https://www.youtube.com/watch?v=7uB-Eh9XVZQ" ) # Populate local_music array with files from music directory and subdirectories -- cgit v1.2.3 From f85169098516118d1fae496d4f2ba302580c550b Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Thu, 4 Jul 2024 21:24:05 +0900 Subject: updated kitty.conf and wallust-kitty.conf --- config/kitty/kitty.conf | 7 +++++-- config/wallust/templates/colors-kitty.conf | 3 +++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/config/kitty/kitty.conf b/config/kitty/kitty.conf index f8255096..60a20bdf 100644 --- a/config/kitty/kitty.conf +++ b/config/kitty/kitty.conf @@ -7,16 +7,19 @@ bold_italic_font auto background_opacity 0.5 confirm_os_window_close 0 +# change to x11 or wayland or leave auto +linux_display_server auto + scrollback_lines 2000 wheel_scroll_min_lines 1 enable_audio_bell no +window_padding_width 4 + selection_foreground none selection_background none -window_padding_width 4 - foreground #dddddd background #000000 cursor #dddddd \ No newline at end of file diff --git a/config/wallust/templates/colors-kitty.conf b/config/wallust/templates/colors-kitty.conf index 92ceb48c..ab207635 100644 --- a/config/wallust/templates/colors-kitty.conf +++ b/config/wallust/templates/colors-kitty.conf @@ -7,6 +7,9 @@ bold_italic_font auto background_opacity 0.5 confirm_os_window_close 0 +# change to x11 or wayland or leave auto +linux_display_server auto + scrollback_lines 2000 wheel_scroll_min_lines 1 -- cgit v1.2.3 From 6d58be9a80f9fc49de23083e874ee0934c55d1dd Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Fri, 5 Jul 2024 10:13:11 +0900 Subject: updated UserSettings.conf --- config/hypr/UserConfigs/UserSettings.conf | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/config/hypr/UserConfigs/UserSettings.conf b/config/hypr/UserConfigs/UserSettings.conf index fe5e92f0..47f88ed5 100644 --- a/config/hypr/UserConfigs/UserSettings.conf +++ b/config/hypr/UserConfigs/UserSettings.conf @@ -18,9 +18,8 @@ dwindle { } master { - #new_is_master=1 # comment this when Hyprland release a new version or you are running the git version - new_status=master # hyprland upstream or git version (next release maybe v0.41-2 or v0.42) - new_on_top=1 + new_status = master #from Hyprland >v0.41.2 + new_on_top = 1 mfact = 0.5 } @@ -33,7 +32,7 @@ general { resize_on_border = true - col.active_border = $color0 $color2 $color9 $color12 $color15 90deg + col.active_border = $color12 col.inactive_border = $backgroundCol layout = dwindle -- cgit v1.2.3 From 9d328d5ba54e58d2ed1a87b3f331c646c688ac73 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Fri, 5 Jul 2024 19:12:18 +0900 Subject: updated hyprlock. Same copy.sh adjusted for time --- config/hypr/hyprlock.conf | 39 ++++++++++++++++++++++++++------------- copy.sh | 7 +++++-- 2 files changed, 31 insertions(+), 15 deletions(-) diff --git a/config/hypr/hyprlock.conf b/config/hypr/hyprlock.conf index e4362eab..42beb6b3 100644 --- a/config/hypr/hyprlock.conf +++ b/config/hypr/hyprlock.conf @@ -57,27 +57,40 @@ label { valign = top } -# Week +# Hour-Time label { monitor = - text = cmd[update:18000000] echo " "$(date +'Week %U')" " - color = $color5 - font_size = 24 + text = cmd[update:1000] echo -e "$(date +"%H")" +# text = cmd[update:1000] echo -e "$(date +"%I")" #AM/PM + color = rgba(255, 185, 0, .6) + font_size = 200 + font_family = JetBrains Mono Nerd Font Mono ExtraBold + position = 0, 140 + halign = center + valign = center +} + +# Minute-Tine +label { + monitor = + text = cmd[update:1000] echo -e "$(date +"%M")" + color = rgba(255, 255, 255, .6) + font_size = 200 font_family = JetBrains Mono Nerd Font Mono ExtraBold - position = 0, -250 + position = 0, -160 halign = center - valign = top + valign = center } -# Time +# Minute-Tine label { monitor = - #text = cmd[update:1000] echo " $(date +"%I:%M:%S %p") " # AM/PM - text = cmd[update:1000] echo " $(date +"%H:%M:%S") " # 24H - color = $color15 - font_size = 150 - font_family = AlfaSlabOne - position = 0, 0 + text = cmd[update:1000] echo -e "$(date +"%S")" +# text = cmd[update:1000] echo -e "$(date +"%S %p")" #AM/PM + color = $color12 + font_size = 40 + font_family = JetBrains Mono Nerd Font Mono ExtraBold + position = 0, 120 halign = center valign = center } diff --git a/copy.sh b/copy.sh index c9527d76..506551d4 100755 --- a/copy.sh +++ b/copy.sh @@ -218,8 +218,11 @@ while true; do sed -i 's#^ "format": "{:%a %d | %H:%M}", // 24H# \/\/"format": "{:%a %d | %H:%M}", // 24H#' config/waybar/modules 2>&1 | tee -a "$LOG" # for hyprlock - sed -i 's|^ #text = cmd\[update:1000\] echo " $(date +"%I:%M:%S %p") " # AM/PM| text = cmd\[update:1000\] echo " $(date +"%I:%M:%S %p") " # AM/PM|' config/hypr/hyprlock.conf 2>&1 | tee -a "$LOG" - sed -i 's|^ text = cmd\[update:1000\] echo " $(date +"%H:%M:%S") " # 24H| #text = cmd\[update:1000\] echo " $(date +"%H:%M:%S") " # 24H|' config/hypr/hyprlock.conf 2>&1 | tee -a "$LOG" + sed -i 's/^ text = cmd\[update:1000\] echo -e "\$(date +"%H")"/# &/' config/hypr/hyprlock.conf 2>&1 | tee -a "$LOG" + sed -i 's/^# *text = cmd\[update:1000\] echo -e "\$(date +"%I")" #AM\/PM/ text = cmd\[update:1000\] echo -e "\$(date +"%I")" #AM\/PM/' config/hypr/hyprlock.conf 2>&1 | tee -a "$LOG" + + sed -i 's/^ text = cmd\[update:1000\] echo -e "\$(date +"%S")"/# &/' config/hypr/hyprlock.conf 2>&1 | tee -a "$LOG" + sed -i 's/^# *text = cmd\[update:1000\] echo -e "\$(date +"%S %p")" #AM\/PM/ text = cmd\[update:1000\] echo -e "\$(date +"%S %p")" #AM\/PM/' config/hypr/hyprlock.conf 2>&1 | tee -a "$LOG" # for SDDM (simple-sddm) sddm_folder="/usr/share/sddm/themes/simple-sddm" -- cgit v1.2.3 From 2c29c4606e0b4a828b58c3cd1164cb879e99a250 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Fri, 5 Jul 2024 20:01:41 +0900 Subject: updated wlogout icons --- config/wlogout/icons/hibernate.png | Bin 5721 -> 16971 bytes config/wlogout/icons/lock-hover.png | Bin 5771 -> 11238 bytes config/wlogout/icons/lock.png | Bin 5771 -> 19889 bytes config/wlogout/icons/logout-hover.png | Bin 3784 -> 9797 bytes config/wlogout/icons/logout.png | Bin 3784 -> 21801 bytes config/wlogout/icons/power-hover.png | Bin 10841 -> 42555 bytes config/wlogout/icons/power.png | Bin 10782 -> 60403 bytes config/wlogout/icons/restart-hover.png | Bin 7810 -> 25740 bytes config/wlogout/icons/restart.png | Bin 7810 -> 50871 bytes config/wlogout/icons/sleep-hover.png | Bin 7960 -> 18289 bytes config/wlogout/icons/sleep.png | Bin 6539 -> 26018 bytes 11 files changed, 0 insertions(+), 0 deletions(-) mode change 100644 => 100755 config/wlogout/icons/lock.png mode change 100644 => 100755 config/wlogout/icons/logout.png mode change 100644 => 100755 config/wlogout/icons/power.png mode change 100644 => 100755 config/wlogout/icons/restart.png mode change 100644 => 100755 config/wlogout/icons/sleep.png diff --git a/config/wlogout/icons/hibernate.png b/config/wlogout/icons/hibernate.png index 6a3d607f..0ff8b8eb 100644 Binary files a/config/wlogout/icons/hibernate.png and b/config/wlogout/icons/hibernate.png differ diff --git a/config/wlogout/icons/lock-hover.png b/config/wlogout/icons/lock-hover.png index 8fb86fe4..8fe9ee35 100644 Binary files a/config/wlogout/icons/lock-hover.png and b/config/wlogout/icons/lock-hover.png differ diff --git a/config/wlogout/icons/lock.png b/config/wlogout/icons/lock.png old mode 100644 new mode 100755 index 430451c8..08f0e986 Binary files a/config/wlogout/icons/lock.png and b/config/wlogout/icons/lock.png differ diff --git a/config/wlogout/icons/logout-hover.png b/config/wlogout/icons/logout-hover.png index 9e570a9e..e54c42af 100644 Binary files a/config/wlogout/icons/logout-hover.png and b/config/wlogout/icons/logout-hover.png differ diff --git a/config/wlogout/icons/logout.png b/config/wlogout/icons/logout.png old mode 100644 new mode 100755 index 128c9955..eee07d7b Binary files a/config/wlogout/icons/logout.png and b/config/wlogout/icons/logout.png differ diff --git a/config/wlogout/icons/power-hover.png b/config/wlogout/icons/power-hover.png index 122d3318..5df24da7 100644 Binary files a/config/wlogout/icons/power-hover.png and b/config/wlogout/icons/power-hover.png differ diff --git a/config/wlogout/icons/power.png b/config/wlogout/icons/power.png old mode 100644 new mode 100755 index ce561661..190f2ee2 Binary files a/config/wlogout/icons/power.png and b/config/wlogout/icons/power.png differ diff --git a/config/wlogout/icons/restart-hover.png b/config/wlogout/icons/restart-hover.png index 3e185360..33aea144 100644 Binary files a/config/wlogout/icons/restart-hover.png and b/config/wlogout/icons/restart-hover.png differ diff --git a/config/wlogout/icons/restart.png b/config/wlogout/icons/restart.png old mode 100644 new mode 100755 index 7855d409..963c58e3 Binary files a/config/wlogout/icons/restart.png and b/config/wlogout/icons/restart.png differ diff --git a/config/wlogout/icons/sleep-hover.png b/config/wlogout/icons/sleep-hover.png index ef735a7c..0ac492d1 100644 Binary files a/config/wlogout/icons/sleep-hover.png and b/config/wlogout/icons/sleep-hover.png differ diff --git a/config/wlogout/icons/sleep.png b/config/wlogout/icons/sleep.png old mode 100644 new mode 100755 index f9480dd3..829316bb Binary files a/config/wlogout/icons/sleep.png and b/config/wlogout/icons/sleep.png differ -- cgit v1.2.3 From ed9b40823b2b6227a8ba3257d8a49e43072ddad2 Mon Sep 17 00:00:00 2001 From: Ecys <73040912+Eccys@users.noreply.github.com> Date: Sat, 6 Jul 2024 05:10:01 +0000 Subject: Put random wallpaper in random selection Shows preview of random wallpaper instead of blank screen. --- config/hypr/UserScripts/WallpaperSelect.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/config/hypr/UserScripts/WallpaperSelect.sh b/config/hypr/UserScripts/WallpaperSelect.sh index 06859112..d2ca7c28 100755 --- a/config/hypr/UserScripts/WallpaperSelect.sh +++ b/config/hypr/UserScripts/WallpaperSelect.sh @@ -33,8 +33,8 @@ rofi_command="rofi -i -show -dmenu -config ~/.config/rofi/config-wallpaper.rasi" # Sorting Wallpapers menu() { sorted_options=($(printf '%s\n' "${PICS[@]}" | sort)) - # Place ". random" at the beginning - printf "%s\n" "$RANDOM_PIC_NAME" + # Place ". random" at the beginning with the random picture as an icon + printf "%s\x00icon\x1f%s\n" "$RANDOM_PIC_NAME" "$RANDOM_PIC" for pic_path in "${sorted_options[@]}"; do pic_name=$(basename "$pic_path") # Displaying .gif to indicate animated images @@ -59,7 +59,6 @@ main() { # Random choice case if [ "$choice" = "$RANDOM_PIC_NAME" ]; then - RANDOM_PIC="${PICS[$((RANDOM % ${#PICS[@]}))]}" swww img -o $focused_monitor "${RANDOM_PIC}" $SWWW_PARAMS exit 0 fi -- cgit v1.2.3