Advertisement
Guest User

config.yaml

a guest
Feb 26th, 2025
43
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 9.25 KB | None | 0 0
  1. watch_stylesheet: true
  2. watch_config: true
  3. debug: false
  4. komorebi:
  5.   start_command: "komorebic start --whkd"
  6.   stop_command: "komorebic stop --whkd"
  7.   reload_command: "komorebic stop --whkd && komorebic start --whkd"
  8. bars:
  9.   primary-bar:
  10.     enabled: true
  11.     screens: ['*']
  12.     class_name: "yasb-bar"
  13.     alignment:
  14.       position: "top"
  15.       center: false
  16.     blur_effect:
  17.       enabled: false
  18.       acrylic: false
  19.       dark_mode: true
  20.       round_corners: false
  21.       border_color: None
  22.     window_flags:
  23.       always_on_top: true
  24.       windows_app_bar: true
  25.       hide_on_fullscreen: true
  26.     dimensions:
  27.       width: "100%"
  28.       height: 30
  29.     padding:
  30.       top: 6 # 4 4 2 4
  31.       left: 6
  32.       bottom: 0
  33.       right: 6
  34.     widgets:
  35.       left:
  36.         [
  37.           "home",
  38.           "komorebi_workspaces",
  39.           "active_window",
  40.         ]
  41.       center:
  42.         ["clock", "apps"]
  43.       right:
  44.         [
  45.           "cava",
  46.           "media",
  47.           "volume",
  48.           "weather",
  49.           "github",
  50.           "disk",
  51.           "wallpapers",
  52.           "power_menu"
  53.         ]
  54. widgets:
  55.   home:
  56.     type: "yasb.home.HomeWidget"
  57.     options:
  58.       label: "<span>\udb80\udf5c</span>"
  59.       menu_list:
  60.       - { title: "Home", path: "~" }
  61.       - { title: "Downloads", path: "C:\\Users\\elrond\\Downloads"}
  62.       - { title: "Documents", path: "C:\\Users\\elrond\\Documents"}
  63.       - { title: "Pictures", path: "C:\\Users\\elrond\\Pictures"}
  64.       - { title: "Videos", path: "C:\\Users\\elrond\\Videos"}
  65.       system_menu: true
  66.       power_menu: false
  67.       blur: true
  68.       round_corners: true
  69.       round_corners_type: "normal"
  70.       border_color: ""
  71.       distance: 5
  72.       container_padding:
  73.         top: 0
  74.         left: 0
  75.         bottom: 0
  76.         right: 0
  77.       alignment: "left"
  78.       direction: "down"
  79.       menu_labels:
  80.         shutdown: "Shutdown"
  81.         restart: "Restart"
  82.         logout: "Logout"
  83.         lock: "Lock"
  84.         sleep: "Sleep"
  85.         system: "System Settings"
  86.         about: "About This PC"
  87.         task_manager: "Task Manager"
  88.   komorebi_workspaces:
  89.     type: "komorebi.workspaces.WorkspaceWidget"
  90.     options:
  91.         label_offline: "\u26a1 Offline"
  92.         label_workspace_btn: ""
  93.         label_workspace_active_btn: ""
  94.         label_workspace_populated_btn: ""
  95.         label_default_name: "{index}"
  96.         label_zero_index: false
  97.         hide_empty_workspaces: false
  98.         hide_if_offline: true
  99.         animation: true
  100.   weather:
  101.     type: "yasb.weather.WeatherWidget"
  102.     options:
  103.       label: "<span>{icon}</span> {temp}"
  104.       label_alt: "{location}: Min {min_temp}, Max {max_temp}, Humidity {humidity}"
  105.       api_key: "ENTERYOURAPIKEYHERE" # Get your free API key from https://www.weatherapi.com/
  106.       show_alerts: true
  107.       update_interval: 600 # Update interval in seconds, Min 600 seconds
  108.       hide_decimal: true
  109.       units: "metric" # Can be 'metric' or 'imperial'
  110.       location: "ENTERYOURCITYHERE" # You can use "USA Los Angeles 90006" {COUNTRY CITY ZIP_CODE}, or just city.
  111.       callbacks:
  112.         on_left: "toggle_card"
  113.         on_middle: "do_nothing"
  114.         on_right: "toggle_label"
  115.       icons:
  116.         sunnyDay: "\ue30d"
  117.         clearNight: "\ue32b"
  118.         cloudyDay: "\udb81\udd99"
  119.         cloudyNight: "\ue311"
  120.         rainyDay: "\udb81\ude7e"
  121.         rainyNight: "\udb81\ude7e"
  122.         snowyIcyDay: "\udb81\udd98"
  123.         snowyIcyNight: "\udb81\udd98"
  124.         blizzard: "\uebaa"
  125.         default: "\uebaa"
  126.       weather_card:
  127.         blur: True
  128.         round_corners: True
  129.         round_corners_type: "normal"
  130.         border_color: "System"
  131.         alignment: "right"
  132.         direction: "down"
  133.         distance: 6
  134.         icon_size: 64
  135.   media:
  136.       type: "yasb.media.MediaWidget"
  137.       options:
  138.         label: "{title}"
  139.         label_alt: "{artist}"
  140.         max_field_size:
  141.           label: 25
  142.           label_alt: 25
  143.         show_thumbnail: false
  144.         controls_only: false
  145.         controls_left: true
  146.         hide_empty: true
  147.         thumbnail_alpha: 250
  148.         thumbnail_padding: 8
  149.         thumbnail_corner_radius: 0
  150.         icons:
  151.           prev_track: ""
  152.           next_track: ""
  153.           play: "<span>\uf001</span>"
  154.           pause: "<span>\uf001</span>"
  155.   active_window:
  156.     type: "yasb.active_window.ActiveWindowWidget"
  157.     options:
  158.       label: "{win[title]}"
  159.       label_alt: "[class_name='{win[class_name]}' exe='{win[process][name]}' hwnd={win[hwnd]}]"
  160.       label_no_window: ""
  161.       label_icon: true
  162.       label_icon_size: 14
  163.       max_length: 36
  164.       max_length_ellipsis: "..."
  165.       monitor_exclusive: true
  166.   volume:
  167.     type: "yasb.volume.VolumeWidget"
  168.     options:
  169.       label: "<span>{icon}</span> {level}"
  170.       label_alt: "{volume}"
  171.       volume_icons:
  172.         - "\ueee8"  # Icon for muted
  173.         - "\uf026"  # Icon for 0-10% volume
  174.         - "\uf027"  # Icon for 11-30% volume
  175.         - "\uf027"  # Icon for 31-60% volume
  176.         - "\uf028"  # Icon for 61-100% volume
  177.       callbacks:
  178.         on_right: "exec cmd.exe /c start ms-settings:sound"
  179.   clock:
  180.     type: "yasb.clock.ClockWidget"
  181.     options:
  182.       label: "{%a %b %d %H:%M}"
  183.       label_alt: "{%A, %d %B %Y %H:%M}"
  184.       timezones: []
  185.       calendar:
  186.         alignment: "center"
  187.   disk:
  188.     type: "yasb.disk.DiskWidget"
  189.     options:
  190.         label: "<span>\uf473</span>"
  191.         label_alt: "<span>\uf473</span>"
  192.         update_interval: 60
  193.         group_label:
  194.           volume_labels: ["C", "D", "E", "F"]
  195.           show_label_name: false
  196.           blur: True
  197.           round_corners: True
  198.           round_corners_type: "small"
  199.           border_color: "System"
  200.           alignment: "right"
  201.           direction: "down"
  202.           distance: 6
  203.         callbacks:
  204.           on_left: "toggle_group"
  205.           on_middle: "toggle_label"
  206.           on_right: "exec explorer C:\\" # Open disk C in file explorer
  207.   wallpapers:
  208.     type: "yasb.wallpapers.WallpapersWidget"
  209.     options:
  210.       label: "<span>\udb83\ude09</span>"
  211.       image_path: "C:\\Users\\elrond\\.config\\Wallpapers"
  212.       change_automatically: false
  213.       update_interval: 60
  214.       gallery:
  215.         enabled: true
  216.         blur: true
  217.         image_width: 296
  218.         image_per_page: 6
  219.         show_buttons: true
  220.         orientation: "portrait"
  221.         image_spacing: 10
  222.         lazy_load: true
  223.         lazy_load_delay: 10
  224.         lazy_load_fadein: 200
  225.         image_corner_radius: 20
  226.         enable_cache: true
  227.   power_menu:
  228.       type: "yasb.power_menu.PowerMenuWidget"
  229.       options:
  230.         label: "\uf011"
  231.         uptime: True
  232.         blur: False
  233.         blur_background: True
  234.         animation_duration: 250 # Milisecond
  235.         button_row: 5 # Number of buttons in row, min 1 max 5
  236.         buttons:
  237.           signout: ["\udb80\udf43","Sign out"]
  238.           shutdown: ["\uf011","Shut Down"]
  239.           restart: ["\uead2","Restart"]
  240.           hibernate: ["\uf28e","Hibernate"]
  241.           cancel: ["\udb81\udf3a","Cancel"]
  242.   cava:
  243.     type: "yasb.cava.CavaWidget"
  244.     options:
  245.       bar_height: 12
  246.       gradient: 1
  247.       reverse: 0
  248.       sensitivity: 100
  249.       foreground: "#89b4fa"
  250.       gradient_color_1: '#74c7ec'
  251.       gradient_color_2: '#89b4fa'
  252.       gradient_color_3: '#cba6f7'
  253.       bars_number: 8
  254.       bar_spacing: 2
  255.       bar_width: 4
  256.       sleep_timer: 0
  257.       hide_empty: true
  258.       container_padding:
  259.         top: 0
  260.         left: 0
  261.         bottom: 0
  262.         right: 0
  263.   github:
  264.     type: "yasb.github.GithubWidget"
  265.     options:
  266.       label: "<span>\ueba1</span>"
  267.       label_alt: "Notifications {data}" # {data} return number of unread notification
  268.       token: env # GitHub Personal access tokens (classic) https://github.com/settings/tokens
  269.       max_notification: 20 # Max number of notification displaying in menu max: 50
  270.       only_unread: false # Show only unread or all notifications;
  271.       max_field_size: 54 # Max characters in title before truncation.
  272.       update_interval: 300 # Check for new notification in seconds
  273.       menu:
  274.         blur: True # Enable blur effect for the menu
  275.         round_corners: True # Enable round corners for the menu (this option is not supported on Windows 10)
  276.         round_corners_type: "normal" # Set the type of round corners for the menu (normal, small) (this option is not supported on Windows 10)
  277.         border_color: "System" # Set the border color for the menu (this option is not supported on Windows 10)
  278.         alignment: "right"
  279.         direction: "down"
  280.         distance: 6
  281.   taskbar:
  282.     type: "yasb.taskbar.TaskbarWidget"
  283.     options:
  284.       animation:
  285.         enabled: true
  286.       icon_size: 14
  287.       ignore_apps:
  288.         processes: []
  289.         titles: []
  290.         classes: []
  291.       container_padding:
  292.         top: 0
  293.         left: 0
  294.         bottom: 0
  295.         right: 0
  296.   apps:
  297.     type: "yasb.applications.ApplicationsWidget"
  298.     options:
  299.       container_padding:
  300.         top: 0
  301.         left: 8
  302.         bottom: 0
  303.         right: 8
  304.       label: "{data}"
  305.       app_list:
  306.         - { icon: "\uf0a2", launch: "notification_center" }
  307.         - { icon: "\uf422", launch: "launcher" }
  308.         - { icon: "\ueb03", launch: "cmd /c Taskmgr" }
  309.         - { icon: "\uf489", launch: "wt" }
  310.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement