Fixed blurred background for wlogout. Create blurred version with magick

This commit is contained in:
Stephan Raabe 2024-02-27 10:36:51 +01:00
parent ede46d7ef4
commit 950df3d84c
5 changed files with 25 additions and 3 deletions

View File

@ -59,7 +59,7 @@ fi
if [ "$dmsel" == "Install sddm" ] ;then
disman=0
# Try to force the installation of sddm-git
# Try to force the installation of sddm
echo "Install sddm"
yay -S --noconfirm sddm sddm-sugar-candy-git --ask 4

View File

@ -50,6 +50,7 @@ packagesPacman=(
"python-pywal"
"xdg-desktop-portal"
"qalculate-gtk"
"imagemagick"
);
packagesYay=(

View File

@ -131,6 +131,20 @@ Users have reported that Hyprland with dotfiles could be installed successfully
There is no official Hyprland support for Nvidia hardware. However, you might make it work properly following this page.
https://wiki.hyprland.org/Nvidia/
In case you don't see the mouse cursor please add the folling line to your .bashrc
```
WLR_NO_HARDWARE_CURSORS=1
```
Or create a environment variation for nvidia in ~/dotfiles/hypr/conf/environments/nvidia.conf by copying the default.conf and add the line
```
env = WLR_NO_HARDWARE_CURSORS, 1
```
Then select the file in the settings script in system/environment
## Launch Hyprland from tty
The suggested method to start Hyprland is from tty with the command Hyprland bacause login managers (display managers) are not official supported (https://wiki.hyprland.org/Getting-Started/Master-Tutorial/#launching-hyprland)

View File

@ -63,7 +63,7 @@ esac
# Load current pywal color scheme
# -----------------------------------------------------
source "$HOME/.cache/wal/colors.sh"
echo "Wallpaper: $wallpaper"
echo ":: Wallpaper: $wallpaper"
# -----------------------------------------------------
# Write selected wallpaper into .cache files
@ -101,4 +101,8 @@ swww img $wallpaper \
sleep 1
notify-send "Colors and Wallpaper updated" "with image $newwall"
# Create blurred version of new wallaper
magick $wallpaper -blur 0x8 ~/.cache/current_wallpaper_blur
echo ":: Blurred version of wallaper created in ~/.cache/current_wallpaper_blur."
echo "DONE!"

View File

@ -23,10 +23,13 @@ by Stephan Raabe (2023)
font-family: "Fira Sans Semibold", FontAwesome, Roboto, Helvetica, Arial, sans-serif;
background-image: none;
transition: 20ms;
box-shadow: none;
}
window {
background-color: rgba(12, 12, 12, 0.1);
background-image: url("../../.cache/current_wallpaper_blur");
background-position: center;
background-size: cover;
}
button {