Skip to main content

Module sway

Module sway 

Source
Expand description

Sway colors

Sway colors are picked up using sway IPC for the current bar.

These are the available sway colors:

  • active_workspace_bg
  • active_workspace_border
  • active_workspace_text
  • background
  • binding_mode_bg
  • binding_mode_border
  • binding_mode_text
  • focused_background
  • focused_separator
  • focused_statusline
  • focused_workspace_bg
  • focused_workspace_border
  • focused_workspace_text
  • inactive_workspace_bg
  • inactive_workspace_border
  • inactive_workspace_text
  • separator
  • statusline
  • urgent_workspace_bg
  • urgent_workspace_border
  • urgent_workspace_text

You can see the current values for your bar with swaymsg -t get_bar_config <bar-name>.

Functionsยง

get_color