howm
More...
#include <stdbool.h>
#include <stdint.h>
#include <xcb/xcb.h>
#include <xcb/xcb_ewmh.h>
#include <xcb/xproto.h>
#include "layout.h"
#include "types.h"
Go to the source code of this file.
|
void | howm_info (void) |
| Print debug information about the current state of howm. More...
|
|
uint32_t | get_colour (char *colour) |
| Converts a hexcode colour into an X11 colourmap pixel. More...
|
|
void | quit (const int exit_status) |
| Quit howm and set the return value. More...
|
|
void | spawn (char *cmd[]) |
| Spawns a command. More...
|
|
howm
- Author
- Harvey Hunt
- Date
- 2015
#define CONF_NAME "howmrc" |
#define DEF_BORDER_FOCUS "#FFFFFF" |
#define DEF_BORDER_PREV_FOCUS "#444444" |
#define DEF_BORDER_UNFOCUS "#333333" |
#define DEF_BORDER_URGENT "#FF0000" |
#define DEF_SOCK_PATH "/tmp/howm" |
#define ENV_SOCK_VAR "HOWM_SOCK" |
#define HOWM_PATH "/usr/bin/howm" |
#define IPC_BUF_SIZE 1024 |
Enumerator |
---|
OPERATOR_STATE |
|
COUNT_STATE |
|
MOTION_STATE |
|
END_STATE |
|
uint32_t get_colour |
( |
char * |
colour | ) |
|
Converts a hexcode colour into an X11 colourmap pixel.
- Parameters
-
colour | A string of the format "#RRGGBB", that will be interpreted as a colour code. |
- Returns
- An X11 colourmap pixel.
Print debug information about the current state of howm.
This can be parsed by programs such as scripts that will pipe their input into a status bar.
xcb_ewmh_connection_t* ewmh |
const char* WM_ATOM_NAMES[] |
unsigned int workspace_cnt |