diff options
author | Dave Davenport <qball@gmpclient.org> | 2017-03-31 13:47:44 +0200 |
---|---|---|
committer | Dave Davenport <qball@gmpclient.org> | 2017-03-31 13:47:44 +0200 |
commit | 9ae1344d565e670626ccb6fe27bf731ba47fdbe0 (patch) | |
tree | b32ee7680544cf1510bf107d564186a451204936 /include | |
parent | d31fc5c8bc4d888b3a43aa9e09fbabb8df371a64 (diff) |
Improve error message when called with `-show`
Diffstat (limited to 'include')
-rw-r--r-- | include/default-theme.h | 166 | ||||
-rw-r--r-- | include/mode-private.h | 2 | ||||
-rw-r--r-- | include/widgets/textbox.h | 20 | ||||
-rw-r--r-- | include/x11-helper.h | 1 |
4 files changed, 94 insertions, 95 deletions
diff --git a/include/default-theme.h b/include/default-theme.h index b272ef4e..f26540f2 100644 --- a/include/default-theme.h +++ b/include/default-theme.h @@ -1,87 +1,87 @@ #ifndef ROFI_DEFAULT_THEME -#define ROFI_DEFAULT_THEME +#define ROFI_DEFAULT_THEME const char *default_theme = -"* {" -" spacing: 2;" -" background: #FFFDF6E3;" -"}" -"#window {" -" border: 1;" -" foreground: #FF002B36;" -" padding: 5;" -" background: @background;" -"}" -"#window.mainbox {" -" border: 0;" -" padding: 0;" -"}" -"#window.mainbox.message.box {" -" border: 1px dash 0px 0px ;" -" padding: 2px 0px 0px ;" -"}" -"#window.mainbox.message.normal {" -" foreground: #FF002B36;" -"}" -"#window.mainbox.listview {" -" fixed-height: 0;" -" border: 1px dash 0px 0px ;" -" columns: 1;" -" padding: 2px 0px 0px ;" -"}" -"#window.mainbox.listview.element {" -" border: 0;" -"}" -"#window.mainbox.listview.element.normal.normal {" -" foreground: #FF002B36;" -" background: #FFFDF6E3;" -"}" -"#window.mainbox.listview.element.normal.urgent {" -" foreground: #FFDC322F;" -" background: #FFFDF6E3;" -"}" -"#window.mainbox.listview.element.normal.active {" -" foreground: #FF268BD2;" -" background: #FFFDF6E3;" -"}" -"#window.mainbox.listview.element.selected.normal {" -" foreground: #FFEEE8D5;" -" background: #FF586E75;" -"}" -"#window.mainbox.listview.element.selected.urgent {" -" foreground: #FFFDF6E3;" -" background: #FFDC322F;" -"}" -"#window.mainbox.listview.element.selected.active {" -" foreground: #FFFDF6E3;" -" background: #FF268BD2;" -"}" -"#window.mainbox.listview.element.alternate.normal {" -" foreground: #FF002B36;" -" background: #FFEEE8D5;" -"}" -"#window.mainbox.listview.element.alternate.urgent {" -" foreground: #FFDC322F;" -" background: #FFEEE8D5;" -"}" -"#window.mainbox.listview.element.alternate.active {" -" foreground: #FF268BD2;" -" background: #FFEEE8D5;" -"}" -"#window.mainbox.listview.scrollbar {" -" border: 0;" -" padding: 0;" -"}" -"#window.mainbox.sidebar.box {" -" border: 1px dash 0px 0px ;" -"}" -"#window.mainbox.inputbar {" -" spacing: 0;" -"}" -"#window.mainbox.inputbar.box {" -"}" -"#window.mainbox.inputbar.normal {" -" foreground: #FF002B36;" -" background: @background;" -"}"; + "* {" + " spacing: 2;" + " background: #FFFDF6E3;" + "}" + "#window {" + " border: 1;" + " foreground: #FF002B36;" + " padding: 5;" + " background: @background;" + "}" + "#window.mainbox {" + " border: 0;" + " padding: 0;" + "}" + "#window.mainbox.message.box {" + " border: 1px dash 0px 0px ;" + " padding: 2px 0px 0px ;" + "}" + "#window.mainbox.message.normal {" + " foreground: #FF002B36;" + "}" + "#window.mainbox.listview {" + " fixed-height: 0;" + " border: 1px dash 0px 0px ;" + " columns: 1;" + " padding: 2px 0px 0px ;" + "}" + "#window.mainbox.listview.element {" + " border: 0;" + "}" + "#window.mainbox.listview.element.normal.normal {" + " foreground: #FF002B36;" + " background: #FFFDF6E3;" + "}" + "#window.mainbox.listview.element.normal.urgent {" + " foreground: #FFDC322F;" + " background: #FFFDF6E3;" + "}" + "#window.mainbox.listview.element.normal.active {" + " foreground: #FF268BD2;" + " background: #FFFDF6E3;" + "}" + "#window.mainbox.listview.element.selected.normal {" + " foreground: #FFEEE8D5;" + " background: #FF586E75;" + "}" + "#window.mainbox.listview.element.selected.urgent {" + " foreground: #FFFDF6E3;" + " background: #FFDC322F;" + "}" + "#window.mainbox.listview.element.selected.active {" + " foreground: #FFFDF6E3;" + " background: #FF268BD2;" + "}" + "#window.mainbox.listview.element.alternate.normal {" + " foreground: #FF002B36;" + " background: #FFEEE8D5;" + "}" + "#window.mainbox.listview.element.alternate.urgent {" + " foreground: #FFDC322F;" + " background: #FFEEE8D5;" + "}" + "#window.mainbox.listview.element.alternate.active {" + " foreground: #FF268BD2;" + " background: #FFEEE8D5;" + "}" + "#window.mainbox.listview.scrollbar {" + " border: 0;" + " padding: 0;" + "}" + "#window.mainbox.sidebar.box {" + " border: 1px dash 0px 0px ;" + "}" + "#window.mainbox.inputbar {" + " spacing: 0;" + "}" + "#window.mainbox.inputbar.box {" + "}" + "#window.mainbox.inputbar.normal {" + " foreground: #FF002B36;" + " background: @background;" + "}"; #endif diff --git a/include/mode-private.h b/include/mode-private.h index e047bee8..c5613a5c 100644 --- a/include/mode-private.h +++ b/include/mode-private.h @@ -104,7 +104,7 @@ typedef char* ( *_mode_preprocess_input )( Mode *sw, const char *input ); * * @returns the (valid pango markup) message to display. */ -typedef char * (*_mode_get_message )( const Mode *sw ); +typedef char * ( *_mode_get_message )( const Mode *sw ); /** * Structure defining a switcher. diff --git a/include/widgets/textbox.h b/include/widgets/textbox.h index 0944f709..a1c77445 100644 --- a/include/widgets/textbox.h +++ b/include/widgets/textbox.h @@ -45,16 +45,16 @@ typedef struct */ typedef enum { - TB_AUTOHEIGHT = 1 << 0, - TB_AUTOWIDTH = 1 << 1, - TB_LEFT = 1 << 16, - TB_RIGHT = 1 << 17, - TB_CENTER = 1 << 18, - TB_EDITABLE = 1 << 19, - TB_MARKUP = 1 << 20, - TB_WRAP = 1 << 21, - TB_PASSWORD = 1 << 22, - TB_INDICATOR = 1 << 23, + TB_AUTOHEIGHT = 1 << 0, + TB_AUTOWIDTH = 1 << 1, + TB_LEFT = 1 << 16, + TB_RIGHT = 1 << 17, + TB_CENTER = 1 << 18, + TB_EDITABLE = 1 << 19, + TB_MARKUP = 1 << 20, + TB_WRAP = 1 << 21, + TB_PASSWORD = 1 << 22, + TB_INDICATOR = 1 << 23, } TextboxFlags; /** * Flags indicating current state of the textbox. diff --git a/include/x11-helper.h b/include/x11-helper.h index dec570d4..4589ce7c 100644 --- a/include/x11-helper.h +++ b/include/x11-helper.h @@ -196,7 +196,6 @@ extern xcb_colormap_t map; */ void x11_create_visual_and_colormap ( void ); - /** * Gets a surface containing the background image of the desktop. * |