Updates
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
packagesPacman=(
|
packagesPacman=(
|
||||||
"hyprland"
|
"hyprland"
|
||||||
|
"hyprpaper"
|
||||||
"xdg-desktop-portal-hyprland"
|
"xdg-desktop-portal-hyprland"
|
||||||
"waybar"
|
"waybar"
|
||||||
"grim"
|
"grim"
|
||||||
|
|||||||
1
.settings/wallpaper-engine.sh
Normal file
1
.settings/wallpaper-engine.sh
Normal file
@@ -0,0 +1 @@
|
|||||||
|
swww
|
||||||
@@ -1 +1 @@
|
|||||||
2.8.3.4
|
2.8.4
|
||||||
@@ -1 +1 @@
|
|||||||
2834
|
2840
|
||||||
@@ -1,3 +1,9 @@
|
|||||||
|
Version 2.8.4
|
||||||
|
https://gitlab.com/stephan-raabe/dotfiles/-/releases/2.8.4
|
||||||
|
--------------------------------------------------------
|
||||||
|
- In the ML4W Dotfiles Settings App you can now switch between the wallpaper applications swww or hyprpaper. In case of issues with the default application swww you can select hyprpaper. The wallpaper application can also be disabled but background images for wlogout, hyprlock and rofi will be generated with the selected wallpaper.
|
||||||
|
PLEASE NOTE: Logout & Login is required after a change.
|
||||||
|
|
||||||
Version 2.8.3.4
|
Version 2.8.3.4
|
||||||
https://gitlab.com/stephan-raabe/dotfiles/-/releases/2.8.3.4
|
https://gitlab.com/stephan-raabe/dotfiles/-/releases/2.8.3.4
|
||||||
--------------------------------------------------------
|
--------------------------------------------------------
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# ML4W Dotfiles 2.8.3.4
|
# ML4W Dotfiles 2.8.4
|
||||||
|
|
||||||
An advanced configuration of Hyprland and Qtile for Arch Linux based distributions. This package includes an installation script to install and setup the required components.
|
An advanced configuration of Hyprland and Qtile for Arch Linux based distributions. This package includes an installation script to install and setup the required components.
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
@@ -26,11 +26,8 @@ exec-once = hypridle
|
|||||||
# Load cliphist history
|
# Load cliphist history
|
||||||
exec-once = wl-paste --watch cliphist store
|
exec-once = wl-paste --watch cliphist store
|
||||||
|
|
||||||
# Initialize swww
|
# Initialize Wallpaper Engine
|
||||||
exec-once = swww init || swww-daemon --format xrgb
|
exec-once = ~/dotfiles/hypr/scripts/init-wallpaper-engine.sh
|
||||||
|
|
||||||
# Load last wallpaper and waybar with pywal colors
|
|
||||||
exec-once = ~/dotfiles/hypr/scripts/wallpaper.sh init
|
|
||||||
|
|
||||||
# Start ML4W Welcome App
|
# Start ML4W Welcome App
|
||||||
exec-once = ~/dotfiles/hypr/scripts/ml4w-welcome-autostart.sh
|
exec-once = ~/dotfiles/hypr/scripts/ml4w-welcome-autostart.sh
|
||||||
|
|||||||
2
hypr/hyprpaper.conf
Normal file
2
hypr/hyprpaper.conf
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
preload = ~/wallpaper/hyprland.jpg
|
||||||
|
wallpaper = ,~/wallpaper/hyprland.jpg
|
||||||
20
hypr/scripts/init-wallpaper-engine.sh
Executable file
20
hypr/scripts/init-wallpaper-engine.sh
Executable file
@@ -0,0 +1,20 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
wallpaper_engine=$(cat $HOME/dotfiles/.settings/wallpaper-engine.sh)
|
||||||
|
if [ "$wallpaper_engine" == "swww" ] ;then
|
||||||
|
# swww
|
||||||
|
echo ":: Using swww"
|
||||||
|
swww init
|
||||||
|
swww-daemon --format xrgb
|
||||||
|
sleep 0.5
|
||||||
|
~/dotfiles/hypr/scripts/wallpaper.sh init
|
||||||
|
elif [ "$wallpaper_engine" == "hyprpaper" ] ;then
|
||||||
|
# hyprpaper
|
||||||
|
echo ":: Using hyprpaper"
|
||||||
|
# hyprpaper
|
||||||
|
sleep 0.5
|
||||||
|
~/dotfiles/hypr/scripts/wallpaper.sh init
|
||||||
|
else
|
||||||
|
echo ":: Wallpaper Engine disabled"
|
||||||
|
~/dotfiles/hypr/scripts/wallpaper.sh init
|
||||||
|
fi
|
||||||
|
|
||||||
@@ -88,12 +88,28 @@ transition_type="wipe"
|
|||||||
# transition_type="outer"
|
# transition_type="outer"
|
||||||
# transition_type="random"
|
# transition_type="random"
|
||||||
|
|
||||||
swww img $wallpaper \
|
wallpaper_engine=$(cat $HOME/dotfiles/.settings/wallpaper-engine.sh)
|
||||||
--transition-bezier .43,1.19,1,.4 \
|
if [ "$wallpaper_engine" == "swww" ] ;then
|
||||||
--transition-fps=60 \
|
# swww
|
||||||
--transition-type=$transition_type \
|
echo ":: Using swww"
|
||||||
--transition-duration=0.7 \
|
swww img $wallpaper \
|
||||||
--transition-pos "$( hyprctl cursorpos )"
|
--transition-bezier .43,1.19,1,.4 \
|
||||||
|
--transition-fps=60 \
|
||||||
|
--transition-type=$transition_type \
|
||||||
|
--transition-duration=0.7 \
|
||||||
|
--transition-pos "$( hyprctl cursorpos )"
|
||||||
|
elif [ "$wallpaper_engine" == "hyprpaper" ] ;then
|
||||||
|
# hyprpaper
|
||||||
|
echo ":: Using hyprpaper"
|
||||||
|
killall hyprpaper
|
||||||
|
echo -n "" > $HOME/dotfiles/hypr/hyprpaper.conf
|
||||||
|
echo "preload = $wallpaper" >> $HOME/dotfiles/hypr/hyprpaper.conf
|
||||||
|
echo "wallpaper = ,$wallpaper" >> $HOME/dotfiles/hypr/hyprpaper.conf
|
||||||
|
echo "splash = false" >> $HOME/dotfiles/hypr/hyprpaper.conf
|
||||||
|
hyprpaper &
|
||||||
|
else
|
||||||
|
echo ":: Wallpaper Engine disabled"
|
||||||
|
fi
|
||||||
|
|
||||||
if [ "$1" == "init" ] ;then
|
if [ "$1" == "init" ] ;then
|
||||||
echo ":: Init"
|
echo ":: Init"
|
||||||
|
|||||||
Reference in New Issue
Block a user