aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorJa.KooLit <85185940+JaKooLit@users.noreply.github.com>2025-02-07 21:31:36 +0900
committerGitHub <noreply@github.com>2025-02-07 21:31:36 +0900
commit6fac05d59aa95d0a3d0009734e26459c57ae2536 (patch)
tree66fbf0d98651b018827a55f0f4b24e7686524d01 /config
parentf6bbfa68a174f0d01fbf8b4ae2a6785e43adba2c (diff)
parentdb04cff10648f94214a39d3303d5c2eeab6603d8 (diff)
Merge pull request #546 from JaKooLit/development
Development to main
Diffstat (limited to 'config')
-rw-r--r--config/hypr/UserConfigs/UserDecorations.conf4
-rwxr-xr-xconfig/hypr/UserScripts/WallpaperEffects.sh32
-rwxr-xr-xconfig/hypr/UserScripts/WallpaperSelect.sh33
-rw-r--r--config/hypr/animations/00-default.conf (renamed from config/hypr/animations/default.conf)0
-rw-r--r--config/hypr/animations/01-default - v2.conf (renamed from config/hypr/animations/default - v2.conf)0
-rw-r--r--config/hypr/animations/03-disabled.conf (renamed from config/hypr/animations/disabled.conf)0
-rwxr-xr-xconfig/hypr/initial-boot.sh2
-rwxr-xr-xconfig/hypr/scripts/Animations.sh6
-rwxr-xr-xconfig/hypr/scripts/Refresh.sh7
-rwxr-xr-xconfig/hypr/scripts/RefreshNoWaybar.sh4
-rw-r--r--config/hypr/wallpaper_effects/.wallpaper_currentbin10295063 -> 1031389 bytes
-rw-r--r--config/hypr/wallpaper_effects/.wallpaper_modifiedbin9378870 -> 1885472 bytes
-rwxr-xr-xconfig/swaync/config.json2
-rw-r--r--config/waybar/configs/[TOP] 0-Ja-0 (renamed from config/waybar/configs/[TOP] 0Ja0)2
-rw-r--r--config/waybar/style/[Dark] Golden Eclipse.css2
15 files changed, 74 insertions, 20 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
diff --git a/config/hypr/UserScripts/WallpaperEffects.sh b/config/hypr/UserScripts/WallpaperEffects.sh
index ccb5b744..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"
@@ -10,6 +12,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
@@ -26,6 +29,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"
@@ -33,7 +38,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"
)
@@ -62,7 +68,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 +103,26 @@ if pidof rofi > /dev/null; then
fi
main
+
+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/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
+ $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
+ fi
+ done &
+fi
diff --git a/config/hypr/UserScripts/WallpaperSelect.sh b/config/hypr/UserScripts/WallpaperSelect.sh
index 7d6b339f..feae485b 100755
--- a/config/hypr/UserScripts/WallpaperSelect.sh
+++ b/config/hypr/UserScripts/WallpaperSelect.sh
@@ -3,8 +3,15 @@
# This script for selecting wallpapers (SUPER W)
# WALLPAPERS PATH
+terminal=kitty
+
wallDIR="$HOME/Pictures/wallpapers"
SCRIPTSDIR="$HOME/.config/hypr/scripts"
+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}')
@@ -106,4 +113,28 @@ wait $!
wait $!
sleep 2
-"$SCRIPTSDIR/Refresh.sh" \ No newline at end of file
+"$SCRIPTSDIR/Refresh.sh"
+
+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/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
+ $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
+
diff --git a/config/hypr/animations/default.conf b/config/hypr/animations/00-default.conf
index 0f40b5e6..0f40b5e6 100644
--- a/config/hypr/animations/default.conf
+++ b/config/hypr/animations/00-default.conf
diff --git a/config/hypr/animations/default - v2.conf b/config/hypr/animations/01-default - v2.conf
index dfbbed7f..dfbbed7f 100644
--- a/config/hypr/animations/default - v2.conf
+++ b/config/hypr/animations/01-default - v2.conf
diff --git a/config/hypr/animations/disabled.conf b/config/hypr/animations/03-disabled.conf
index f73a485b..f73a485b 100644
--- a/config/hypr/animations/disabled.conf
+++ b/config/hypr/animations/03-disabled.conf
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/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/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/config/hypr/wallpaper_effects/.wallpaper_current b/config/hypr/wallpaper_effects/.wallpaper_current
index 2c5e839e..c42ae068 100644
--- a/config/hypr/wallpaper_effects/.wallpaper_current
+++ b/config/hypr/wallpaper_effects/.wallpaper_current
Binary files differ
diff --git a/config/hypr/wallpaper_effects/.wallpaper_modified b/config/hypr/wallpaper_effects/.wallpaper_modified
index f546bd56..d85a5b8d 100644
--- a/config/hypr/wallpaper_effects/.wallpaper_modified
+++ b/config/hypr/wallpaper_effects/.wallpaper_modified
Binary files differ
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",
diff --git a/config/waybar/configs/[TOP] 0Ja0 b/config/waybar/configs/[TOP] 0-Ja-0
index 98345c32..b5c7a62f 100644
--- a/config/waybar/configs/[TOP] 0Ja0
+++ b/config/waybar/configs/[TOP] 0-Ja-0
@@ -41,7 +41,7 @@
"modules-right": [
"group/laptop",
- "custom/separator#dot-line",
+ "custom/separator#blank",
"group/mobo_drawer",
"custom/separator#line",
"group/audio",
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) {
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage