aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr
diff options
context:
space:
mode:
authorDon Williams <don.e.williams@gmail.com>2026-01-19 07:57:18 -0500
committerDon Williams <don.e.williams@gmail.com>2026-01-19 07:57:18 -0500
commit5aedcf78f579e7aef6d7309d0b1ea5b4c94f2ca0 (patch)
tree3c7b209ccba7ae60fc8920d1a87ac4a3c311dcf6 /config/hypr
parent5d1bbd7e7ba0ea328f00fc77c3ae2c47c36965d5 (diff)
Changed SDDM wallpaper setting to a dedicated menu item
On branch development Your branch is up to date with 'origin/development'. Changes to be committed: modified: config/hypr/UserScripts/WallpaperEffects.sh modified: config/hypr/UserScripts/WallpaperSelect.sh modified: config/hypr/scripts/Kool_Quick_Settings.sh
Diffstat (limited to 'config/hypr')
-rwxr-xr-xconfig/hypr/UserScripts/WallpaperEffects.sh40
-rwxr-xr-xconfig/hypr/UserScripts/WallpaperSelect.sh44
-rwxr-xr-xconfig/hypr/scripts/Kool_Quick_Settings.sh2
3 files changed, 2 insertions, 84 deletions
diff --git a/config/hypr/UserScripts/WallpaperEffects.sh b/config/hypr/UserScripts/WallpaperEffects.sh
index 89577efa..475969d6 100755
--- a/config/hypr/UserScripts/WallpaperEffects.sh
+++ b/config/hypr/UserScripts/WallpaperEffects.sh
@@ -106,43 +106,3 @@ fi
main
sleep 1
-
-if [[ -n "$choice" ]]; then
- # Resolve SDDM themes directory (standard and NixOS path)
- sddm_themes_dir=""
- if [ -d "/usr/share/sddm/themes" ]; then
- sddm_themes_dir="/usr/share/sddm/themes"
- elif [ -d "/run/current-system/sw/share/sddm/themes" ]; then
- sddm_themes_dir="/run/current-system/sw/share/sddm/themes"
- fi
-
- if [ -n "$sddm_themes_dir" ]; then
- sddm_simple="$sddm_themes_dir/simple_sddm_2"
-
- # Only prompt if theme exists and its Backgrounds directory is writable
- if [ -d "$sddm_simple" ] && [ -w "$sddm_simple/Backgrounds" ]; then
- # Check if yad is running to avoid multiple yad notification
- if pidof yad > /dev/null; then
- killall yad
- fi
-
- if yad --info --text="Set current wallpaper as SDDM background?\n\nNOTE: This only applies to SIMPLE SDDM v2 Theme" \
- --text-align=left \
- --title="SDDM Background" \
- --timeout=5 \
- --timeout-indicator=right \
- --button="yad-yes:0" \
- --button="yad-no:1" \
- ; then
-
- # Check if terminal exists
- if ! command -v "$terminal" &>/dev/null; then
- notify-send -i "$iDIR/ja.png" "Missing $terminal" "Install $terminal to enable setting of wallpaper background"
- exit 1
- fi
-
- exec "$SCRIPTSDIR/sddm_wallpaper.sh" --effects
- fi
- fi
- fi
-fi
diff --git a/config/hypr/UserScripts/WallpaperSelect.sh b/config/hypr/UserScripts/WallpaperSelect.sh
index 3fd3b858..316a7cd4 100755
--- a/config/hypr/UserScripts/WallpaperSelect.sh
+++ b/config/hypr/UserScripts/WallpaperSelect.sh
@@ -99,49 +99,6 @@ menu() {
done
}
-# Offer SDDM Simple Wallpaper Option (only for non-video wallpapers)
-set_sddm_wallpaper() {
- sleep 1
-
- # Resolve SDDM themes directory (standard and NixOS path)
- local sddm_themes_dir=""
- if [ -d "/usr/share/sddm/themes" ]; then
- sddm_themes_dir="/usr/share/sddm/themes"
- elif [ -d "/run/current-system/sw/share/sddm/themes" ]; then
- sddm_themes_dir="/run/current-system/sw/share/sddm/themes"
- fi
-
- [ -z "$sddm_themes_dir" ] && return 0
-
- local sddm_simple="$sddm_themes_dir/simple_sddm_2"
-
- # Only prompt if theme exists and its Backgrounds directory is writable
- if [ -d "$sddm_simple" ] && [ -w "$sddm_simple/Backgrounds" ]; then
-
- # Check if yad is running to avoid multiple notifications
- if pidof yad >/dev/null; then
- killall yad
- fi
-
- if yad --info --text="Set current wallpaper as SDDM background?\n\nNOTE: This only applies to SIMPLE SDDM v2 Theme" \
- --text-align=left \
- --title="SDDM Background" \
- --timeout=5 \
- --timeout-indicator=right \
- --button="yes:0" \
- --button="no:1"; then
-
- # Check if terminal exists
- if ! command -v "$terminal" &>/dev/null; then
- notify-send -i "$iDIR/error.png" "Missing $terminal" "Install $terminal to enable setting of wallpaper background"
- exit 1
- fi
-
- exec "$SCRIPTSDIR/sddm_wallpaper.sh" --normal
-
- fi
- fi
-}
modify_startup_config() {
local selected_file="$1"
@@ -187,7 +144,6 @@ apply_image_wallpaper() {
"$SCRIPTSDIR/Refresh.sh"
sleep 1
- set_sddm_wallpaper
}
apply_video_wallpaper() {
diff --git a/config/hypr/scripts/Kool_Quick_Settings.sh b/config/hypr/scripts/Kool_Quick_Settings.sh
index 2437bd11..0cd58f48 100755
--- a/config/hypr/scripts/Kool_Quick_Settings.sh
+++ b/config/hypr/scripts/Kool_Quick_Settings.sh
@@ -191,6 +191,7 @@ Edit System Default Startup Apps
Edit System Default Window Rules
Edit System Default Settings
--- UTILITIES ---
+Set SDDM Wallpaper
Choose Kitty Terminal Theme
Configure Monitors (nwg-displays)
Configure Workspace Rules (nwg-displays)
@@ -226,6 +227,7 @@ main() {
"Edit System Default Startup Apps") file="$configs/Startup_Apps.conf" ;;
"Edit System Default Window Rules") file="$configs/WindowRules.conf" ;;
"Edit System Default Settings") file="$configs/SystemSettings.conf" ;;
+ "Set SDDM Wallpaper") $scriptsDir/sddm_wallpaper.sh --normal ;;
"Choose Kitty Terminal Theme") $scriptsDir/Kitty_themes.sh ;;
"Configure Monitors (nwg-displays)")
if ! command -v nwg-displays &>/dev/null; then
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage