hhannine / superpaper

A cross-platform multi monitor wallpaper manager.
MIT License
1.11k stars 46 forks source link

sets profile from cli doesn't work. #140

Open alimulap opened 1 year ago

alimulap commented 1 year ago

Describe the bug I made a profile from the GUI, if i just apply it from GUI it works file, however if run from command

superpaper --profile desktopbg

it does not change the background. I've checked the temp folder and inside the "running profile" file i see "desktopbg" but the wallpaper did not changed

To Reproduce Steps to reproduce the behavior: (I put the superpaper folder to PATH environment because i don't know how to do it properly)

  1. Install superpaper
  2. Put the folder to the PATH environtment
  3. Make a profile named desktopbg
  4. Run "superpaper --profile desktopbg"

Expected behavior I am expecting the background to change after i run the command. And if i did something wrong i want to be able to see the error or know what should i do

Desktop (please complete the following information):

Commenter25 commented 10 months ago

Can confirm this issue. If I enter an incorrect profile name, it shows all the valid profiles and exits. Entering a correct one, the program starts proper, but the GUI shows no profile selected and it makes no changes.

Commenter25 commented 10 months ago

This appears to have been introduced in commit https://github.com/hhannine/superpaper/commit/c4a60ba8e5f3790dd1ef6a8144899addafffcd80. Reverting to https://github.com/hhannine/superpaper/commit/a4342af0fc2745657b22d8d8789577c46563aaa4 works just fine.