forked from Shinonome/dots-hyprland
Merge branch 'main' into main
This commit is contained in:
@@ -79,7 +79,7 @@ BodyRectangle {
|
|||||||
id: dayButton
|
id: dayButton
|
||||||
required property var model
|
required property var model
|
||||||
checked: model.today
|
checked: model.today
|
||||||
enabled: hovered || calendarView.scrolling || checked || model.month === calendarView.focusedMonth
|
enabled: hovered || checked || model.month === calendarView.focusedMonth
|
||||||
implicitWidth: calendarView.buttonSize
|
implicitWidth: calendarView.buttonSize
|
||||||
implicitHeight: calendarView.buttonSize
|
implicitHeight: calendarView.buttonSize
|
||||||
radius: height / 2
|
radius: height / 2
|
||||||
|
|||||||
@@ -36,13 +36,13 @@ Singleton {
|
|||||||
property int networkStrength
|
property int networkStrength
|
||||||
property string materialSymbol: root.ethernet
|
property string materialSymbol: root.ethernet
|
||||||
? "lan"
|
? "lan"
|
||||||
: root.wifiEnabled
|
: (root.wifiEnabled && root.wifiStatus === "connected")
|
||||||
? (
|
? (
|
||||||
Network.networkStrength > 83 ? "signal_wifi_4_bar" :
|
(root.active?.strength ?? 0) > 83 ? "signal_wifi_4_bar" :
|
||||||
Network.networkStrength > 67 ? "network_wifi" :
|
(root.active?.strength ?? 0) > 67 ? "network_wifi" :
|
||||||
Network.networkStrength > 50 ? "network_wifi_3_bar" :
|
(root.active?.strength ?? 0) > 50 ? "network_wifi_3_bar" :
|
||||||
Network.networkStrength > 33 ? "network_wifi_2_bar" :
|
(root.active?.strength ?? 0) > 33 ? "network_wifi_2_bar" :
|
||||||
Network.networkStrength > 17 ? "network_wifi_1_bar" :
|
(root.active?.strength ?? 0) > 17 ? "network_wifi_1_bar" :
|
||||||
"signal_wifi_0_bar"
|
"signal_wifi_0_bar"
|
||||||
)
|
)
|
||||||
: (root.wifiStatus === "connecting")
|
: (root.wifiStatus === "connecting")
|
||||||
@@ -233,7 +233,7 @@ Singleton {
|
|||||||
Process {
|
Process {
|
||||||
id: updateNetworkStrength
|
id: updateNetworkStrength
|
||||||
running: true
|
running: true
|
||||||
command: ["sh", "-c", "nmcli -f IN-USE,SIGNAL,SSID device wifi | awk '/^\*/{if (NR!=1) {print $2}}'"]
|
command: ["sh", "-c", "nmcli -f IN-USE,SIGNAL,SSID device wifi | awk '/^\\*/{if (NR!=1) {print $2}}'"]
|
||||||
stdout: SplitParser {
|
stdout: SplitParser {
|
||||||
onRead: data => {
|
onRead: data => {
|
||||||
root.networkStrength = parseInt(data);
|
root.networkStrength = parseInt(data);
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
_commit='db1777c20b936a86528c1095cbcb1ebd92801402'
|
_commit='6e17efab83d3a5ad5d6e59bc08d26095c6660502'
|
||||||
# Useful links:
|
# Useful links:
|
||||||
# https://git.outfoxxed.me/quickshell/quickshell/commits/branch/master
|
# https://git.outfoxxed.me/quickshell/quickshell/commits/branch/master
|
||||||
# https://aur.archlinux.org/packages/quickshell-git
|
# https://aur.archlinux.org/packages/quickshell-git
|
||||||
@@ -52,6 +52,7 @@ makedepends=(
|
|||||||
'ninja'
|
'ninja'
|
||||||
'cmake'
|
'cmake'
|
||||||
'git'
|
'git'
|
||||||
|
'vulkan-headers'
|
||||||
)
|
)
|
||||||
provides=("$_pkgname")
|
provides=("$_pkgname")
|
||||||
conflicts=("$_pkgname")
|
conflicts=("$_pkgname")
|
||||||
|
|||||||
Reference in New Issue
Block a user