Browse Source

Merge pull request #76 from JaKooLit/Development

Development
pull/77/head^2
Ja.KooLit 2 years ago committed by GitHub
parent
commit
a9d868a615
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      config/hypr/initial-boot.sh
  2. 5
      config/hypr/scripts/DarkLight.sh
  3. BIN
      wallpapers/CuteCat.png
  4. BIN
      wallpapers/pastel-window.png

8
config/hypr/initial-boot.sh

@ -7,10 +7,10 @@
# Variables
scriptsDir=$HOME/.config/hypr/scripts
wallpaper=$HOME/Pictures/wallpapers/anime-girl-abyss.png
wallpaper=$HOME/Pictures/wallpapers/CuteCat.png
swww="swww img"
effect="--transition-bezier .43,1.19,1,.4 --transition-fps 60 --transition-type grow --transition-pos 0.925,0.977 --transition-duration 2"
effect="--transition-bezier .43,1.19,1,.4 --transition-fps 30 --transition-type grow --transition-pos 0.925,0.977 --transition-duration 2"
# Check if a marker file exists.
if [ ! -f ~/.config/hypr/.initial_startup_done ]; then
@ -30,8 +30,8 @@ if [ ! -f ~/.config/hypr/.initial_startup_done ]; then
"$scriptsDir/Refresh.sh" > /dev/null 2>&1 &
# initiate GTK dark mode and apply icon and cursor theme
gsettings set org.gnome.desktop.interface gtk-theme Tokyonight-Dark-B > /dev/null 2>&1 &
gsettings set org.gnome.desktop.interface icon-theme TokyoNight-SE > /dev/null 2>&1 &
gsettings set org.gnome.desktop.interface gtk-theme Tokyonight-Dark-BL-LB > /dev/null 2>&1 &
gsettings set org.gnome.desktop.interface icon-theme TokyoNight-Dark > /dev/null 2>&1 &
gsettings set org.gnome.desktop.interface cursor-theme Bibata-Modern-Ice > /dev/null 2>&1 &
gsettings set org.gnome.desktop.interface cursor-size 24 > /dev/null 2>&1 &

5
config/hypr/scripts/DarkLight.sh

@ -73,14 +73,15 @@ fi
# Set Dynamic Wallpaper for Dark Mode
if [ "$next_mode" = "Dark" ]; then
next_wallpaper="$(find "${dark_wallpapers}" -type f -iname "*.jpg" -print0 | shuf -n1 -z | xargs -0)"
next_wallpaper="$(find "${dark_wallpapers}" -type f \( -iname "*.jpg" -o -iname "*.png" \) -print0 | shuf -n1 -z | xargs -0)"
fi
# Set Dynamic Wallpaper for Light Mode
if [ "$next_mode" = "Light" ]; then
next_wallpaper="$(find "${light_wallpapers}" -type f -iname "*.jpg" -print0 | shuf -n1 -z | xargs -0)"
next_wallpaper="$(find "${light_wallpapers}" -type f \( -iname "*.jpg" -o -iname "*.png" \) -print0 | shuf -n1 -z | xargs -0)"
fi
$swww "${next_wallpaper}" $effect
# This is a referrence point for next cycle

BIN
wallpapers/CuteCat.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.9 MiB

BIN
wallpapers/pastel-window.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 MiB

Loading…
Cancel
Save