More bar icons

This commit is contained in:
agryphus 2025-03-21 14:44:21 -04:00
parent 0bcc07d035
commit 742007eb5f
4 changed files with 59 additions and 42 deletions

View file

@ -52,7 +52,7 @@ BarBlock {
Process {
id: neofetch
running: false
command: [ "sh", "-c", "hyprctl dispatch exec [floating] \
command: [ "sh", "-c", "hyprctl dispatch exec [float] \
\"foot -W 95x22 -e zsh -c 'neofetch; while true; do; done'\"" ]
stdout: SplitParser {
onRead: data => console.log(`line read: ${data}`)

View file

@ -7,12 +7,14 @@ import "../"
BarBlock {
id: text
visible: Pipewire.ready
content: BarText {
symbolText: ` ${Math.floor(volume * 100)}%`
symbolText: ` ${volume}`
}
property PwNode sink: Pipewire.defaultAudioSink
property real volume: sink?.audio.volume
property string volume: Pipewire.ready ? `${Math.floor(sink.audio.volume * 100)}%` : ""
PwObjectTracker { objects: [ sink ] }
}

View file

@ -258,10 +258,11 @@ RowLayout {
"": "extra-virtualbox",
"": "extra-scale-emacs",
"": "monero",
"󰻎": "extra-scale-system-explorer-outline",
"󰻎": "extra-system-explorer-outline",
"󱍼": "extra-scale-vlc",
"": "com.usebottles.bottles",
"": "Zoom",
"󰊻": "teams-for-linux",
}
}