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.

  • kanera@feddit.cl
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    6 hours ago

    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.

  • oshu@lemmy.world
    link
    fedilink
    arrow-up
    5
    ·
    1 day ago

    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.

  • lad@programming.dev
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 day ago

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