Update 20170219

This commit is contained in:
Nguyễn Gia Phong 2017-02-19 09:46:16 +07:00
parent a295db54fb
commit 18ff4bcb02
22 changed files with 6 additions and 848 deletions

View file

@ -1,701 +0,0 @@
# +---------------------------------------------------------------------------------------------------------------------------+------------- - ---+
# | GRUVNOX - Gtk theme for ECSTATiCA, powered by murrine ' estrayk@gmail.com |
# +--- - +
# | Copyright (C) 2009 estrayk '
# ,
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see http://www.gnu.org/licenses/.
#
# +--- -
# | REFERENCE
# ,
# typedef enum
# {
# GTK_SHADOW_NONE /* No outline. */,
# GTK_SHADOW_IN /* The outline is bevelled inwards. */,
# GTK_SHADOW_OUT /* The outline is bevelled outwards like a button. */,
# GTK_SHADOW_ETCHED_IN /* The outline has a sunken 3d appearance. */,
# GTK_SHADOW_ETCHED_OUT /* The outline has a raised 3d appearance. */
# } GtkShadowType;
#
# typedef enum
# {
# GTK_ARROWS_BOTH /* Place one arrow on each end of the menu. */,
# GTK_ARROWS_START /* Place both arrows at the top of the menu. */,
# GTK_ARROWS_END /* Place both arrows at the bottom of the menu. */
# } GtkArrowPlacement;
#
# typedef enum
# {
# GTK_TOOLBAR_ICONS /* Buttons display only icons in the toolbar. */,
# GTK_TOOLBAR_TEXT /* Buttons display only text labels in the toolbar. */,
# GTK_TOOLBAR_BOTH /* Buttons display text and icons in the toolbar. */,
# GTK_TOOLBAR_BOTH_HORIZ /* Buttons display icons and text alongside each other, rather than vertically stacked. */
# } GtkToolbarStyle;
#
# typedef enum
# {
# GTK_ICON_SIZE_INVALID ,
# GTK_ICON_SIZE_MENU ,
# GTK_ICON_SIZE_SMALL_TOOLBAR ,
# GTK_ICON_SIZE_LARGE_TOOLBAR ,
# GTK_ICON_SIZE_BUTTON ,
# GTK_ICON_SIZE_DND ,
# GTK_ICON_SIZE_DIALOG
# } GtkIconSize;
#
# +--- -
# | SETTINGS
# ,
gtk_color_scheme = "fg_color: #ebdbb2;bg_color: #282828;text_color: #3c3836;base_color: #fbf1c7;selected_fg_color: #ebdbb2;selected_bg_color: #b16286;tooltip_fg_color: #282828;tooltip_bg_color: #928374;clr_red: #EF2929;clr_grn: #8AE234;clr_blu:#729FCF"
gtk-icon-sizes = "gtk-button=16,16:gtk-menu=16,16:panel-button=16,16:panel-menu=16,16:gtk-large-toolbar=24,24" # gtk-toolbar=16,16:gtk-small-toolbar=16,16
gtk-menu-popup-delay = 100
gtk-button-images = 1
gtk-menu-images = 1
gtk-toolbar-icon-size = GTK_ICON_SIZE_LARGE_TOOLBAR
gtk-toolbar-style = GTK_TOOLBAR_ICONS
# +-----------------------------------------------------------------------------------------------------------------------------------------------+
# +-----------------------------------------------------------------------------------------------------------------------------------------------+
# | BASE STYLES
style "GRUVNOX" {
# +- -
# | GRUVNOX (CORE)
# +- -
# | PROPERTiES
# ,
GtkWidget :: focus-line-pattern = "\001\001" # Dash pattern used to draw the focus indicator.
GtkWidget :: focus-line-width = 1 # [ 1 ] ( >= 0 ) Width, in pixels, of the focus indicator line.
GtkWidget :: focus-padding = 1 # [ 1 ] ( >= 0 ) Width, in pixels, between focus indicator and the widget box.
GtkWidget :: interior-focus = 1 # [ 1 ] ( bool ) Draw the focus indicator inside widgets.
GtkWidget :: scroll-arrow-hlength = 16 # [ 16 ] ( >= 1 ) Length of horizontal scroll arrows.
GtkWidget :: scroll-arrow-vlength = 16 # [ 16 ] ( >= 1 ) Length of vertical scroll arrows.
GtkWidget :: link-color = shade(1.25, @clr_blu)
GtkWidget :: visited-link-color = shade(1.25, @clr_red)
# +- -
# | PROPERTiES (WINDOWS)
# +- -
GtkDialog :: action-area-border = 4 # [ 5 ] ( >= 0 ) Width of border around the button area at the bottom of the dialog.
GtkDialog :: button-spacing = 4 # [ 6 ] ( >= 0 ) Spacing between buttons.
GtkDialog :: content-area-border = 2 # [ 2 ] ( >= 0 ) Width of border around the main dialog area.
GtkDialog :: content-area-spacing = 0 # [ 0 ] ( >= 0 ) The default spacing used between elements of the content area of the dialog.
# +- -
# | PROPERTiES (CONTROLS)
# +- -
GtkButton :: child-displacement-x = 1 # [ 0 ] How far in x direction to move the button when its depressed.
GtkButton :: child-displacement-y = 1 # [ 0 ] ... y
GtkButton :: default-border = { 0, 0, 0, 0 } # Extra space to add for CAN_DEFAULT buttons.
GtkButton :: displace-focus = 0 # [ 0 ] ( bool ) Whether the child_displacement_x/child_displacement_y properties should also affect the focus rectangle.
GtkButton :: image-spacing = 2 # [ 2 ] ( >= 0 ) Spacing in pixels between the image and label.
GtkCheckButton :: indicator-size = 13 # [ 13 ] ( >= 0 ) Size of check or radio indicator.
GtkCheckButton :: indicator-spacing = 2 # [ 2 ] ( >= 0 ) Spacing around check or radio indicator.
GtkCheckMenuItem :: indicator-size = 13 # [ 13 ] ( >= 0 ) Size of check or radio indicator.
GtkOptionMenu :: indicator-size = { 6, 10 } # Size of dropdown indicator.
GtkOptionMenu :: indicator-spacing = { 6, 5, 0, 0 } # Spacing around indicator.
GtkComboBox :: appears-as-list = 0 # [ 0 ] ( bool ) Whether dropdowns should look like lists rather than menus.
GtkComboBox :: arrow-size = 13 # [ 15 ] ( >= 0 ) Sets the minimum size of the arrow in the combo box.
GtkComboBox :: shadow-type = GTK_SHADOW_NONE # [ GTK_SHADOW_NONE ] Which kind of shadow to draw around the combo box.
GtkPaned :: handle-size = 4 # [ 5 ] ( >= 0 ) Width of handle.
# GtkRange :: arrow-displacement-x = 0 # [ 0 ] How far in the x direction to move the arrow when the button is depressed.
# GtkRange :: arrow-displacement-y = 0 # [ 0 ] ... y
# GtkRange :: arrow-scaling = 0.3 # [ 0.5 ] ( 0.1 ) The arrow size proportion relative to the scroll button size.
# GtkRange :: stepper-size = 14 # [ 14 ] ( >= 0 ) Length of step buttons at ends.
# GtkRange :: stepper-spacing = 0 # [ 0 ] ( >= 0 ) The spacing between the stepper buttons and thumb. Note that setting this value to anything > 0 will automatically set the trough-under-steppers style property to TRUE as well. Also, stepper-spacing won't have any effect if there are no steppers.
# GtkRange :: trough-border = 1 # [ 1 ] ( >= 0 ) Spacing between thumb/steppers and outer trough bevel.
# GtkRange :: trough-under-steppers = 1 # [ 1 ] ( bool ) Whether to draw the trough across the full length of the range or to exclude the steppers and their spacing. Note that setting the "stepper-spacing" style property to any value > 0 will automatically enable trough-under-steppers too.
GtkScale :: activate-slider = 1 # [ 0 ] ( bool ) With this option set to TRUE, sliders will be drawn ACTIVE and with shadow IN while they are dragged.
GtkScale :: slider-length = 23 # [ 31 ] ( >= 0 ) Length of scale's slider.
GtkScale :: slider-width = 14 # [ 14 ] ( >= 0 ) Width of scrollbar or scale thumb.
GtkScale :: trough-side-details = 1 # [ 0 ] ( bool ) When TRUE, the parts of the trough on the two sides of the slider are drawn with different details.
GtkScrollbar :: activate-slider = 1 # [ 0 ] ( bool ) With this option set to TRUE, sliders will be drawn ACTIVE and with shadow IN while they are dragged.
GtkScrollbar :: arrow-scaling = 0.4 # [ 0.5 ] ( 0.1 ) The arrow size proportion relative to the scroll button size.
GtkScrollbar :: fixed-slider-length = 0 # [ 0 ] ( bool ) Don't change slider size, just lock it to the minimum length.
GtkScrollbar :: min-slider-length = 50 # [ 21 ] ( >= 0 ) Minimum length of scrollbar slider.
GtkScrollbar :: slider-width = 15 # [ 14 ] ( >= 0 ) Width of scrollbar or scale thumb.
GtkScrollbar :: stepper-spacing = 0 # [ 0 ] ( >= 0 ) The spacing between the stepper buttons and thumb. Note that setting this value to anything > 0 will automatically set the trough-under-steppers style property to TRUE as well. Also, stepper-spacing won't have any effect if there are no steppers.
GtkScrollbar :: trough-border = 0 # [ 1 ] ( >= 0 ) Spacing between thumb/steppers and outer trough bevel.
GtkScrollbar :: trough-side-details = 0 # [ 0 ] ( bool ) When TRUE, the parts of the trough on the two sides of the slider are drawn with different details.
GtkScrollbar :: trough-under-steppers = 1 # [ 1 ] ( bool ) Whether to draw the trough across the full length of the range or to exclude the steppers and their spacing. Note that setting the "stepper-spacing" style property to any value > 0 will automatically enable trough-under-steppers too.
GtkScrollbar :: has-backward-stepper = 0 # [ 1 ] ( bool ) Display the standard backward arrow button.
GtkScrollbar :: has-forward-stepper = 0 # [ 1 ] ( bool ) Display the standard forward arrow button.
GtkScrollbar :: has-secondary-backward-stepper = 0 # [ 0 ] ( bool ) Display a second backward arrow button on the opposite end of the scrollbar.
GtkScrollbar :: has-secondary-forward-stepper = 0 # [ 0 ] ( bool ) Display a second forward arrow button on the opposite end of the scrollbar.
GtkHScrollbar :: has-secondary-backward-stepper = 0 # [ 0 ] ( bool ) Display a second backward arrow button on the opposite end of the scrollbar.
GtkHScrollbar :: has-secondary-forward-stepper = 0 # [ 0 ] ( bool ) Display a second forward arrow button on the opposite end of the scrollbar.
GtkVScrollbar :: has-secondary-backward-stepper = 0 # [ 0 ] ( bool ) Display a second backward arrow button on the opposite end of the scrollbar.
GtkVScrollbar :: has-secondary-forward-stepper = 0 # [ 0 ] ( bool ) Display a second forward arrow button on the opposite end of the scrollbar.
# +-
# | PROPERTiES (MENUS)
# +-
GtkMenuBar :: internal-padding = 1 # [ 1 ] ( >= 0 ) Amount of border space between the menubar shadow and the menu items.
GtkMenuBar :: shadow-type = GTK_SHADOW_OUT # [ GTK_SHADOW_OUT ] Style of bevel around the menubar.
GtkMenu :: arrow-placement = GTK_ARROWS_BOTH # [ GTK_ARROWS_BOTH ] Indicates where scroll arrows should be placed.
GtkMenu :: arrow-scaling = 0.5 # [ 0.7 ] ( 0.1 ) Arbitrary constant to scale down the size of the scroll arrow.
GtkMenu :: double-arrows = 1 # [ 1 ] ( bool ) When scrolling, always show both arrows.
GtkMenu :: horizontal-offset = -2 # [ -2 ] When the menu is a submenu, position it this number of pixels offset horizontally.
GtkMenu :: horizontal-padding = 0 # [ 0 ] ( >= 0 ) Extra space at the left and right edges of the menu.
GtkMenu :: vertical-offset = 0 # [ 0 ] When the menu is a submenu, position it this number of pixels offset vertically.
GtkMenu :: vertical-padding = 0 # [ 0 ] ( >= 0 ) Extra space at the top and bottom of the menu.
GtkMenuItem :: arrow-scaling = 0.5 # [ 0.8 ] ( 0.2 ) Amount of space used up by arrow, relative to the menu item's font size.
GtkMenuItem :: arrow-spacing = 10 # [ 10 ] ( >= 0 ) Space between label and arrow.
GtkMenuItem :: horizontal-padding = 3 # [ 3 ] ( >= 0 ) Padding to left and right of the menu item.
GtkMenuItem :: selected-shadow-type = GTK_SHADOW_NONE # [ GTK_SHADOW_NONE ] Shadow type when item is selected.
GtkMenuItem :: toggle-spacing = 4 # [ 5 ] ( >= 0 ) Space between icon and label.
GtkMenuItem :: width-chars = 12 # [ 12 ] ( >= 0 ) The minimum desired width of the menu item in characters.
# +-
# | PROPERTiES (...)
# +-
GtkArrow :: arrow-scaling = 0.5 # [ 0.7 ] ( 0.1 ) Amount of space used up by arrow.
GtkNotebook :: arrow-spacing = 0 # [ 0 ] ( >= 0 ) Spacing between the scroll arrows and the tabs.
GtkNotebook :: tab-curvature = 1 # [ 1 ] ( >= 0 ) Size of tab curvature.
GtkNotebook :: tab-overlap = 1 # [ 2 ] Size of tab overlap area.
GtkTreeView :: horizontal-separator = 8 # [ 2 ] ( >= 0 ) Horizontal space between cells. Must be an even number.
GtkTreeView :: vertical-separator = 2 # [ 2 ] ( >= 0 ) Vertical space between cells. Must be an even number.
GtkEntry :: honors-transparent-bg-hint = 1 # [ 0 ] ( bool ) (Clearlooks) Without this, gecko will fill in the background of the entry.
# GtkToolbar::shadow_type = GTK_SHADOW_ETCHED_IN
# GtkExpander :: expander-size = 8
# GtkExpander :: expander-spacing = 20
xthickness = 1
ythickness = 1
# +-
# | COLORS
# +-
bg[NORMAL] = @bg_color
bg[PRELIGHT] = shade(1.1, @bg_color)
bg[ACTIVE] = shade(0.9, @bg_color)
bg[INSENSITIVE] = @bg_color
bg[SELECTED] = @selected_bg_color
fg[NORMAL] = @fg_color
fg[PRELIGHT] = @fg_color
fg[ACTIVE] = shade(0.9, @fg_color)
fg[INSENSITIVE] = shade(0.7, @bg_color)
fg[SELECTED] = @selected_fg_color
base[NORMAL] = @base_color
base[PRELIGHT] = @base_color
base[INSENSITIVE] = shade(1.0, @bg_color)
base[ACTIVE] = shade(0.9, @selected_bg_color)
base[SELECTED] = @selected_bg_color
text[NORMAL] = @text_color
text[PRELIGHT] = @text_color
text[ACTIVE] = @selected_fg_color
text[INSENSITIVE] = shade(0.7, @bg_color)
text[SELECTED] = @selected_fg_color
# +-
# | ENGiNE (MURRiNE)
# +-
engine "murrine" {
animation = TRUE # Animations on progressbars, radio and checkbuttons.
colorize_scrollbar = TRUE # Colorized scrollbars.
rgba = FALSE # RGBA support.
focus_color = @clr_blu
glazestyle = 0 # [ 0 ] (0) Flat, (1) Curved, (2) Concave, (3) Top Curved, (4) Beryl
glowstyle = 2 # [ 0 ] (0) Top, (1) Bottom, (2) Top & Bottom, (3) Horizontal, (4) Centered
lightborderstyle = 1 # [ 0 ] (0) Top, (1) All sides
listviewheaderstyle = 1 # [ 0 ] (0) Flat, (1) Glassy, (2) Raised
listviewstyle = 1 # [ 0 ] (0) NULL, (1) Dots
menustyle = 0 # [ 0 ] (0) No VStripe, (1) VStripe
menuitemstyle = 0 # [ 0 ] (0) Flat, (1) Glassy, (2) Striped
menubarstyle = 0 # [ 0 ] (0) Flat, (1) Glassy, (2) Gradient, (3) Striped
menubaritemstyle = 0 # [ 0 ] (0) MenuItem, (1) Button
progressbarstyle = 1 # [ 1 ] (0) NULL, (1) Stripes, (2) Cells
reliefstyle = 2 # [ 2 ] (0) Flat, (1) Inset, (2) Shadow
scrollbarstyle = 3 # [ 0 ] (0) NULL, (1) Circles, (2) Handles, (3) DStripes, (4) 3 & 2, (5) HStripes, (6) 5 & 2
sliderstyle = 1 # [ 0 ] (0) NULL, (1) Handles
stepperstyle = 0 # [ 0 ] (0) Classic, (1) Unified
toolbarstyle = 0 # [ 0 ] (0) Flat, (1) Glassy
contrast = 1.0 # [ 1.0 ] ( 0.10 ) ( 0 - 2 )
glow_shade = 1.2 # [ 1.0 ] ( 0.10 ) ( 0 - 2 )
highlight_shade = 1.0 # [ 1.1 ] ( 0.01 ) ( 0 - 2 )
lightborder_shade = 1.5 # [ 1.1 ] ( 0.01 ) ( 0 - 2 )
roundness = 2 # [ 1 ] ( 1.00 ) ( 0 - 8 )
gradient_shades = { 1.125, 1.05, 1.0, 0.875 }
}
}
style "GRUVNOX_BIG" {
# +- -
# | GRUVNOX (CORE x 2)
# ,
xthickness = 2
ythickness = 2
}
style "GRUVNOX_FAT" {
# +- -
# | GRUVNOX (CORE x 3)
# ,
xthickness = 3
ythickness = 3
}
style "GRUVNOX_BASE__BUTTON" = "GRUVNOX_FAT" {
# +- -
# | GRUVNOX -> BUTTON
# ,
bg[NORMAL] = shade(1.05, @bg_color) # bg default.
}
style "GRUVNOX_BASE__TOGGLE_CHECK_RADIO" = "GRUVNOX_FAT" {
# +- -
# | GRUVNOX -> TOGGLE
# ,
bg[PRELIGHT] = @bg_color # text hover.
}
style "GRUVNOX_BASE__TOGGLE_CHECK" = "GRUVNOX_BASE__TOGGLE_CHECK_RADIO" {
# +- -
# | GRUVNOX -> TOGGLE CHECK
# ,
bg[SELECTED] = shade(1.2, @selected_bg_color) # check bg fill.
text[NORMAL] = shade(0.4, @selected_bg_color) # check indicator default.
text[PRELIGHT] = shade(0.2, @selected_bg_color) # check indicator hover.
text[ACTIVE] = shade(0.6, @selected_bg_color) # check indicator press.
}
style "GRUVNOX_BASE__TOGGLE_RADIO" = "GRUVNOX_BASE__TOGGLE_CHECK_RADIO" {
# +- -
# | GRUVNOX -> TOGGLE RADIO
# ,
bg[SELECTED] = shade(1.2, @selected_bg_color) # radio bg fill.
text[NORMAL] = shade(0.4, @selected_bg_color) # radio indicator default.
text[PRELIGHT] = shade(0.2, @selected_bg_color) # radio indicator hover.
text[ACTIVE] = shade(0.6, @selected_bg_color) # radio indicator press.
}
style "GRUVNOX_BASE__EXPANDER" {
# +- -
# | GRUVNOX -> EXPANDER
# ,
bg[PRELIGHT] = @bg_color # no highlighed bg rectangle!
fg[NORMAL] = @fg_color # frame.
fg[PRELIGHT] = shade(1.2, @selected_bg_color) # hover.
base[NORMAL] = @selected_bg_color # frame bg.
}
style "GRUVNOX_BASE__MENU" = "GRUVNOX_BIG" {
# +- -
# | GRUVNOX -> MENU
# ,
bg[NORMAL] = shade(1.25, @bg_color) # bg default.
}
style "GRUVNOX_BASE__MENU_ITEM" = "GRUVNOX_BASE__MENU" {
# +- -
# | GRUVNOX -> MENU -> iTEM
# ,
xthickness = 1 #2
ythickness = 3 #3
GtkWidget :: separator-height = 0 # [ 0 ] ...
GtkWidget :: separator-width = 0 # [ 0 ] ...
GtkWidget :: wide-separators = 1 # [ 0 ] Configurable width and should be drawn using a box instead of a line.
bg[PRELIGHT] = shade(0.85, @bg_color) # bg active.
bg[SELECTED] = shade(0.85, @bg_color) # bg active.
text[NORMAL] = shade(1.4, @selected_bg_color) # check item indicator.
text[PRELIGHT] = shade(1.6, @selected_bg_color) # check item indicator hover.
}
style "GRUVNOX_BASE__MENUBAR" {
# +- -
# | GRUVNOX -> MENUBAR
# ,
bg[NORMAL] = @bg_color # bg default.
}
style "GRUVNOX_BASE__MENUBAR_ITEM" = "GRUVNOX_BASE__MENU_ITEM" {
# +- -
# | GRUVNOX -> MENUBAR -> iTEM
# ,
bg[PRELIGHT] = @bg_color # bg press, menu -> bg default.
}
style "GRUVNOX_BASE__NOTEBOOK" = "GRUVNOX_BIG" {
# +- -
# | GRUVNOX -> NOTEBOOK
# ,
bg[ACTIVE] = shade(0.8, @bg_color) # inactive tab bg.
}
style "GRUVNOX_BASE__TOOLBAR" = "GRUVNOX_BIG" {
# +- -
# | GRUVNOX -> TOOLBAR
# ,
}
style "GRUVNOX_BASE__TREEVIEW" {
# +- -
# | GRUVNOX -> TREEViEW
# ,
base[SELECTED] = mix(0.25, @base_color, @selected_bg_color) # selection bg.
base[ACTIVE] = mix(0.05, @base_color, @selected_bg_color) # selection no-focus bg.
}
style "GRUVNOX_BASE__RANGE" = "GRUVNOX_BASE__BUTTON" {
# +- -
# | GRUVNOX -> RANGE
# ,
xthickness = 1
ythickness = 1
}
style "GRUVNOX_BASE__RANGE_SCALE" = "GRUVNOX_BASE__RANGE" {
# +- -
# | GRUVNOX -> RANGE -> SCALE
# ,
bg[ACTIVE] = shade(1.25, @bg_color) # bg press.
}
style "GRUVNOX_BASE__RANGE_SCROLLBAR" = "GRUVNOX_BASE__RANGE" {
# +- -
# | GRUVNOX -> RANGE -> SCROLLBAR
# ,
bg[SELECTED] = mix(0.6, shade(1.1, @bg_color), @selected_bg_color) # slider bg.
}
style "GRUVNOX_BASE__TOOLTIP" = "GRUVNOX_FAT" {
# +- -
# | GRUVNOX -> TOOLTiP
# ,
bg[NORMAL] = @tooltip_bg_color
fg[NORMAL] = @tooltip_fg_color
}
# +-----------------------------------------------------------------------------------------------------------------------------------------------+
# +-----------------------------------------------------------------------------------------------------------------------------------------------+
# | WIDGET STYLES
# +---------- -
# | GtkBin [ (TOGGLE)BUTTON | EXPANDER ]
style "GRUVNOX__BUTTON" = "GRUVNOX_BASE__BUTTON" {
# +- -
# | GtkButton
# ,
engine "murrine" {}
}
style "GRUVNOX__TOGGLE_CHECK" = "GRUVNOX_BASE__TOGGLE_CHECK" {
# +- -
# | GtkButton -> GtkToggleButton -> GtkCheckButton
# ,
engine "murrine" {}
}
style "GRUVNOX__TOGGLE_RADIO" = "GRUVNOX_BASE__TOGGLE_RADIO" {
# +- -
# | GtkButton -> GtkToggleButton -> GtkCheckButton -> GtkRadioButton
# ,
engine "murrine" {}
}
style "GRUVNOX__EXPANDER" = "GRUVNOX_BASE__EXPANDER" {
# +- -
# | GtkExpander
# ,
}
# +---------- -
# | GtkContainer [ MENU(BAR) ]
style "GRUVNOX__MENU" = "GRUVNOX_BASE__MENU" {
# +- -
# | GtkMenuShell -> GtkMenu
# ,
engine "murrine" {}
}
style "GRUVNOX__MENU_ITEM" = "GRUVNOX_BASE__MENU_ITEM" {
# +- -
# | GtkItem -> GtkMenuItem
# ,
engine "murrine" {
roundness = 1
}
}
style "GRUVNOX__MENUBAR" = "GRUVNOX_BASE__MENUBAR" {
# +- -
# | GtkMenuShell -> GtkMenuBar
# ,
engine "murrine" {}
}
style "GRUVNOX__MENUBAR_ITEM" = "GRUVNOX_BASE__MENUBAR_ITEM" {
# +- -
# | GtkMenuShell -> GtkMenuBar -> x
# ,
engine "murrine" {}
}
# +---------- -
# | GtkContainer [ (NOTEBOOK|TOOLBAR) ]
style "GRUVNOX__NOTEBOOK" = "GRUVNOX_BASE__NOTEBOOK" {
# +- -
# | GtkNotebook
# ,
engine "murrine" {
contrast = 1.0
gradient_shades = { 1.85, 1.25, 1.2, 1.0 }
}
# engine "clearlooks" {
# disable_focus = TRUE
# contrast = 0.93
# radius = 2.0
# reliefstyle = 1
# style = GLOSSY # GLOSSY GUMMY INVERTED CLASSIC
# }
}
style "GRUVNOX__TOOLBAR" = "GRUVNOX_BASE__TOOLBAR" {
# +- -
# | GtkToolbar
# ,
}
# +---------- -
# | GtkContainer [ (LIST|TREE(VIEW)) ]
style "GRUVNOX__TREEVIEW" = "GRUVNOX_BASE__TREEVIEW" {
# +- -
# | GtkTreeView
# ,
fg[NORMAL] = @text_color # expander.
fg[PRELIGHT] = shade(1.6, @text_color) # ...
fg[ACTIVE] = @text_color # .
engine "murrine" {
gradient_shades = { 1.1, 1.05, 1.025, 0.9 }
}
}
style "GRUVNOX__TREEVIEW_HEADER" {
# +- -
# | GtkTreeView -> *header*
# ,
xthickness = 2
ythickness = 1
fg[NORMAL] = @fg_color # expander reset.
fg[PRELIGHT] = @fg_color # ...
fg[ACTIVE] = shade(0.9, @fg_color) # .
}
# +---------- -
# | GtkWidget [ ENTRY ]
style "GRUVNOX__ENTRY" = "GRUVNOX_FAT" {
# +- -
# | GtkEntry
# ,
engine "murrine" {}
}
style "GRUVNOX__ENTRY_SPIN" = "GRUVNOX_FAT" {
# +- -
# | GtkEntry -> GtkSpinButton
# ,
engine "murrine" {}
}
# +---------- -
# | GtkWidget [ SC(ALE|ROLLBAR) ]
style "GRUVNOX__RANGE_SCALE" = "GRUVNOX_BASE__RANGE_SCALE" {
# +- -
# | GtkRange -> GtkScale
# ,
engine "murrine" {
contrast = 1.15
}
}
style "GRUVNOX__RANGE_SCROLLBAR" = "GRUVNOX_BASE__RANGE_SCROLLBAR" {
# +- -
# | GtkRange -> GtkScrollbar
# ,
engine "murrine" {
contrast = 1.2
}
}
# +---------- -
# | G(tk)Object [ TOOLTIP ]
style "GRUVNOX__TOOLTIP" = "GRUVNOX_BASE__TOOLTIP" {
# +- -
# | GtkTooltip(s)
# ,
engine "murrine" {
gradient_shades = { 0.95, 1.0, 1.0, 0.95 }
}
}
# +-----------------------------------------------------------------------------------------------------------------------------------------------+
# +-----------------------------------------------------------------------------------------------------------------------------------------------+
# | MATCHES
# ,
class "GtkWidget" style "GRUVNOX"
class "GtkButton" style "GRUVNOX__BUTTON"
class "GtkCheckButton" style "GRUVNOX__TOGGLE_CHECK"
class "GtkRadioButton" style "GRUVNOX__TOGGLE_RADIO"
class "GtkExpander" style "GRUVNOX__EXPANDER"
class "GtkMenuBar" style "GRUVNOX__MENUBAR"
class "GtkMenu" style "GRUVNOX__MENU"
class "GtkMenuItem" style "GRUVNOX__MENU_ITEM"
class "GtkNotebook" style "GRUVNOX__NOTEBOOK"
class "GtkToolbar" style "GRUVNOX__TOOLBAR"
class "GtkTreeView" style "GRUVNOX__TREEVIEW"
class "GtkEntry" style "GRUVNOX__ENTRY"
class "GtkSpinButton" style "GRUVNOX__ENTRY_SPIN"
class "GtkRange" style "GRUVNOX_BASE__RANGE"
class "GtkScale" style "GRUVNOX__RANGE_SCALE"
class "GtkScrollbar" style "GRUVNOX__RANGE_SCROLLBAR"
# +- -
# | MATCHES (WiDGETS)
# ,
widget_class "*<GtkMenuBar>.*" style "GRUVNOX__MENUBAR_ITEM"
widget_class "*.<GtkTreeView>.<GtkButton>" style "GRUVNOX__TREEVIEW_HEADER"
widget_class "*.<GtkCTree>.<GtkButton>" style "GRUVNOX__TREEVIEW_HEADER"
widget_class "*.<GtkList>.<GtkButton>" style "GRUVNOX__TREEVIEW_HEADER"
widget_class "*.<GtkCList>.<GtkButton>" style "GRUVNOX__TREEVIEW_HEADER"
# +- -
# | MATCHES (SPECiAL)
# ,
widget "*gtk-tooltip*" style:highest "GRUVNOX__TOOLTIP"
# +-----------------------------------------------------------------------------------------------------------------------------------------------+
# +-----------------------------------------------------------------------------------------------------------------------------------------------+
# | WORKAROUNDS
# +-
# | CLEARLOOKS
style "FIX__TEXT_IS_FG_COLOR" {
# +- -
# | Wrokaround style for places where the text color is used instead of the fg color.
# ,
text[NORMAL] = @fg_color
text[PRELIGHT] = @fg_color
text[ACTIVE] = shade(0.9, @fg_color)
text[INSENSITIVE] = shade(0.7, @bg_color)
text[SELECTED] = @selected_fg_color
}
style "FIX__FG_IS_TEXT_COLOR" {
# +- -
# | Workaround style for places where the fg color is used instead of the text color.
# ,
fg[NORMAL] = @text_color
fg[PRELIGHT] = @text_color
fg[ACTIVE] = @selected_fg_color
fg[INSENSITIVE] = shade(0.7, @bg_color)
fg[SELECTED] = @selected_fg_color
}
widget_class "*.<GtkComboBox>.<GtkCellView>" style "FIX__TEXT_IS_FG_COLOR" # http://bugzilla.gnome.org/show_bug.cgi?id=382646
widget "*.gtk-combobox-popup-menu.*" style "FIX__TEXT_IS_FG_COLOR" # This is the part of the workaround that fixes the menus
widget_class "*<GtkListItem>*" style "FIX__FG_IS_TEXT_COLOR" # Work around the usage of GtkLabel inside GtkListItems to display text.
widget_class "*<GtkCList>" style "FIX__FG_IS_TEXT_COLOR" # GtkCList also uses the fg color to draw text on top of the base colors.
widget_class "*<EelEditableLabel>" style "FIX__FG_IS_TEXT_COLOR" # Nautilus when renaming files, and maybe other places.
# +- -
# | ANJUTA
widget_class "*GdlDockItemGrip*" style "FIX__TEXT_IS_FG_COLOR"
# +- -
# | GNOME
style "FIX__GNOME_CFG_CENTER" {
fg[ACTIVE] = shade(0.9, @fg_color)
fg[NORMAL] = @text_color
fg[PRELIGHT] = @fg_color
}
style "FIX__GNOME_PANEL" {
bg[NORMAL] = @bg_color
}
widget_class "*<BonoboDock>.*<ApplicationTile>*" style "FIX__GNOME_CFG_CENTER"
widget_class "*PanelWidget*" style "FIX__GNOME_PANEL"
# +- -
# | PiDGiN
widget_class "*<PidginStatusBox>.<GtkToggleButton>*" style "FIX__TEXT_IS_FG_COLOR" # Buddy list status combo.
# +- -
# | QUOD LiBET
widget_class "quodlibet+qltk+views+TreeViewHints*" style "GRUVNOX__TOOLTIP"
# +-----------------------------------------------------------------------------------------------------------------------------------------------+
# +-----------------------------------------------------------------------------------------------------------------------------------------------+
# +---------- -
# , Notifcation daemon (TEST)
#
style "GRUVNOX__IFY" {
bg[NORMAL] = shade(1.0, @text_color) # BG
bg[ACTIVE] = shade(0.8, @base_color) # BORDER
fg[NORMAL] = mix(0.5, @base_color, @clr_blu) # FG HEADER
fg[ACTIVE] = mix(0.5, @base_color, @clr_red) # FG HEADER CRITICAL
text[NORMAL] = @base_color
base[NORMAL] = mix(0.25, @text_color, @clr_blu) # NORMAL STRIPE
base[ACTIVE] = mix(0.25, @text_color, @clr_red) # CRITICAL ...
}
widget_class "gruvnoxify" style:highest "GRUVNOX__IFY" # libnotify (gruvnoxify)

View file

@ -52,6 +52,7 @@ editor = "gvim"
root_terminal = terminal .. " -e su -"
ranger = terminal .. " -e ranger"
python = terminal .. " -e python3"
guile = terminal .. " -e guile"
mutt = terminal .. " -e mutt"
cmus = terminal .. " -e cmus"
cmus_pause = "cmus-remote -u"
@ -75,7 +76,7 @@ modkey = "Mod4"
awful.layout.layouts = {
awful.layout.suit.tile,
-- awful.layout.suit.tile.left,
awful.layout.suit.tile.bottom,
-- awful.layout.suit.tile.bottom,
-- awful.layout.suit.tile.top,
-- awful.layout.suit.fair,
-- awful.layout.suit.fair.horizontal,
@ -359,6 +360,8 @@ globalkeys = awful.util.table.join(
{description = "open ranger file manager", group = "launcher"}),
awful.key({modkey}, "p", function() awful.spawn(python) end,
{description = "open Python 3 interpreter", group = "launcher"}),
awful.key({modkey}, "g", function() awful.spawn(guile) end,
{description = "open Guile interpreter", group = "launcher"}),
awful.key({modkey}, "z", function() awful.spawn("zathura") end,
{description = "open zathura document viewer", group = "launcher"}),
awful.key({modkey}, "m", function() awful.spawn(mutt) end,

Binary file not shown.

Binary file not shown.

Binary file not shown.

2
meta/.guile Normal file
View file

@ -0,0 +1,2 @@
(use-modules (ice-9 readline))
(activate-readline)

View file

@ -1,137 +0,0 @@
hi Boolean color: #cc241d;
hi Function color: #689d6a;
hi Null color: #458588;
hi Number color: #458588;
hi Object color: #d3869b;
hi String color: #98971a;
hi Mapping color: #b16286;
hi Key font-weight: bold;
hi Enabled color: #98971a;
hi Disabled color: #cc241d;
hi Normal color: #ebdbb2; background: #282828; font-family: Droid Sans Mono Slashed; font-size: 15px;
hi ErrorMsg color: #3c3836; background: #cc241d; font-weight: bold;
hi InfoMsg color: #b16286; background: #282828;
hi ModeMsg color: #3c3836; background: #98971a; border-radius: 1px; padding: 0px 5px;
hi MoreMsg color: #98971a; background: #282828;
hi WarningMsg color: #cc241d; background: #282828;
hi Message white-space: normal; min-width: 100%; padding-left: 2em; text-indent: -2em; display: block;
hi NonText color: #458588; min-height: 16px; padding-left: 2px;
hi Preview color: #928374;
hi Prompt background: url("chrome://liberator/skin/prompt.png"); width: 10px; background-position: center; background-repeat: no-repeat;
hi PromptText color: #3c3836; background: #d3869b;
hi CmdOutput white-space: pre;
hi CmdLine background: #282828; color: #ebdbb2; transition: all 0.25s;
hi CmdLine>* font-family: Droid Sans Mono Slashed; font-size: 15px;
hi ContentSeparator border-top: 1px dotted #928374; display: -moz-box;
hi CompGroup:not(:first-of-type) margin-top: 1ex; CompResult
hi CompTitle font-weight: bold; background: #32302f;
hi CompTitle>* color: #ebdbb2; border-top: 1px solid #1d2021; border-bottom: 1px solid #1d2021; padding: 1px 0.5ex; text-shadow: 1px 1px 0px #3c3836;
hi CompMsg font-style: italic; margin-left: 16px;
hi CompItem[selected] background: #458588; box-shadow: 0px 0px 1px #83a598;
hi CompItem>* height: 18px; min-height: 18px; padding: 0 0.5ex;
hi CompIcon width: 16px; min-width: 16px; display: inline-block; margin-right: .5ex;
hi CompIcon>img max-width: 16px; max-height: 16px; vertical-align: middle;
hi CompResult width: 500px; max-width: 500px; overflow: hidden;
hi CompDesc width: 500px; max-width: 500px; color: #d5c4a1;
hi Indicator color: #458588;
hi Filter border-radius: 2px; background: #fabd2f; color: #3c3836; border: 1px solid #fb4934;
hi Keyword color: #cc241d;
hi Tag color: #458588;
hi LineNr color: #d65d0e; background: #282828;
hi Question color: #98971a; background: #282828; font-weight: bold;
hi StatusLine color: #928374; background: transparent; font-weight: normal;
hi TabNumber font-weight: bold; margin: 0px; padding-right: .3ex;
hi Title color: #b16286; background: #282828; font-weight: bold;
hi URL text-decoration: none; color: #98971a;
hi URL:hover text-decoration: underline; cursor: pointer;
hi FrameIndicator background-color: #cc241d; opacity: 0.5; z-index: 999; position: fixed; top: 0; bottom: 0; left: 0; right: 0;
hi Bell border: none; background-color: #ebdbb2;
hi Hint font-family: Droid Sans Mono Slashed; font-size: 11px; font-weight: bold; text-transform: uppercase; color: #3c3836; background-color: #cc241d; border-color: ButtonShadow; border-width: 0px; border-style: solid; padding: 0px 1px 0px 1px;
hi Hint content: attr(number);
hi HintElem background-color: #d79921; color: #ebdbb2;
hi HintActive background-color: #b8bb26; color: #3c3836;
hi HintImage opacity: .5;
hi Help font-size: 8pt; line-height: 1.4em; font-family: -moz-fixed;
hi HelpArg color: #6A97D4;
hi HelpOptionalArg color: #6A97D4;
hi HelpBody display: block; margin: 1em auto; max-width: 100ex;
hi HelpBorder border-color: silver; border-width: 0px; border-style: solid;
hi HelpCode display: block; white-space: pre; margin-left: 2em; font-family: Droid Sans Mono Slashed
hi HelpDefault margin-right: 1ex; white-space: pre;
hi HelpDescription display: block;
hi HelpEm font-weight: bold; font-style: normal;
hi HelpEx display: inline-block; color: #527BBD; font-weight: bold;
hi HelpExample display: block; margin: 1em 0;
hi HelpExample::before content: "Example: "; font-weight: bold;
hi HelpInfo display: block; width: 20em; margin-left: auto;
hi HelpInfoLabel display: inline-block; width: 6em; color: #b16286; font-weight: bold; vertical-align: text-top;
hi HelpInfoValue display: inline-block; width: 14em; text-decoration: none; vertical-align: text-top;
hi HelpItem display: block; margin: 1em 1em 1em 10em; clear: both;
hi HelpKey color: #102663;
hi HelpLink text-decoration: none;
hi HelpLink[href]:hover text-decoration: underline;
hi HelpList display: block; list-style: outside disc;
hi HelpOrderedList display: block; list-style: outside decimal;
hi HelpListItem display: list-item;
hi HelpNote color: #cc241d; font-weight: bold;
hi HelpOpt color: #106326;
hi HelpOptInfo display: inline-block; margin-bottom: 1ex;
hi HelpParagraph display: block; margin: 1em 0em;
hi HelpParagraph:first-child margin-top: 0;
hi HelpSpec display: block; margin-left: -10em; float: left; clear: left; color: #b16286;
hi HelpString display: inline-block; color: #98971a; font-weight: normal; vertical-align: text-top;
hi HelpString::before content: '"';
hi HelpString::after content: '"';
hi HelpHead display: block; margin: 1em 0; padding-bottom: .2ex; border-bottom-width: 1px; font-size: 2em; font-weight: bold; color: #527BBD; clear: both;
hi HelpSubhead display: block; margin: 1em 0; padding-bottom: .2ex; border-bottom-width: 1px; font-size: 1.2em; font-weight: bold; color: #527BBD; clear: both;
hi HelpSubsubhead display: block; margin: 1em 0; padding-bottom: .2ex; font-size: 1.1em; font-weight: bold; color: #527BBD; clear: both;
hi HelpTab display: table; width: 100%; margin: 1em 0; border-bottom-width: 1px; border-top-width: 1px; padding: .5ex 0; table-layout: fixed;
hi HelpTabColumn display: table-column;
hi HelpTabColumn:first-child width: 25%;
hi HelpTabTitle display: table-cell; padding: .1ex 1ex; font-weight: bold;
hi HelpTabDescription display: table-cell; padding: .1ex 1ex; border-width: 0px;
hi HelpTabRow display: table-row;
hi HelpTag display: inline-block; color: #999; margin-left: 1ex; font-size: 8pt; font-weight: bold;
hi HelpTags display: block; float: right; clear: right;
hi HelpTopic color: #102663;
hi HelpType margin-right: 2ex;
hi HelpWarning color: #cc241d; font-weight: bold;

View file

@ -1,9 +0,0 @@
set gui=none
set popups=window
colorscheme gruvbox
map <C-c> <S-y>
map <Space> <C-d>
map <S-Space> <C-u>
map F ;w
map <A-r> :open https://www.reddit.com/
map <A-c> :open http://c.xkcd.com/random/comic<CR>