summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/default-theme.h167
-rw-r--r--include/mode-private.h2
-rw-r--r--include/widgets/textbox.h20
-rw-r--r--include/x11-helper.h5
4 files changed, 94 insertions, 100 deletions
diff --git a/include/default-theme.h b/include/default-theme.h
index dc8e7fa2..f26540f2 100644
--- a/include/default-theme.h
+++ b/include/default-theme.h
@@ -1,88 +1,87 @@
#ifndef ROFI_DEFAULT_THEME
-#define ROFI_DEFAULT_THEME
+#define ROFI_DEFAULT_THEME
const char *default_theme =
-"* {"
-" spacing: 2;"
-" background: #00000000;"
-"}"
-"#window {"
-" border: 1;"
-" foreground: #FF002B36;"
-" padding: 5;"
-" background: #FFFDF6E3;"
-"}"
-"#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;"
-" background: #FFFDF6E3;"
-"}"
-"#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: #FFFDF6E3;"
-"}";
+ "* {"
+ " 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 e667fc60..78fd2725 100644
--- a/include/x11-helper.h
+++ b/include/x11-helper.h
@@ -18,10 +18,5 @@
*/
gboolean x11_parse_key ( const char *combo, unsigned int *mod, xkb_keysym_t *key, gboolean *release, GString * );
-
-
-
-
-
/*@}*/
#endif