Compare commits

..

No commits in common. "3dc6111825c3bd6be4b80ba553f78a33f8130d7a" and "a2065bff51155edb20d0c0895f2dda88897bae1d" have entirely different histories.

13 changed files with 22 additions and 22 deletions

View file

@ -13,8 +13,8 @@ Row {
M.BarIcon { M.BarIcon {
icon: { icon: {
if (root.charging) return "\uDB80\uDC84"; if (root.charging) return "";
const icons = ["\uDB80\uDC8E", "\uDB80\uDC7A", "\uDB80\uDC7B", "\uDB80\uDC7C", "\uDB80\uDC7D", "\uDB80\uDC7E", "\uDB80\uDC7F", "\uDB80\uDC80", "\uDB80\uDC81", "\uDB80\uDC82", "\uDB85\uDFE2"]; const icons = ["󰂎", "󰁺", "󰁻", "󰁼", "󰁽", "󰁾", "󰁿", "󰂀", "󰂁", "󰂂", "󱟢"];
return icons[Math.min(10, Math.floor(root.pct / 10))]; return icons[Math.min(10, Math.floor(root.pct / 10))];
} }
color: root.pct < 15 ? M.Theme.base08 : M.Theme.base05 color: root.pct < 15 ? M.Theme.base08 : M.Theme.base05

View file

@ -30,7 +30,7 @@ Row {
M.BarIcon { M.BarIcon {
visible: root.status === "connected" visible: root.status === "connected"
icon: "\uF294" icon: ""
anchors.verticalCenter: parent.verticalCenter anchors.verticalCenter: parent.verticalCenter
} }
Text { Text {

View file

@ -53,7 +53,7 @@ Row {
} }
M.BarIcon { M.BarIcon {
icon: "\uF2DB" icon: ""
anchors.verticalCenter: parent.verticalCenter anchors.verticalCenter: parent.verticalCenter
} }
Text { Text {

View file

@ -32,7 +32,7 @@ Row {
} }
M.BarIcon { M.BarIcon {
icon: "\uF0C9" icon: ""
anchors.verticalCenter: parent.verticalCenter anchors.verticalCenter: parent.verticalCenter
} }
Text { Text {

View file

@ -7,7 +7,7 @@ M.BarIcon {
property bool active: false property bool active: false
icon: root.active ? "\uF06E" : "\uF070" icon: root.active ? "" : ""
Process { Process {
id: toggle id: toggle

View file

@ -32,7 +32,7 @@ Row {
} }
M.BarIcon { M.BarIcon {
icon: "\uEFC5" icon: ""
anchors.verticalCenter: parent.verticalCenter anchors.verticalCenter: parent.verticalCenter
} }
Text { Text {

View file

@ -11,7 +11,7 @@ Row {
readonly property bool playing: player?.playbackState === MprisPlaybackState.Playing readonly property bool playing: player?.playbackState === MprisPlaybackState.Playing
M.BarIcon { M.BarIcon {
icon: root.playing ? "\uF04B" : (root.player?.playbackState === MprisPlaybackState.Paused ? "\uDB80\uDFE4" : "\uDB81\uDCDB") icon: root.playing ? "" : (root.player?.playbackState === MprisPlaybackState.Paused ? "󰏤" : "󰓛")
anchors.verticalCenter: parent.verticalCenter anchors.verticalCenter: parent.verticalCenter
} }
M.BarLabel { M.BarLabel {

View file

@ -45,12 +45,12 @@ Row {
M.BarIcon { M.BarIcon {
icon: { icon: {
if (root.state === "wifi") if (root.state === "wifi")
return "\uF1EB"; return "";
if (root.state === "eth") if (root.state === "eth")
return "\uDB80\uDE00"; return "󰈀";
if (root.state === "linked") if (root.state === "linked")
return "\uDB85\uDE16"; return "󱘖";
return "\uDB82\uDCFD"; return "󰣽";
} }
anchors.verticalCenter: parent.verticalCenter anchors.verticalCenter: parent.verticalCenter
} }

View file

@ -30,9 +30,9 @@ Row {
M.BarIcon { M.BarIcon {
icon: { icon: {
if (root.inhibited) return root.count > 0 ? "\uDB80\uDC9B" : "\uDB82\uDE91"; if (root.inhibited) return root.count > 0 ? "󰂛" : "󰪑";
if (root.dnd) return root.count > 0 ? "\uDB80\uDCA0" : "\uDB82\uDE93"; if (root.dnd) return root.count > 0 ? "󰂠" : "󰪓";
return root.count > 0 ? "\uDB84\uDD6B" : "\uDB80\uDC9C"; return root.count > 0 ? "󱅫" : "󰂜";
} }
anchors.verticalCenter: parent.verticalCenter anchors.verticalCenter: parent.verticalCenter
} }

View file

@ -8,10 +8,10 @@ M.BarIcon {
property string profile: "" property string profile: ""
icon: { icon: {
if (root.profile === "performance") return "\uF0E7"; if (root.profile === "performance") return "";
if (root.profile === "power-saver") return "\uF06C"; if (root.profile === "power-saver") return "";
if (root.profile === "balanced") return "\uF24E"; if (root.profile === "balanced") return "";
return "\uF0E7"; return "";
} }
Process { Process {

View file

@ -21,7 +21,7 @@ Row {
} }
M.BarIcon { M.BarIcon {
icon: "\uF2C9" icon: ""
color: root.celsius > 80 ? M.Theme.base08 : M.Theme.base05 color: root.celsius > 80 ? M.Theme.base08 : M.Theme.base05
anchors.verticalCenter: parent.verticalCenter anchors.verticalCenter: parent.verticalCenter
} }

View file

@ -15,7 +15,7 @@ Row {
readonly property bool muted: sink?.audio?.muted ?? false readonly property bool muted: sink?.audio?.muted ?? false
M.BarIcon { M.BarIcon {
icon: root.muted ? "\uF026" : (root.volume > 0.5 ? "\uF028" : (root.volume > 0 ? "\uF027" : "\uF026")) icon: root.muted ? "" : (root.volume > 0.5 ? "" : (root.volume > 0 ? "" : ""))
anchors.verticalCenter: parent.verticalCenter anchors.verticalCenter: parent.verticalCenter
} }
M.BarLabel { M.BarLabel {

View file

@ -3,7 +3,7 @@ import Quickshell.Io
import "." as M import "." as M
M.BarIcon { M.BarIcon {
icon: "\uF011" icon: ""
Process { Process {
id: proc id: proc