dotfiles

My PC Dotfiles & Website

files/windows/yasb/config.yaml (15289B)


  1# YASB Panel Configuration
  2watch_stylesheet: true
  3watch_config: true
  4debug: false
  5
  6bars:
  7  panel:
  8    enabled: true
  9    screens: ["*"]
 10    class_name: "yasb-panel"
 11    alignment:
 12      position: "top"
 13      align: "center"
 14    window_flags:
 15      always_on_top: true
 16      windows_app_bar: true
 17      hide_on_fullscreen: true
 18    dimensions:
 19      width: "100%"
 20      height: 26
 21    padding:
 22      top: 0
 23      left: 0
 24      bottom: 0
 25      right: 0
 26    animation:
 27      enabled: true
 28      duration: 400
 29    blur_effect:
 30      enabled: true
 31      dark_mode: true
 32      round_corners: false
 33      border_color: None
 34    widgets:
 35      left: [
 36          "task_view",
 37          # "home",
 38          "windows_workspaces",
 39          "active_window",
 40          "media",
 41          # "apps",
 42          # "taskbar",
 43        ]
 44      center: []
 45      right: [
 46          # "cpu",
 47          # "gpu",
 48          # "memory",
 49          # "disk",
 50          # "traffic",
 51          "microphone",
 52          "volume",
 53          "brightness",
 54          "battery",
 55          "bluetooth",
 56          "wifi",
 57          "weather",
 58          "clock",
 59          "power_menu",
 60        ]
 61
 62widgets:
 63  task_view:
 64    type: "yasb.custom.CustomWidget"
 65    options:
 66      label: "<span>\ue7c4</span>"
 67      label_alt: "<span>\ue7c4</span>"
 68      class_name: "task-view-widget"
 69      callbacks:
 70        on_left: "exec explorer.exe shell:::{3080F90E-D7AD-11D9-BD98-0000947B0257}"
 71        on_middle: "do_nothing"
 72        on_right: "exec winver"
 73
 74  home:
 75    type: "yasb.home.HomeWidget"
 76    options:
 77      label: "<span>\ue62a</span>"
 78      system_menu: true
 79      power_menu: false
 80      blur: true
 81      border_color: "system"
 82      round_corners_type: "normal"
 83      menu_labels:
 84        about: "\ue66A  About This PC"
 85        system: "\uF423  System Settings"
 86        task_manager: "\uf437  Task Manager"
 87        hibernate: "\uf28e  Hibernate"
 88        sleep: "\u23fe  Sleep"
 89        restart: "\uead2  Restart"
 90        shutdown: "\uf011  Shutdown"
 91        lock: "\uea75  Lock"
 92        logout: "\udb80\udf43  Logout"
 93      menu_list:
 94        - { title: "\uE617  Home", path: "~" }
 95        - { title: "\udb80\udd20  Downloads", path: "~\\Downloads" }
 96        - { title: "\udb80\ude1a  Documents", path: "~\\Documents" }
 97        - { title: "\uf03e  Pictures", path: "~\\Pictures" }
 98
 99  active_window:
100    type: "yasb.active_window.ActiveWindowWidget"
101    options:
102      label: "{win[app_name]}"
103      label_alt: "{win[title]}"
104      label_no_window: ""
105      label_icon: true
106      label_icon_size: 14
107      max_length: 50
108      max_length_ellipsis: "..."
109      monitor_exclusive: false
110      ignore_window:
111        processes:
112          - "Rainmeter.exe"
113        classes:
114          - "RainmeterMeterWindow"
115      callbacks:
116        on_left: "do_nothing"
117        on_middle: "do_nothing"
118        on_right: "toggle_label"
119
120  windows_workspaces:
121    type: "yasb.windows_desktops.WorkspaceWidget"
122    options:
123      label_workspace_btn: "\u25cb"
124      label_workspace_active_btn: "\udb81\udc3e"
125
126  clock:
127    type: "yasb.clock.ClockWidget"
128    options:
129      label: "<span>\ue917</span>  {%a %d %b   %H:%M}"
130      label_alt: "{%A %d %B %Y %H:%M:%S}"
131      timezones: []
132      calendar:
133        blur: true
134        round_corners: true
135        round_corners_type: "normal"
136        border_color: "system"
137        alignment: "center"
138        direction: "down"
139        show_holidays: true
140        show_week_numbers: true
141        holiday_color: "#FF6464"
142
143  apps:
144    type: "yasb.applications.ApplicationsWidget"
145    options:
146      label: "{data}"
147      app_list:
148        - { icon: "\uf0a2", launch: "notification_center" }
149        - { icon: "\ueb51", launch: "quick_settings" }
150        - { icon: "\uf46a", launch: "cmd /c start ms-settings:windowsupdate" }
151        - { icon: "\uf422", launch: "search" }
152        - { icon: "\ueb03", launch: "cmd /c Taskmgr", name: "Task Manager" }
153        - { icon: "\uf489", launch: "wt", name: "Windows Terminal" }
154        - { icon: "\udb82\ude1e", launch: "cmd /c code", name: "VS Code" }
155        - {
156            icon: "\uf1b6",
157            launch: "C:/Program Files (x86)/Steam/Steam.exe",
158            name: "Steam",
159          }
160
161  taskbar:
162    type: "yasb.taskbar.TaskbarWidget"
163    options:
164      icon_size: 16
165      animation:
166        enabled: true
167      preview:
168        enabled: true
169        width: 250
170        delay: 400
171        padding: 12
172      callbacks:
173        on_middle: "close_app"
174
175  media:
176    type: "yasb.media.MediaWidget"
177    options:
178      label: "{title}"
179      label_alt: "{artist}"
180      hide_empty: true
181      callbacks:
182        on_left: "toggle_media_menu"
183        on_middle: "toggle_play_pause"
184        on_right: "toggle_label"
185      max_field_size:
186        label: 45
187        label_alt: 80
188        truncate_whole_label: false
189      show_thumbnail: false
190      controls_only: false
191      controls_left: false
192      thumbnail_alpha: 80
193      thumbnail_padding: 8
194      thumbnail_corner_radius: 16
195      icons:
196        prev_track: "\ue892"
197        next_track: "\ue893"
198        play: "\ue768"
199        pause: "\ue769"
200      media_menu:
201        blur: true
202        round_corners: true
203        round_corners_type: "normal"
204        alignment: "right"
205        direction: "down"
206        offset_top: 6
207        offset_left: 10
208        thumbnail_corner_radius: 8
209        thumbnail_size: 120
210        max_title_size: 80
211        max_artist_size: 20
212        show_source: true
213      media_menu_icons:
214        play: "\ue768"
215        pause: "\ue769"
216        prev_track: "\ue892"
217        next_track: "\ue893"
218
219  weather:
220    type: "yasb.open_meteo.OpenMeteoWidget"
221    options:
222      label: "<span>{icon}</span> {temp}"
223      label_alt: "{location}: {min_temp}/{max_temp}"
224      forecast_days: 7
225      update_interval: 900
226      hide_decimal: true
227      units: "metric"
228      callbacks:
229        on_left: "toggle_card"
230        on_middle: "do_nothing"
231        on_right: "toggle_label"
232      icons:
233        sunnyDay: "\ue30d"
234        clearNight: "\ue32b"
235        cloudyDay: "\udb81\udd99"
236        cloudyNight: "\ue311"
237        rainyDay: "\udb81\ude7e"
238        rainyNight: "\udb81\ude7e"
239        snowyDay: "\udb81\udd98"
240        snowyNight: "\udb81\udd98"
241        default: "\uebaa"
242      weather_card:
243        blur: True
244        round_corners: True
245        round_corners_type: "normal"
246        border_color: "System"
247        alignment: "right"
248        direction: "down"
249        offset_top: 6
250        icon_size: 48
251        show_hourly_forecast: true
252        time_format: "24h"
253        hourly_icon_size: 24
254
255  cpu:
256    type: "yasb.cpu.CpuWidget"
257    options:
258      label: "<span>\ueea1</span> {info[percent][total]}%"
259      label_alt: "<span>\ueea1</span> {info[histograms][cpu_percent]}"
260      update_interval: 1000
261      histogram_icons:
262        - "\u2581" # 0%
263        - "\u2581" # 10%
264        - "\u2582" # 20%
265        - "\u2583" # 30%
266        - "\u2584" # 40%
267        - "\u2585" # 50%
268        - "\u2586" # 60%
269        - "\u2587" # 70%
270        - "\u2588" # 80%+
271      histogram_num_columns: 8
272      callbacks:
273        on_left: "do_nothing"
274        on_middle: "exec cmd /c Taskmgr"
275        on_right: "toggle_label"
276
277  gpu:
278    type: "yasb.gpu.GpuWidget"
279    options:
280      label: "<span>\uf4bc</span> {info[temp]}°C"
281      label_alt: "<span>\uf4bc</span> {info[temp]}°C | {info[mem_used]} / {info[mem_total]}"
282      update_interval: 2000
283      gpu_thresholds:
284        low: 25
285        medium: 50
286        high: 90
287      histogram_icons:
288        - "\u2581" # 0%
289        - "\u2581" # 10%
290        - "\u2582" # 20%
291        - "\u2583" # 30%
292        - "\u2584" # 40%
293        - "\u2585" # 50%
294        - "\u2586" # 60%
295        - "\u2587" # 70%
296        - "\u2588" # 80%+
297      histogram_num_columns: 8
298      callbacks:
299        on_left: "do_nothing"
300        on_middle: "exec cmd /c Taskmgr"
301        on_right: "toggle_label"
302
303  memory:
304    type: "yasb.memory.MemoryWidget"
305    options:
306      label: "<span>\uefc5</span> {virtual_mem_used} / {virtual_mem_total}"
307      label_alt: "<span>\uf4bc</span> VIRT: {virtual_mem_percent}% SWAP: {swap_mem_percent}%"
308      update_interval: 5000
309      callbacks:
310        on_left: "do_nothing"
311        on_middle: "exec cmd /c Taskmgr"
312        on_right: "toggle_label"
313      memory_thresholds:
314        low: 25
315        medium: 50
316        high: 90
317      histogram_icons:
318        - "\u2581" # 0%
319        - "\u2581" # 10%
320        - "\u2582" # 20%
321        - "\u2583" # 30%
322        - "\u2584" # 40%
323        - "\u2585" # 50%
324        - "\u2586" # 60%
325        - "\u2587" # 70%
326        - "\u2588" # 80%+
327
328  disk:
329    type: "yasb.disk.DiskWidget"
330    options:
331      label: "<span>\uf473</span> Disks"
332      label_alt: "<span>\uf473</span> {volume_label} {space[used][gb]} / {space[total][gb]}"
333      volume_label: "C"
334      decimal_display: 1
335      update_interval: 60
336      group_label:
337        volume_labels:
338          [
339            "C",
340            "D",
341            "E",
342            "F",
343            "G",
344            "H",
345            "I",
346            "J",
347            "K",
348            "L",
349            "M",
350            "N",
351            "O",
352            "P",
353            "Q",
354            "R",
355            "S",
356            "T",
357            "U",
358            "V",
359            "W",
360            "X",
361            "Y",
362            "Z",
363          ]
364        show_label_name: true
365        blur: true
366        round_corners: true
367        round_corners_type: "normal"
368        border_color: "system"
369        alignment: "center"
370        direction: "down"
371      callbacks:
372        on_left: "toggle_group"
373        on_middle: "do_nothing"
374        on_right: "toggle_label"
375      disk_thresholds:
376        low: 25
377        medium: 50
378        high: 90
379
380  traffic:
381    type: "yasb.traffic.TrafficWidget"
382    options:
383      label: "<span class='download'>\uea9a {download_speed}</span><span class='upload'>{upload_speed} \ueaa1</span>"
384      label_alt: "<span class='download'>\uea9a {download_speed}</span><span class='upload'>{upload_speed} \ueaa1</span>"
385      update_interval: 1000
386      hide_if_offline: true
387      speed_unit: "bytes"
388      max_label_length_align: "center"
389      menu:
390        blur: true
391        round_corners: true
392        round_corners_type: "normal"
393        border_color: "system"
394        alignment: "center"
395        direction: "down"
396      callbacks:
397        on_left: "toggle_menu"
398        on_middle: "exec cmd.exe /c start ms-settings:network-status"
399        on_right: "do_nothing"
400
401  microphone:
402    type: "yasb.microphone.MicrophoneWidget"
403    options:
404      label: "<span>{icon}</span> {level}"
405      label_alt: "<span>{icon}</span>"
406      mute_text: "Mute"
407      icons:
408        normal: "\ue720"
409        muted: "\uec54"
410      mic_menu:
411        blur: true
412        round_corners: true
413        round_corners_type: "normal"
414        border_color: "system"
415        alignment: "right"
416        direction: "down"
417      callbacks:
418        on_left: "toggle_mic_menu"
419        on_middle: "exec cmd.exe /c start ms-settings:sound"
420        on_right: "toggle_mute"
421
422  volume:
423    type: "yasb.volume.VolumeWidget"
424    options:
425      label: "<span>{icon}</span> {level}"
426      label_alt: "{volume}"
427      mute_text: "Mute"
428      icons:
429        muted: "\ue74f"
430        "10": "\ue992"
431        "30": "\ue993"
432        "60": "\ue994"
433        "100": "\ue995"
434      callbacks:
435        on_left: "toggle_volume_menu"
436        on_middle: "exec cmd.exe /c start ms-settings:sound"
437        on_right: "toggle_mute"
438      audio_menu:
439        show_apps: true
440        show_app_labels: true
441        show_app_icons: true
442        show_apps_expanded: true
443        app_icons:
444          toggle_down: "\ue70d"
445          toggle_up: "\ue70e"
446        blur: true
447        round_corners: true
448        round_corners_type: "normal"
449        border_color: "system"
450        alignment: "center"
451        direction: "down"
452
453  brightness:
454    type: "yasb.brightness.BrightnessWidget"
455    options:
456      label: "<span>{icon}</span> {percent}%"
457      label_alt: "<span>{icon}</span> {percent}%"
458      brightness_menu:
459        blur: true
460        round_corners: true
461        round_corners_type: "normal"
462        border_color: "system"
463        alignment: "center"
464        direction: "down"
465      callbacks:
466        on_left: "toggle_brightness_menu"
467        on_middle: "exec cmd /c start ms-settings:display"
468        on_right: "do_nothing"
469      brightness_icons: ["\ue706", "\ue706", "\ue706", "\ue706"]
470
471  wifi:
472    type: "yasb.wifi.WifiWidget"
473    options:
474      label: "<span>{wifi_icon}</span>"
475      label_alt: "<span>{wifi_icon}</span> {wifi_name} {wifi_strength}%"
476      update_interval: 5000
477      get_exact_wifi_strength: true
478      ethernet_label: "<span>{wifi_icon}</span>"
479      ethernet_label_alt: "<span>{wifi_icon}</span> {ip_addr}"
480      ethernet_icon: "\ue839"
481      wifi_icons: ["\uec3c", "\uec3d", "\uec3e", "\uec3e", "\uec3f"]
482      callbacks:
483        on_left: "toggle_menu"
484        on_middle: "exec cmd.exe /c start ms-settings:network"
485        on_right: "toggle_label"
486      menu_config:
487        blur: true
488        round_corners: true
489        round_corners_type: "normal"
490        border_color: "system"
491        alignment: "center"
492        direction: "down"
493        offset_top: 6
494        offset_left: 0
495
496  bluetooth:
497    type: "yasb.bluetooth.BluetoothWidget"
498    options:
499      label: "<span>{icon}</span>"
500      label_alt: "{device_name}"
501      label_no_device: "Not Connected"
502      label_device_separator: ", "
503      max_length: 15
504      max_length_ellipsis: "..."
505      icons:
506        bluetooth_on: "\ue702"
507        bluetooth_off: "\ue702"
508        bluetooth_connected: "\ue702"
509      callbacks:
510        on_left: "toggle_menu"
511        on_middle: "exec cmd.exe /c start ms-settings:bluetooth"
512        on_right: "toggle_label"
513      menu_config:
514        blur: true
515        round_corners: true
516        round_corners_type: "normal"
517        border_color: "system"
518        alignment: "right"
519        direction: "down"
520        offset_top: 6
521
522  battery:
523    type: "yasb.battery.BatteryWidget"
524    options:
525      label: "<span>{icon}</span> {percent}%"
526      label_alt: "<span>{icon}</span> {percent}% ({time_remaining})"
527      update_interval: 5000
528      hide_unsupported: true
529      charging_options:
530        icon_format: "{charging_icon}"
531        blink_charging_icon: false
532        blink_interval: 800
533      status_thresholds:
534        critical: 10
535        low: 25
536        medium: 60
537        high: 90
538        full: 100
539      status_icons:
540        icon_charging: "\ue945"
541        icon_critical: "\ue851"
542        icon_low: "\ue853"
543        icon_medium: "\ue855"
544        icon_high: "\ue857"
545        icon_full: "\ue859"
546      callbacks:
547        on_left: "exec cmd /c start ms-settings:powersleep"
548        on_middle: "do_nothing"
549        on_right: "toggle_label"
550
551  power_menu:
552    type: "yasb.power_menu.PowerMenuWidget"
553    options:
554      label: "\ue7e8"
555      uptime: true
556      blur: false
557      blur_background: true
558      animation_duration: 300
559      button_row: 3
560      buttons:
561        lock: ["\uea75", "Lock"]
562        signout: ["\udb80\udf43", "Sign out"]
563        shutdown: ["\uf011", "Shut Down"]
564        restart: ["\uead2", "Restart"]
565        hibernate: ["\uf28e", "Hibernate"]
566        cancel: ["\udb81\udf3a", "Cancel"]