Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Urgent Hint Notification - Blinking Window Button #17

Open
cinquecento opened this issue Aug 4, 2016 · 0 comments
Open

Urgent Hint Notification - Blinking Window Button #17

cinquecento opened this issue Aug 4, 2016 · 0 comments

Comments

@cinquecento
Copy link

cinquecento commented Aug 4, 2016

How reproduce:        

xfce4-terminal - A Terminal emulator for X

~/.config/xfce4/terminal/terminalrc 
[Configuration]
MiscBellUrgent=TRUE

Within   xfce4-terminal

$ xdotool windowminimize $(xdotool getactivewindow) ; sleep 5 ; echo -e '\a'

xterm - terminal emulator for X

~/.Xresources
XTerm*bellIsUrgent: True

Within   xterm

$ xrdb -merge .Xresources
$ xdotool windowminimize $(xdotool getactivewindow) ; sleep 5 ; echo -e '\a'

[PATCH]
Widget "XfceTasklist" style "window-buttons" bg[SELECTED] from Greybird theme,
to achieve the necessary contrast for Urgent Hint Notification - Blinking Window Button,
currently the contrast is barely noticeable.


---
 gtk-2.0/apps/xfce-panel.rc | 7 +++++++
 gtk-2.0/gtkrc              | 3 +++
 2 files changed, 10 insertions(+)
 create mode 100644 gtk-2.0/apps/xfce-panel.rc

diff --git a/gtk-2.0/apps/xfce-panel.rc b/gtk-2.0/apps/xfce-panel.rc
new file mode 100644
index 0000000..a907565
--- /dev/null
+++ b/gtk-2.0/apps/xfce-panel.rc
@@ -0,0 +1,7 @@
+style "window-buttons" = "theme-panel"
+{
+   bg[SELECTED]    = shade (0.85, @selected_bg_color)
+}
+
+# Override general panel-style with specific plugin-styles
+widget "*XfceTasklist*"            style "window-buttons"
diff --git a/gtk-2.0/gtkrc b/gtk-2.0/gtkrc
index 7489b6b..8d89fda 100644
--- a/gtk-2.0/gtkrc
+++ b/gtk-2.0/gtkrc
@@ -721,3 +721,6 @@ widget_class "*GimpToolbox*" style "performance-fix"
 widget_class "*GimpMenuDock*" style "performance-fix"
 widget "*OOoFixed*" style "performance-fix" # Openoffice/Libreoffice
 widget_class "*MozContainer*" style "performance-fix" # Firefox (Not sure if this one does anything though.)
+
+# panel theming
+include "apps/xfce-panel.rc"
-- 
2.7.4
@cinquecento cinquecento changed the title Urgent Hint Notification Urgent Hint Notification - Blinking Window Button Aug 7, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant