Changeset View
Changeset View
Standalone View
Standalone View
package/contents/ui/main.qml
Context not available. | |||||
67 | // - commands | 67 | // - commands | ||
---|---|---|---|---|---|
68 | property string redshiftCommand: 'redshift' + locationCmdPart + modeCmdPart + ' -t ' + dayTemperature + ':' + nightTemperature + brightnessAndGamma + (smoothTransitions ? '' : ' -r') | 68 | property string redshiftCommand: 'redshift' + locationCmdPart + modeCmdPart + ' -t ' + dayTemperature + ':' + nightTemperature + brightnessAndGamma + (smoothTransitions ? '' : ' -r') | ||
69 | property string redshiftOneTimeBrightnessAndGamma: ' -b ' + (currentBrightness*0.01).toFixed(2) + ':' + (currentBrightness*0.01).toFixed(2) + ' -g ' + gammaR + ':' + gammaG + ':' + gammaB | 69 | property string redshiftOneTimeBrightnessAndGamma: ' -b ' + (currentBrightness*0.01).toFixed(2) + ':' + (currentBrightness*0.01).toFixed(2) + ' -g ' + gammaR + ':' + gammaG + ':' + gammaB | ||
70 | property string redshiftOneTimeCommand: 'redshift -O ' + manualTemperature + redshiftOneTimeBrightnessAndGamma + ' -r' | 70 | property string redshiftOneTimeCommand: 'redshift -P -O ' + manualTemperature + redshiftOneTimeBrightnessAndGamma + ' -r' | ||
71 | property string redshiftPrintCommand: 'LANG=C ' + redshiftCommand + ' -p' | 71 | property string redshiftPrintCommand: 'LANG=C ' + redshiftCommand + ' -p' | ||
72 | 72 | | |||
73 | property bool inTray: (plasmoid.parent === null || plasmoid.parent.objectName === 'taskItemContainer') | 73 | property bool inTray: (plasmoid.parent === null || plasmoid.parent.objectName === 'taskItemContainer') | ||
Context not available. |