aboutsummaryrefslogtreecommitdiff
path: root/swaybar/bar.h
diff options
context:
space:
mode:
authorMikkel Oscar Lyderik <mikkeloscar@gmail.com>2016-01-24 15:55:58 +0100
committerMikkel Oscar Lyderik <mikkeloscar@gmail.com>2016-01-24 15:55:58 +0100
commited227f5664196d85194d63d01a5382499867a386 (patch)
tree0474bff44ae5880fd3336a0a9dd04641793f153e /swaybar/bar.h
parent4b48a8399a33f3bb5f5d55f87213bb4692a5f1f9 (diff)
swaybar: move headers to include/bar
Diffstat (limited to 'swaybar/bar.h')
-rw-r--r--swaybar/bar.h55
1 files changed, 0 insertions, 55 deletions
diff --git a/swaybar/bar.h b/swaybar/bar.h
deleted file mode 100644
index 89496da6..00000000
--- a/swaybar/bar.h
+++ /dev/null
@@ -1,55 +0,0 @@
-#ifndef _SWAYBAR_BAR_H
-#define _SWAYBAR_BAR_H
-
-#include "client/registry.h"
-#include "client/window.h"
-#include "list.h"
-
-struct bar {
- struct config *config;
- struct status_line *status;
- struct output *output;
- /* list_t *outputs; */
-
- int ipc_event_socketfd;
- int ipc_socketfd;
- int status_read_fd;
- pid_t status_command_pid;
-};
-
-struct output {
- struct window *window;
- struct registry *registry;
- list_t *workspaces;
- char *name;
-};
-
-struct workspace {
- int num;
- char *name;
- bool focused;
- bool visible;
- bool urgent;
-};
-
-/**
- * Setup bar.
- */
-void bar_setup(struct bar *bar, const char *socket_path, const char *bar_id, int desired_output);
-
-/**
- * Bar mainloop.
- */
-void bar_run(struct bar *bar);
-
-/**
- * free workspace list.
- */
-void free_workspaces(list_t *workspaces);
-
-/**
- * Teardown bar.
- */
-void bar_teardown(struct bar *bar);
-
-#endif /* _SWAYBAR_BAR_H */