Closed dilinger closed 3 years ago
While debugging a separate issue, I noticed that qredshift is passing the -m argument to redshift multiple times. I added the following code to redShiftUpdate():
this.doCommand(cmd); qLOG('doCommand(' + cmd + ')');
In the log, I see:
Cjs-Message: 21:45:26.322: JS LOG: [LookingGlass/warning] "doCommand(redshift -c /home/dilinger/.local/share/cinnamon/applets/qredshift@quintao/assets/base.conf -P -r -v -o -m randr -m randr -l 40.7229:-73.8473 -t 5900:1956 -b 0.87:0.87 -g 1 )"
You can see the '-m randr -m randr' duplicate arguments. Minor bug, but probably worth fixing.
This appears to be fixed with 1.5.3:
Cjs-Message: 19:33:39.024: JS LOG: [LookingGlass/warning] "doCommand(redshift -P -r -v -o -m randr -l 40.7229:-73.8473 -t 5900:2982 -b 0.89:0.89 -g 1 )"
While debugging a separate issue, I noticed that qredshift is passing the -m argument to redshift multiple times. I added the following code to redShiftUpdate():
this.doCommand(cmd); qLOG('doCommand(' + cmd + ')');
In the log, I see:
Cjs-Message: 21:45:26.322: JS LOG: [LookingGlass/warning] "doCommand(redshift -c /home/dilinger/.local/share/cinnamon/applets/qredshift@quintao/assets/base.conf -P -r -v -o -m randr -m randr -l 40.7229:-73.8473 -t 5900:1956 -b 0.87:0.87 -g 1 )"
You can see the '-m randr -m randr' duplicate arguments. Minor bug, but probably worth fixing.