From e7e81edc6a0827733f964f103959cc3193eef8f3 Mon Sep 17 00:00:00 2001 From: Horst3180 Date: Sat, 13 Jun 2015 19:56:02 +0200 Subject: [PATCH] add xfce notification theme --- README.md | 1 + common/Makefile.am | 5 +++ common/xfce-notify-4.0/gtkrc | 72 ++++++++++++++++++++++++++++++++++++ configure.ac | 1 + 4 files changed, 79 insertions(+) create mode 100644 common/xfce-notify-4.0/gtkrc diff --git a/README.md b/README.md index b6f022b..1b85966 100644 --- a/README.md +++ b/README.md @@ -78,6 +78,7 @@ Other options to pass to autogen.sh are --disable-metacity disable Metacity support --disable-unity disable Unity support --disable-xfwm disable XFWM support + --disable-xfce-notify disable XFCE Notify support --disable-transparency disable transparency in the GTK3 theme --with-gnome= build the theme for a specific Gnome version (3.14, 3.16) diff --git a/common/Makefile.am b/common/Makefile.am index 5b6e995..eb681fb 100644 --- a/common/Makefile.am +++ b/common/Makefile.am @@ -44,6 +44,11 @@ if ENABLE_UNITY endif # ENABLE_UNITY +if ENABLE_XFCE_NOTIFY + cp -r --no-preserve=mode,ownership $(srcdir)/xfce-notify-4.0 $(ithemedir) +endif # ENABLE_XFCE_NOTIFY + + if ENABLE_XFWM cp -r --no-preserve=mode,ownership $(srcdir)/xfwm4 $(ithemedir) endif # ENABLE_XFWM diff --git a/common/xfce-notify-4.0/gtkrc b/common/xfce-notify-4.0/gtkrc new file mode 100644 index 0000000..5958d45 --- /dev/null +++ b/common/xfce-notify-4.0/gtkrc @@ -0,0 +1,72 @@ +style "notify-window" { + XfceNotifyWindow::summary-bold = 1 + XfceNotifyWindow::border-color = "#101114" + XfceNotifyWindow::border-color-hover = "#101114" + XfceNotifyWindow::border-radius = 3.0 + XfceNotifyWindow::border-width = 1.0 + XfceNotifyWindow::border-width-hover = 1.0 + + bg[NORMAL] = "#25272D" +} + +style "notify-button" { + bg[NORMAL] = "#434652" + bg[PRELIGHT] = "#5C6070" + bg[ACTIVE] = @selected_bg_color + + fg[NORMAL] = "#A8ADB5" + fg[PRELIGHT] = "#A8ADB5" + fg[ACTIVE] = @selected_fg_color + + engine "murrine" { + gradient_shades = { 1.0, 1.0, 1.0, 1.0 } + border_shades = { 1.0, 1.0 } + roundness = 2 + textstyle = 0 + } +} + +style "notify-text" { + GtkWidget::link-color = @link_color + + fg[NORMAL] = "#C0C5CF" + fg[PRELIGHT] = "#C0C5CF" + fg[ACTIVE] = "#C0C5CF" + + engine "murrine" { + textstyle = 0 + } +} + +style "notify-summary" { + font_name = "Bold" +} + +style "notify-progressbar" { + GtkProgressBar::min-horizontal-bar-height = 4 + + xthickness = 0 + ythickness = 0 + + fg[PRELIGHT] = "#000000" + bg[NORMAL] = @selected_bg_color + bg[ACTIVE] = "#131417" + bg[SELECTED] = @selected_bg_color + + engine "murrine" { + gradient_shades = { 1.0, 1.0, 1.0, 1.0 } + border_shades = { 1.0, 1.0 } + trough_shades = { 1.0, 1.0 } + trough_border_shades = { 1.0, 1.0 } + progressbarstyle = 0 + roundness = 2 + textstyle = 0 + } +} + +class "XfceNotifyWindow" style "notify-window" +widget "XfceNotifyWindow.*.summary" style "notify-summary" +widget_class "XfceNotifyWindow.*" style "notify-button" +widget_class "XfceNotifyWindow.*." style "notify-text" +widget_class "XfceNotifyWindow.*." style "notify-progressbar" +widget_class "XfceNotifyWindow.*." style "notify-progressbar" diff --git a/configure.ac b/configure.ac index 01db563..9e0c45f 100644 --- a/configure.ac +++ b/configure.ac @@ -18,6 +18,7 @@ ARC_ENABLE([GTK3], [gtk3], [GTK3], [disable]) ARC_ENABLE([METACITY], [metacity], [Metacity], [disable]) ARC_ENABLE([UNITY], [unity], [Unity], [disable]) ARC_ENABLE([XFWM], [xfwm], [XFWM], [disable]) +ARC_ENABLE([XFCE_NOTIFY], [xfce-notify], [XFCE Notify], [disable]) ARC_ENABLE([TRANSPARENCY], [transparency], [transparency], [disable]) ARC_GNOME