summaryrefslogtreecommitdiff
path: root/accounts/gkleen@sif/shell/quickshell
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2025-08-29 23:06:55 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2025-08-29 23:06:55 +0200
commitc3a8a171734bfeced58f4611365e85a6daed7db9 (patch)
tree235296a43af10ce96b5dd74e0523e59f4c1a8b12 /accounts/gkleen@sif/shell/quickshell
parent218ac55d86ee49d151c0ba2dfbca6da104c66703 (diff)
downloadnixos-c3a8a171734bfeced58f4611365e85a6daed7db9.tar
nixos-c3a8a171734bfeced58f4611365e85a6daed7db9.tar.gz
nixos-c3a8a171734bfeced58f4611365e85a6daed7db9.tar.bz2
nixos-c3a8a171734bfeced58f4611365e85a6daed7db9.tar.xz
nixos-c3a8a171734bfeced58f4611365e85a6daed7db9.zip
Diffstat (limited to 'accounts/gkleen@sif/shell/quickshell')
-rw-r--r--accounts/gkleen@sif/shell/quickshell/Bar.qml81
-rw-r--r--accounts/gkleen@sif/shell/quickshell/shell.qml13
2 files changed, 94 insertions, 0 deletions
diff --git a/accounts/gkleen@sif/shell/quickshell/Bar.qml b/accounts/gkleen@sif/shell/quickshell/Bar.qml
new file mode 100644
index 00000000..b7235a61
--- /dev/null
+++ b/accounts/gkleen@sif/shell/quickshell/Bar.qml
@@ -0,0 +1,81 @@
1import Quickshell
2import Quickshell.Io
3import Custom as Custom
4import QtQuick
5
6
7PanelWindow {
8 property var modelData
9
10 anchors {
11 bottom: true
12 left: true
13 right: true
14 }
15 margins {
16 left: 26 + 8
17 right: 26 + 8
18 }
19
20 screen: modelData
21 implicitHeight: 21
22 color: Qt.rgba(0, 0, 0, 0.66)
23
24 Row {
25 id: left
26
27 height: parent.height
28 anchors.left: parent.left
29 anchors.leftMargin: 8
30 anchors.verticalCenter: parent.verticalCenter
31 spacing: 5
32
33 Text {
34 color: "white"
35 anchors.verticalCenter: parent.verticalCenter
36 text: "left"
37 }
38 }
39
40 Row {
41 id: center
42
43 height: parent.height
44 anchors.centerIn: parent
45 spacing: 5
46
47 Text {
48 color: "white"
49 anchors.verticalCenter: parent.verticalCenter
50 text: "center"
51 }
52 }
53
54 Row {
55 id: right
56
57 height: parent.height
58 anchors.right: parent.right
59 anchors.rightMargin: 8
60 anchors.verticalCenter: parent.verticalCenter
61 spacing: 5
62
63 Text {
64 id: clock
65 color: "white"
66
67 anchors.verticalCenter: parent.verticalCenter
68
69 Custom.Chrono {
70 id: chrono
71 format: "W{0:%V-%u} {0:%F} {0:%H:%M:%S%Ez}"
72 }
73
74 text: chrono.date
75
76 font.pointSize: 10
77 font.family: "Fira Sans"
78 font.features: { "tnum": 1 }
79 }
80 }
81} \ No newline at end of file
diff --git a/accounts/gkleen@sif/shell/quickshell/shell.qml b/accounts/gkleen@sif/shell/quickshell/shell.qml
new file mode 100644
index 00000000..35fe5344
--- /dev/null
+++ b/accounts/gkleen@sif/shell/quickshell/shell.qml
@@ -0,0 +1,13 @@
1import Quickshell
2
3ShellRoot {
4 settings.watchFiles: false
5
6 Variants {
7 model: Quickshell.screens
8
9 delegate: Bar {
10 modelData: item
11 }
12 }
13}