[modules] left = [ "Workspaces" ] center = [ ] #[ [ "Clock", "SystemInfo" ], "MediaPlayer" ] right = [ [ "Privacy", "SystemInfo", "CustomNotifications", "Settings" ] ] [system] indicators = ["Temperature"] [clock] format = "%H:%M" [appearance] scale_factor = 0.875 opacity = 0.75 style = "Solid" # backdrop = 0.3 workspace_colors = ["#bbbbbb"] [appearance.background_color] base = "#000000" #strong = "#448888" #weak = "#448855" #text = "#ffffff" [appearance.primary_color] base = "#4488ff" #strong = "#448888" [[CustomModule]] # The name will link the module in your left/center/right definition name = "CustomNotifications" # The default icon for this custom module icon = "" # The command that will be executed on click command = "swaync-client -t -sw" # You can optionally configure your custom module to update the UI using another command # The output right now follows the waybar json-style output, using the `alt` and `text` field # E.g. `{"text": "3", "alt": "notification"}` listen_cmd = "swaync-client -swb" # You can define behavior for the `text` and `alt` fields # Any number of regex can be used to change the icon based on the alt field icons.'dnd.*' = "" # Another regex can optionally show a red "alert" dot on the icon alert = ".*notification"