summaryrefslogtreecommitdiff
path: root/bar/Power.qml
blob: f9a74eddfff48c986089b10495f679bce6c1cde8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
import QtQuick
import QtQuick.Layouts

import qs.services as Services
import qs.utils
import qs.config as Config
import qs.components

Item {
    id: root
    RowLayout {
        Item {
            Layout.fillWidth: true
        }
        anchors.fill: parent
        spacing: Config.Bar.resourceIconTextSpacing

        Icons {
            text: Config.Icons.power.shutdown
        }

        Icons {
            text: Config.Icons.power.dpms
        }

        Icons {
            text: Config.Icons.power.lock
        }

        Icons {
            text: Config.Icons.power.suspend
        }

        Icons {
            text: Config.Icons.power.reboot
        }

        Item {
            Layout.fillWidth: true
        }
    }
}