hacks.rc 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. # vim:set ft=gtkrc ts=2 sw=2 sts=2 ai et:
  2. #
  3. # This file contains horrible hacks to make this theme work with some programs
  4. # This is mostly due to the limitations of gtk2 but sometimes its the fault of
  5. # the programs themselves. Not going to point fingers.
  6. #
  7. # Either way, it's a WONTFIX for both, hence this horrible file.
  8. style "toplevel_hack" {
  9. engine "adwaita" {}
  10. }
  11. style "chrome_entry" {
  12. base[NORMAL] = @base_color
  13. base[INSENSITIVE] = @base_color
  14. }
  15. style "vim_notebook" {
  16. bg[NORMAL] = @base_color
  17. bg[ACTIVE] = @bg_color
  18. }
  19. # Vim puts an eventbox between the tab and the label and colours it,
  20. # we need to handle that
  21. widget "vim-main-window*GtkNotebook.GtkEventBox" style "vim_notebook"
  22. # (he)xchat input box
  23. class "SexySpellEntry" style:highest "normal_entry"
  24. # Chromium uses base as the fill colour of its own entries
  25. # This would be fine but Gtk+ uses it to fill the surrounding space, so its set to bg
  26. # That results in Chromium using it for the fill, so we need to handle that
  27. widget_class "*Chrom*<GtkEntry>" style "chrome_entry"
  28. # Hack to be able to match widgets in LibreOffice
  29. class "GtkWindow" style "toplevel_hack"