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

@ -1,34 +1,40 @@
version = "1.1.15" version = "1.1.15"
[title."(?i)foot"]
Yazi = "󰇥"
[class] [class]
DEFAULT = "{class}" DEFAULT = "{class}"
"(?i)anki" = " " "Anki" = " "
"(?i)blueman-manager-wrapped" = " " "blueman-manager-wrapped" = " "
"(?i)chromium" = " " "chromium" = " "
"(?i)discord" = "󰊴 " "com.obsproject.Studio" = "󰄄 "
"(?i)element" = " " "com.usebottles.bottles" = " "
"(?i)emacs" = " " "discord" = "󰊴 "
"(?i)firefox" = " " "Element" = " "
"(?i)foot" = " " "emacs" = " "
"(?i)ghidra" = " " "firefox" = " "
"(?i)gimp" = " " "foot" = " "
"(?i)kitty" = " " "ghidra" = " "
"(?i)libreoffice-draw" = "󰽉 " "Gimp" = " "
"(?i)libreoffice-writer" = "󰷈 " "kitty" = " "
"(?i)mpv" = " " "libreoffice-calc" = " "
"(?i)mullvad vpn" = " " "libreoffice-draw" = "󰽉 "
"(?i)nsxiv" = " " "libreoffice-impress" = "󰈩 "
"(?i)signal" = "󰭹 " "libreoffice-writer" = "󰷈 "
"(?i)slack" = "󰒱 " "mpv" = " "
"(?i)spotify" = " " "mullvad vpn" = " "
"(?i)st" = " " "Nsxiv" = " "
"(?i)steam" = " " "org.getmonero." = " "
"(?i)virtualbox" = " " "org.kde.kdenlive" = " "
"(?i)zathura" = " " "signal" = "󰭹 "
"(?i)zen" = "󰇧 " "Slack" = "󰒱 "
"spotify" = " "
"st-256color" = " "
"steam" = " "
"teams-for-linux" = "󰊻 "
"VirtualBox" = " "
"vlc" = "󱍼 "
"zathura" = " "
"zen" = "󰇧 "
"zoom" = " "
[class_active] [class_active]
@ -49,15 +55,21 @@ DEFAULT = "{class}"
9 = "nine" 9 = "nine"
10 = "ten" 10 = "ten"
[title_in_class."(?i)foot"] [title_in_class."st-256color"]
"(?i)neovim" = "neovim" "Yazi" = "󰇥 "
"(?i)nvim" = "nvim" "NVIM" = " "
"btop" = "󰻎 "
"htop" = "󰻎 "
[title_in_class."(?i)kitty"] # Sometimes windows do not set a class
"(?i)neomutt" = "neomutt" [title_in_class.""]
"Steam" = " "
[title_in_class_active."(?i)firefox"] [title_in_class."VirtualBox Machine"]
"(?i)twitch" = "<span style='color:purple'>{icon}</span>" "Tiny11" = " "
[title_in_class."steam"]
"Halo: The Master Chief Collection" = " "
[title_in_initial_class] [title_in_initial_class]
@ -82,11 +94,13 @@ aProgram = "^$"
dedup = false dedup = false
dedup_inactive_fullscreen = false dedup_inactive_fullscreen = false
delim = "" delim = ""
workspace = "{id}:{delim}{clients}" workspace = "{id} {clients}"
workspace_empty = "{id}" workspace_empty = "{id}"
client = "<span>{icon}</span>" # client = "<span>{icon}</span>"
client_fullscreen = "[{icon}]" client = "{icon}"
client_active = "<span style='color:#FFFFFF'>{icon}</font>" client_fullscreen = "{icon}"
# client_active = "<span style='color:#FFFFFF'>{icon}</font>"
client_active = "󰀦{icon}"
client_dup = "{icon}{counter_sup}" client_dup = "{icon}{counter_sup}"
client_dup_active = "*{icon}*{delim}{icon}{counter_unfocused_sup}" client_dup_active = "*{icon}*{delim}{icon}{counter_unfocused_sup}"
client_dup_fullscreen = "[{icon}]{delim}{icon}{counter_unfocused_sup}" client_dup_fullscreen = "[{icon}]{delim}{icon}{counter_unfocused_sup}"

View file

@ -52,7 +52,7 @@ BarBlock {
Process { Process {
id: neofetch id: neofetch
running: false 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'\"" ] \"foot -W 95x22 -e zsh -c 'neofetch; while true; do; done'\"" ]
stdout: SplitParser { stdout: SplitParser {
onRead: data => console.log(`line read: ${data}`) onRead: data => console.log(`line read: ${data}`)

View file

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

View file

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