[Help] display managers with transparent backgrounds, showing the desktop itself?

I want a display manager that shows the desktop as the background, instead of a background image or video. I'm thinking of auto-logging in on boot, and adding another startup command to Hyprland to lock the desktop and show the display manger. My searches didn't yield anything. The closest I could find is hyprlock which blurs the desktop, but that's just a lock screen & not a proper display manager.

7 points · 4 comments · view on lemmy.world

4 Comments

oshu@lemmy.world · 5 pts · 281d

what you are asking for doesn't really make sense.

a display manager is for running when no user is logged in. its purpose is to log in and start your session. thats why they can't show a desktop as a background because ot isn't running yet. once you log in the display manager quits because its job is done.

kanera@feddit.cl · 3 pts · 280d

u could use an custom bash file that screenshots ur desktops, blurs it, and then sources it as ur lockscreen from a config file, in bash it could go:

#!/usr/bin/env bash

bg=~/.lockscreen.png
grim -o $bg
convert $bg -blur 0x8 $bg 
hyprlock
rm $bg

havent tried it yet, but as long as ur sourcing the ~/.lockscreen.png on ur config file, or u launch ur locking program with an argument to use whatever u used as a background (and that way u can use mktmp instead of throwing it on ur home folder) it should work. Just try the commands b4 executing it since i wrote this from my bed on a saturday and my brain is half working.

i just used hyprlock as an example, since u said ur using hyprland, but u can use whatever ofc, I myself use swaylock.

somegeek@programming.dev · 1 pts · 280d

Youre looking for a lockscreen. like people have suggested, id say the sweetest way is writing your own simple script. For example, take a look at my lockscreen script to get a feeling of things.

your can take a screenshot of the screen and blur it and set it as background each time.

https://codeberg.org/alirezaalavi/dotfiles/src/branch/main/sway-config/.config/scripts/swaylock-custom

sukhmel@programming.dev · 1 pts · 281d

You may screenshot the desktop after login and use it as a background, but I don't think it will be exactly the same