1
0
Fork 0

[Launcher] Add DPMS stuff for now.

This commit is contained in:
Kitteh 2018-10-23 23:56:24 +01:00
parent 9d695e2a3f
commit 33d616ca88
2 changed files with 10 additions and 5 deletions

View file

@ -40,6 +40,11 @@ int main( int argc, char *argv[] )
} }
} }
QProcess dpms;
dpms.start("xset", QStringList() << "-dpms");
setenv("QT_QUICK_CONTROLS_STYLE","Desktop",1); setenv("QT_QUICK_CONTROLS_STYLE","Desktop",1);
QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling); QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling);

View file

@ -323,8 +323,8 @@ ApplicationWindow {
} }
background: Rectangle { background: Rectangle {
implicitWidth: 14 implicitWidth: 10
implicitHeight: 14 implicitHeight: 10
opacity: 1 opacity: 1
color: menuBarItem.highlighted ? "#c0c0f0" : "transparent" color: menuBarItem.highlighted ? "#c0c0f0" : "transparent"
} }
@ -332,7 +332,7 @@ ApplicationWindow {
background: Rectangle { background: Rectangle {
implicitWidth: parent.width implicitWidth: parent.width
implicitHeight: 14 implicitHeight: 10
color: "black" color: "black"
opacity: 0.6 opacity: 0.6
} }
@ -773,9 +773,9 @@ ApplicationWindow {
anchors.left: volumeBar.right anchors.left: volumeBar.right
anchors.top: parent.top anchors.top: parent.top
anchors.bottom: parent.bottom anchors.bottom: parent.bottom
padding: 5 padding: 2
font.family: notoFont.name font.family: notoFont.name
font.pixelSize: 12 font.pixelSize: 14
verticalAlignment: Text.AlignVCenter verticalAlignment: Text.AlignVCenter
renderType: Text.NativeRendering renderType: Text.NativeRendering
} }