diff options
| author | Aargh Rai <aargh.rai+git@gmail.com> | 2026-08-06 00:29:36 +0530 |
|---|---|---|
| committer | Aargh Rai <aargh.rai+git@gmail.com> | 2026-08-06 00:29:36 +0530 |
| commit | 91a5f9790cfd4a98ee940633694fb512ecf24942 (patch) | |
| tree | b20bdd22e304234b6893e20d0ca5fbfd042f2184 /quickshell/items | |
| parent | ced774e19c36fb3b0b33a3846e7c9cf874b0c206 (diff) | |
i3 > hyprland & x11 > wayland
Diffstat (limited to 'quickshell/items')
| -rw-r--r-- | quickshell/items/DataBus.qml | 23 | ||||
| -rw-r--r-- | quickshell/items/Electrons.qml | 27 | ||||
| -rw-r--r-- | quickshell/items/Latch.qml | 23 | ||||
| -rw-r--r-- | quickshell/items/LowEnergy.qml | 28 | ||||
| -rw-r--r-- | quickshell/items/Photons.qml | 32 | ||||
| -rw-r--r-- | quickshell/items/Radiation.qml | 23 | ||||
| -rw-r--r-- | quickshell/items/Radio.qml | 29 | ||||
| -rw-r--r-- | quickshell/items/Spin.qml | 45 | ||||
| -rw-r--r-- | quickshell/items/Waves.qml | 23 | ||||
| -rw-r--r-- | quickshell/items/Workspace.qml | 22 |
10 files changed, 0 insertions, 275 deletions
diff --git a/quickshell/items/DataBus.qml b/quickshell/items/DataBus.qml deleted file mode 100644 index ef9f952..0000000 --- a/quickshell/items/DataBus.qml +++ /dev/null @@ -1,23 +0,0 @@ -import QtQuick -import QtQuick.Layouts - -RowLayout { - spacing: 0 - Text { - text: " Data Bus:" - color: shellRoot.white - font { - family: shellRoot.fontFamily - pixelSize: shellRoot.fontSize - } - } - Text { - text: cpuUsage - color: shellRoot.orange - font { - family: shellRoot.fontFamily - pixelSize: shellRoot.fontSize - bold: true - } - } -} diff --git a/quickshell/items/Electrons.qml b/quickshell/items/Electrons.qml deleted file mode 100644 index f75c126..0000000 --- a/quickshell/items/Electrons.qml +++ /dev/null @@ -1,27 +0,0 @@ -import QtQuick -import QtQuick.Layouts - -RowLayout { - spacing: 0 - Text { - text: " Electrons:" - color: shellRoot.white - font { - family: shellRoot.fontFamily - pixelSize: shellRoot.fontSize - } - } - Text { - text: (batteryCharging ? ("AC/DC(" + battery + ")") : battery) - color: (battery <= redBatteryPoint) ? shellRoot.red : ((battery <= orangeBatteryPoint) ? shellRoot.orange : shellRoot.green) - font { - family: shellRoot.fontFamily - pixelSize: shellRoot.fontSize - bold: true - } - } - MouseArea { - anchors.fill: parent - onClicked: shellRoot.batteryInfo = !shellRoot.batteryModeConfig - } -} diff --git a/quickshell/items/Latch.qml b/quickshell/items/Latch.qml deleted file mode 100644 index 5cc6487..0000000 --- a/quickshell/items/Latch.qml +++ /dev/null @@ -1,23 +0,0 @@ -import QtQuick -import QtQuick.Layouts - -RowLayout { - spacing: 0 - Text { - text: " Latch:" - color: shellRoot.white - font { - family: shellRoot.fontFamily - pixelSize: shellRoot.fontSize - } - } - Text { - text: memUsage - color: shellRoot.orange - font { - family: shellRoot.fontFamily - pixelSize: shellRoot.fontSize - bold: true - } - } -} diff --git a/quickshell/items/LowEnergy.qml b/quickshell/items/LowEnergy.qml deleted file mode 100644 index bfd33ab..0000000 --- a/quickshell/items/LowEnergy.qml +++ /dev/null @@ -1,28 +0,0 @@ -import QtQuick -import QtQuick.Layouts - -RowLayout { - spacing: 0 - opacity: !shellRoot.dnd - Text { - text: " Low Energy:" - color: shellRoot.white - font { - family: shellRoot.fontFamily - pixelSize: shellRoot.fontSize - } - } - Text { - text: bluetoothName - color: bluetoothName == "Offline" ? shellRoot.red : shellRoot.green - font { - family: shellRoot.fontFamily - pixelSize: shellRoot.fontSize - bold: true - } - } - MouseArea { - anchors.fill: parent - onClicked: bluetoothManagerProc.running = true - } -} diff --git a/quickshell/items/Photons.qml b/quickshell/items/Photons.qml deleted file mode 100644 index 0ba94ee..0000000 --- a/quickshell/items/Photons.qml +++ /dev/null @@ -1,32 +0,0 @@ -import QtQuick -import QtQuick.Layouts - -RowLayout { - spacing: 0 - Text { - text: " Photons:" - color: shellRoot.white - font { - family: shellRoot.fontFamily - pixelSize: shellRoot.fontSize - } - } - Text { - text: brightness - color: shellRoot.orange - font { - family: shellRoot.fontFamily - pixelSize: shellRoot.fontSize - bold: true - } - } - Text { - text: "(" + temperature + "K)" - color: shellRoot.red - font { - family: shellRoot.fontFamily - pixelSize: shellRoot.fontSize - bold: true - } - } -} diff --git a/quickshell/items/Radiation.qml b/quickshell/items/Radiation.qml deleted file mode 100644 index e2a6c09..0000000 --- a/quickshell/items/Radiation.qml +++ /dev/null @@ -1,23 +0,0 @@ -import QtQuick -import QtQuick.Layouts - -RowLayout { - spacing: 0 - Text { - text: " Radiation:" - color: shellRoot.white - font { - family: shellRoot.fontFamily - pixelSize: shellRoot.fontSize - } - } - Text { - text: cpu_temperature + "K" - color: shellRoot.orange - font { - family: shellRoot.fontFamily - pixelSize: shellRoot.fontSize - bold: true - } - } -} diff --git a/quickshell/items/Radio.qml b/quickshell/items/Radio.qml deleted file mode 100644 index 77e542e..0000000 --- a/quickshell/items/Radio.qml +++ /dev/null @@ -1,29 +0,0 @@ -import QtQuick -import QtQuick.Layouts - -RowLayout { - spacing: 0 - opacity: !shellRoot.dnd - - Text { - text: " Radio:" - color: shellRoot.white - font { - family: shellRoot.fontFamily - pixelSize: shellRoot.fontSize - } - } - Text { - text: wifiName - color: wifiName == "Offline" ? shellRoot.red : shellRoot.green - font { - family: shellRoot.fontFamily - pixelSize: shellRoot.fontSize - bold: true - } - } - MouseArea { - anchors.fill: parent - onClicked: networkManagerProc.running = true - } -} diff --git a/quickshell/items/Spin.qml b/quickshell/items/Spin.qml deleted file mode 100644 index 72e6105..0000000 --- a/quickshell/items/Spin.qml +++ /dev/null @@ -1,45 +0,0 @@ -import QtQuick -import QtQuick.Layouts - -RowLayout { - spacing: 0 - Text { - text: " Spin:" - color: shellRoot.white - font { - family: shellRoot.fontFamily - pixelSize: shellRoot.fontSize - } - } - Text { - property var formatMode: "HH:mm:ss" - - id: clock - text: Qt.formatDateTime(new Date(), clock.formatMode) - color: shellRoot.purple - font { - family: shellRoot.fontFamily - pixelSize: shellRoot.fontSize - bold: true - } - - Timer { - interval: 1000 - running: true - repeat: true - onTriggered: clock.text = Qt.formatDateTime(new Date(), clock.formatMode) - } - - MouseArea { - anchors.fill: parent - onClicked: { - if (clock.formatMode === "HH:mm:ss") { - clock.formatMode = "yyyy/MM/dd, dddd" - } else { - clock.formatMode = "HH:mm:ss" - } - clock.text = Qt.formatDateTime(new Date(), clock.formatMode) - } - } - } -} diff --git a/quickshell/items/Waves.qml b/quickshell/items/Waves.qml deleted file mode 100644 index f8c0359..0000000 --- a/quickshell/items/Waves.qml +++ /dev/null @@ -1,23 +0,0 @@ -import QtQuick -import QtQuick.Layouts - -RowLayout { - spacing: 0 - Text { - text: " Waves:" - color: shellRoot.white - font { - family: shellRoot.fontFamily - pixelSize: shellRoot.fontSize - } - } - Text { - text: volume - color: volume_muted ? shellRoot.red : shellRoot.green - font { - family: shellRoot.fontFamily - pixelSize: shellRoot.fontSize - bold: true - } - } -} diff --git a/quickshell/items/Workspace.qml b/quickshell/items/Workspace.qml deleted file mode 100644 index f793850..0000000 --- a/quickshell/items/Workspace.qml +++ /dev/null @@ -1,22 +0,0 @@ -import QtQuick -import Quickshell.Hyprland - -Repeater { - model: 5 - - Text { - property bool isActive: Hyprland.focusedWorkspace?.id === (index + 1) - - text: index + 1 - color: isActive ? shellRoot.green : shellRoot.white - font { - pixelSize: shellRoot.fontSize; - bold: true; - } - - MouseArea { - anchors.fill: parent - onClicked: Hyprland.dispatch("workspace " + (index + 1)) - } - } -} |
