This commit is contained in:
2026-06-03 15:11:11 +02:00
parent 6cac805b01
commit 1d8de9da23
2 changed files with 673 additions and 7 deletions
+49 -7
View File
@@ -41,28 +41,26 @@ bars:
widgets:
left:
- "power_menu"
- "glazewm_workspaces"
- "notes"
- "todo"
- "bin"
- "ai_chat"
- "glazewm_workspaces"
center:
- "active_window"
right:
- "cpu"
- "gpu"
- "pomodoro"
- "memory"
- "disk"
right:
- "systray"
- "wallpapers"
- "brightness"
- "bluetooth"
- "wifi"
- "open_meteo"
- "volume"
- "ethernet"
- "clock"
- "notifications"
widgets:
wallpapers:
type: "yasb.wallpapers.WallpapersWidget"
@@ -625,3 +623,47 @@ widgets:
shutdown: ["\uf011", "Shut Down"]
signout: ["\udb80\udf43", "Sign out"]
cancel: ["\udb81\udf3a", "Cancel"]
active_window: # TO-DO: Add rewrite rules for specific apps
type: "yasb.active_window.ActiveWindowWidget"
options:
label: "{win[app_name]}"
label_no_window: ""
label_alt: "{win[process]}"
label_icon: True
label_icon_size: 12
max_length: 75
max_length_ellipsis: ""
monitor_exclusive: False
animation:
enabled: False
duration: 0
callbacks:
on_left: "do_nothing"
rewrite:
# Strip trailing “.exe” (case-insensitive) and lowercase:
- pattern: "^(.+?)\\.exe$"
replacement: "\\1"
case: title
# Uppercase UI
- pattern: "\\bui\\b"
replacement: "UI"
# Change "* Zen Browser" to "Zen Browser"
- pattern: "^(.*) — Zen Browser"
replacement: "Zen Browser"
# Change "WinSpy *" to "WinSpy"
- pattern: "^WinSpy .*"
replacement: "WinSpy"
# Ignore ShareX window showing at startup (show nothing)
- pattern: "^ShareX .*"
replacement: ""
- pattern: "^ShareX - .*"
replacement: "ShareX"
# BCUninstaller Title
- pattern: "^Bulk Crap Uninstaller .*"
replacement: "Bulk Crap Uninstaller"