04 December 2011

Useful GTK+ 2.x styling

Update: add "GtkWidget::focus-line-width"

If you want to make your terminal emulator smaller, paste those settings below to your "$HOME/.gtkrc-2.0".

Or use the environment variable GTK2_RC_FILES to assign evilvte-only styling.

For example:
~$ GTK2_RC_FILES=$HOME/.config/evilvte/gtkrc-2.0 evilvte &

Next release of evilvte will include "GtkButton::inner-border = { 0, 0, 0, 0 }" as default setting.
style "evilvte_close_button"
{
  GtkButton::default-border = { 0, 0, 0, 0 }
  GtkButton::default-outside-border = { 0, 0, 0, 0 }
  GtkButton::inner-border = { 0, 0, 0, 0 }
  xthickness = 0
  ythickness = 0
}
widget_class "*.GtkNotebook.GtkHBox.GtkButton" style "evilvte_close_button"

style "evilvte_notebook"
{
  xthickness = 0
  ythickness = 0
}
widget_class "*.GtkNotebook" style "evilvte_notebook"

style "evilvte_vte"
{
  VteTerminal::inner-border = { 0, 0, 0, 0 }
}
widget_class "*.VteTerminal" style "evilvte_vte"

style "evilvte_focus-line"
{
  GtkWidget::focus-line-width = 0
}
widget_class "*" style "evilvte_focus-line"

No comments:

Post a Comment