MyNixOS website logo

CSS style of the bar. See https://github.com/ErikReider/SwayNotificationCenter/blob/main/src/style.css for the documentation.

If the value is set to a path literal, then the path will be used as the CSS file.

Declarations
Type
null or path or strings concatenated with "\n"
Default
null
Example
''
  .notification-row {
    outline: none;
  }
  
  .notification-row:focus,
  .notification-row:hover {
    background: @noti-bg-focus;
  }
  
  .notification {
    border-radius: 12px;
    margin: 6px 12px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.3), 0 1px 3px 1px rgba(0, 0, 0, 0.7),
      0 2px 6px 2px rgba(0, 0, 0, 0.3);
    padding: 0;
  }
''