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 +++++++++++++++++++++++++- 2 files changed, 49 insertions(+), 2 deletions(-) (limited to 'config') 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 -- 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(-) (limited to 'config') 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(-) (limited to 'config') 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 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(-) (limited to 'config') 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(-) (limited to 'config') 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 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(-) (limited to 'config') 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 (limited to 'config') 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(-) (limited to 'config') 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(-) (limited to 'config') 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 (limited to 'config') 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 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(-) (limited to 'config') 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 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(-) (limited to 'config') 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