mirror of
https://github.com/swaywm/sway.git
synced 2026-05-04 06:46:25 -04:00
Port swaybar tray files to 0.15 and fix compiling
This commit is contained in:
parent
d3eaf6468c
commit
a20f21281f
15 changed files with 2354 additions and 34 deletions
|
|
@ -1,20 +1,32 @@
|
|||
executable(
|
||||
'swaybar', [
|
||||
'bar.c',
|
||||
'config.c',
|
||||
'event_loop.c',
|
||||
'i3bar.c',
|
||||
'ipc.c',
|
||||
'main.c',
|
||||
'render.c',
|
||||
'status_line.c',
|
||||
],
|
||||
sources = [
|
||||
'bar.c',
|
||||
'config.c',
|
||||
'event_loop.c',
|
||||
'i3bar.c',
|
||||
'ipc.c',
|
||||
'main.c',
|
||||
'render.c',
|
||||
'status_line.c'
|
||||
]
|
||||
|
||||
if enable_tray and libdbus.found()
|
||||
sources += [
|
||||
'tray/dbus.c',
|
||||
'tray/icon.c',
|
||||
'tray/sni.c',
|
||||
'tray/sni_watcher.c',
|
||||
'tray/tray.c'
|
||||
]
|
||||
endif
|
||||
|
||||
executable('swaybar', sources,
|
||||
include_directories: [sway_inc],
|
||||
dependencies: [
|
||||
cairo,
|
||||
client_protos,
|
||||
gdk_pixbuf,
|
||||
jsonc,
|
||||
libdbus,
|
||||
math,
|
||||
pango,
|
||||
pangocairo,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue