all repos — quickshell @ 3cda769047c1f6a66dbf5f626b2cb13ef46b3a8e

A desert-witch desktop shell

0
trickyni trickyniv56@gmail.com
Thu, 25 Sep 2025 23:47:42 +0300
commit

3cda769047c1f6a66dbf5f626b2cb13ef46b3a8e

parent

10814806087bf6d73aa28efa43c0b1b113b1debc

3 files changed, 49 insertions(+), 17 deletions(-)

jump to
M Icons.qmlIcons.qml

@@ -1,4 +1,3 @@

-//Icons.qml pragma Singleton import QtQuick import Quickshell

@@ -24,11 +23,11 @@ "low": "",

"high": "", } property var network: { - "no_bar": "󰣾", - "one_bar": "󰣴", - "two_bar": "󰣶", - "three_bar": "󰣸", - "full_bar": "󰣺", + "bar0": "󰣾", + "bar1": "󰣴", + "bar2": "󰣶", + "bar3": "󰣸", + "bar4": "󰣺", "crossed_full": "󰣼", "crossed_empty": "󰣽", "one_bar_alert": "󰣵",
M README.mdREADME.md

@@ -10,7 +10,7 @@ - make size changes through native function rather than variable changes

Additions: - Battery - Device blacklist - - Network + - Network strength indicator - resize indicator - zen mode - cam/mic indicator
M bar/modules/Network.qmlbar/modules/Network.qml

@@ -1,17 +1,50 @@

-//Network.qml +// Sunset.qml import QtQuick import Quickshell +import Quickshell.Io import QtQuick.Layouts -import Quickshell.Services.UPower -import "../.." +import "../../" import "../classes" as Class -RowLayout { - spacing: 2 - Class.BottombarIcon { - text: Icons.network.crossed_empty + " MI_10023" - color: Resources.palette.grey - font.family: font_jetbrains.name - anchors.centerIn: parent +Class.RightRowLayout { + Class.TopbarText { + id: network_name + Process { + id: network_name_script + command: ["iwgetid","-r"] + workingDirectory: Quickshell.shellDir + running: true + stdout: StdioCollector { + onStreamFinished: network_name.text = this.text.trim() + } + } + + Timer { + interval: 1000 + running: true + repeat: true + onTriggered: network_name_script.running = true + } + } + Class.TopbarIcon { + id: wifi_strength + font.pixelSize: 9 + Process { + id: wifi_strength_script + command: ["bar/scripts/wifi_strength.sh"] + workingDirectory: Quickshell.shellDir + running: true + stdout: StdioCollector { + onStreamFinished: wifi_strength.text = Icons.network.bar0 + // onStreamFinished: wifi_strength.text = Icons.network.bar[this.text] + } + } + + Timer { + interval: 1000 + running: true + repeat: true + onTriggered: wifi_strength_script.running = true + } } }