[[bar]]
height=32
blocks_left=[ "launcher", "workspace", "active_window"]
blocks_right=["layout", "sep", "disk_free", "sep", "clock"]
background="#191919dd"
position="top"

[[var]]
name="theme_color"
value="#c7f2bb"
#value="#facd5a"
#value="#f9dbff"
#value="#9cf7ff"

[[default_block]]
background="#191919dd"
active_background="#333333dd"
active_overline_color = "${theme_color}"
active_foreground = "${theme_color}"
active_output_format = '<span weight="bold">${value}</span>'

[[command]]
name="disk_free"
command="df -h / | tail -1 | awk '{print $5}'"
interval=60

[[command]]
name="clock"
command="date '+%a %b %e %H:%M:%S'"
interval=1

[[command]]
name="desktop"
command="oatbar-desktop"

[[command]]
name="keyboard"
command="oatbar-keyboard"

[[block]]
name="launcher"
type="text"
value="<span foreground='${theme_color}'>Run</span>"
on_mouse_left="rofi -show drun"

[[block]]
name = 'workspace'
type = 'enum'
active = '${desktop:workspace.active}'
variants = '${desktop:workspace.variants}'
on_mouse_left = "oatbar-desktop $BLOCK_INDEX"

[[block]]
name = 'layout'
type = 'text'
value = '${keyboard:layout.value}'
on_mouse_left = "oatbar-keyboard layout next"

[[block]]
name='disk_free'
type = 'text'
value = '<span foreground="${theme_color}"><b>/</b></span> ${disk_free:value}'

[[block]]
name = 'clock'
type = 'text'
value = '${clock:value}'

[[block]]
name='active_window'
type = 'text'
value = ':: ${desktop:window_title.value} ::'
show_if_matches = [['${desktop:window_title.value}','.+']]
pango_markup = false
on_mouse_left="rofi -show window"

[[block]]
name='sep'
type = 'text'
value = '|'
padding = 0.0
foreground = "#777777"
separator_type = 'gap'

