dotfiles

dot files in ~
git clone git://git.unixkoans.com/dotfiles.git
Log | Files | Refs

commit 085c6059a6873d619eea93b372ae82f6e97fa40d
Author: Xiaodong Xu <[email protected]>
Date:   Sat May 19 01:01:39 +0800

Initial commit

Diffstat:
.Xdefaults | 45+++++++++++++++++++++++++++++++++++++++++++++
.Xdefaults.d/colors/crshd | 39+++++++++++++++++++++++++++++++++++++++
.Xdefaults.d/colors/lich | 22++++++++++++++++++++++
.Xdefaults.d/colors/molokai | 23+++++++++++++++++++++++
.Xdefaults.d/colors/nu | 38++++++++++++++++++++++++++++++++++++++
.Xdefaults.d/colors/solarized | 47+++++++++++++++++++++++++++++++++++++++++++++++
.Xdefaults.d/colors/solarized_dark | 29+++++++++++++++++++++++++++++
.Xdefaults.d/colors/tango | 38++++++++++++++++++++++++++++++++++++++
.Xdefaults.d/colors/zenburn | 39+++++++++++++++++++++++++++++++++++++++
.Xdefaults.d/fonts/dejavu_droid | 9+++++++++
.Xdefaults.d/fonts/dina_wqy | 9+++++++++
.Xdefaults.d/fonts/envycoder_droid | 9+++++++++
.Xdefaults.d/fonts/inconsolata_droid | 9+++++++++
.Xdefaults.d/fonts/lokaltog_wqy | 11+++++++++++
.Xdefaults.d/fonts/mensch_droid | 9+++++++++
.Xdefaults.d/fonts/terminus_wqy | 9+++++++++
.bashrc | 41+++++++++++++++++++++++++++++++++++++++++
.conkyrc | 22++++++++++++++++++++++
.dico/bat.xpm | 20++++++++++++++++++++
.dico/cal.xpm | 20++++++++++++++++++++
.dico/chat.xpm | 22++++++++++++++++++++++
.dico/cpu.xpm | 20++++++++++++++++++++
.dico/crypto.xpm | 22++++++++++++++++++++++
.dico/disk.xpm | 20++++++++++++++++++++
.dico/down.xpm | 20++++++++++++++++++++
.dico/info.xpm | 23+++++++++++++++++++++++
.dico/mail.xpm | 20++++++++++++++++++++
.dico/mem.xpm | 20++++++++++++++++++++
.dico/music.xpm | 22++++++++++++++++++++++
.dico/pacman.xpm | 22++++++++++++++++++++++
.dico/phones.xpm | 22++++++++++++++++++++++
.dico/power.xpm | 22++++++++++++++++++++++
.dico/rss.xpm | 22++++++++++++++++++++++
.dico/sat.xpm | 22++++++++++++++++++++++
.dico/temp.xpm | 22++++++++++++++++++++++
.dico/time.xpm | 20++++++++++++++++++++
.dico/up.xpm | 20++++++++++++++++++++
.dico/vol.xpm | 20++++++++++++++++++++
.dico/wifi.xpm | 20++++++++++++++++++++
.fonts.conf | 282+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
.gitignore | 1+
.gtkrc-2.0 | 6++++++
.gtkrc.mine | 51+++++++++++++++++++++++++++++++++++++++++++++++++++
.irbrc | 13+++++++++++++
.mplayer/config | 60++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
.pentadactyl/colors/zenburn.penta | 67+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
.pentadactyl/plugins/buftabs.js | 272+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
.pentadactyl/plugins/flashblock.js | 480+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
.pentadactylrc | 23+++++++++++++++++++++++
.perltidyrc | 35+++++++++++++++++++++++++++++++++++
.rtorrent.rc | 34++++++++++++++++++++++++++++++++++
.themes/BlackWhite/gtk-2.0/Arrows/arrow-down-insens.png | 0
.themes/BlackWhite/gtk-2.0/Arrows/arrow-down-prelight.png | 0
.themes/BlackWhite/gtk-2.0/Arrows/arrow-down-pressed.png | 0
.themes/BlackWhite/gtk-2.0/Arrows/arrow-down.png | 0
.themes/BlackWhite/gtk-2.0/Arrows/arrow-left.png | 0
.themes/BlackWhite/gtk-2.0/Arrows/arrow-right-norm.png | 0
.themes/BlackWhite/gtk-2.0/Arrows/arrow-right-prelight.png | 0
.themes/BlackWhite/gtk-2.0/Arrows/arrow-right.png | 0
.themes/BlackWhite/gtk-2.0/Arrows/arrow-up.png | 0
.themes/BlackWhite/gtk-2.0/Buttons/button-default.png | 0
.themes/BlackWhite/gtk-2.0/Buttons/button-insensitive.png | 0
.themes/BlackWhite/gtk-2.0/Buttons/button-normal.png | 0
.themes/BlackWhite/gtk-2.0/Buttons/button-prelight.png | 0
.themes/BlackWhite/gtk-2.0/Buttons/button-pressed.png | 0
.themes/BlackWhite/gtk-2.0/Check-Radio/check1.png | 0
.themes/BlackWhite/gtk-2.0/Check-Radio/check2.png | 0
.themes/BlackWhite/gtk-2.0/Check-Radio/check3.png | 0
.themes/BlackWhite/gtk-2.0/Check-Radio/check4.png | 0
.themes/BlackWhite/gtk-2.0/Check-Radio/checklight.png | 0
.themes/BlackWhite/gtk-2.0/Check-Radio/highlight.png | 0
.themes/BlackWhite/gtk-2.0/Check-Radio/option1.png | 0
.themes/BlackWhite/gtk-2.0/Check-Radio/option2.png | 0
.themes/BlackWhite/gtk-2.0/Check-Radio/option3.png | 0
.themes/BlackWhite/gtk-2.0/Check-Radio/option4.png | 0
.themes/BlackWhite/gtk-2.0/Combo/combo-active.png | 0
.themes/BlackWhite/gtk-2.0/Combo/combo-arrow-insens.png | 0
.themes/BlackWhite/gtk-2.0/Combo/combo-arrow-prelight.png | 0
.themes/BlackWhite/gtk-2.0/Combo/combo-arrow.png | 0
.themes/BlackWhite/gtk-2.0/Combo/combo-inactive.png | 0
.themes/BlackWhite/gtk-2.0/Combo/combo-normal.png | 0
.themes/BlackWhite/gtk-2.0/Combo/combo-prelight.png | 0
.themes/BlackWhite/gtk-2.0/Combo/combo-pressed.png | 0
.themes/BlackWhite/gtk-2.0/Combo/text-entry.png | 0
.themes/BlackWhite/gtk-2.0/Frame-Gap/frame-gap-end.png | 0
.themes/BlackWhite/gtk-2.0/Frame-Gap/frame-gap-start.png | 0
.themes/BlackWhite/gtk-2.0/Frame-Gap/frame1.png | 0
.themes/BlackWhite/gtk-2.0/Frame-Gap/frame2.png | 0
.themes/BlackWhite/gtk-2.0/Handles/handle-h.png | 0
.themes/BlackWhite/gtk-2.0/Handles/handle-v.png | 0
.themes/BlackWhite/gtk-2.0/Handles/resize-grip.png | 0
.themes/BlackWhite/gtk-2.0/Lines/line-h.png | 0
.themes/BlackWhite/gtk-2.0/Lines/line-v.png | 0
.themes/BlackWhite/gtk-2.0/ListHeaders/list_header-insens.png | 0
.themes/BlackWhite/gtk-2.0/ListHeaders/list_header-prelight.png | 0
.themes/BlackWhite/gtk-2.0/ListHeaders/list_header-pressed.png | 0
.themes/BlackWhite/gtk-2.0/ListHeaders/list_header.png | 0
.themes/BlackWhite/gtk-2.0/Menu-Menubar/menu.png | 0
.themes/BlackWhite/gtk-2.0/Menu-Menubar/menubar-black.png | 0
.themes/BlackWhite/gtk-2.0/Menu-Menubar/menubar-item.png | 0
.themes/BlackWhite/gtk-2.0/Menu-Menubar/menuitem.png | 0
.themes/BlackWhite/gtk-2.0/Menu-Menubar/menuline.png | 0
.themes/BlackWhite/gtk-2.0/Others/focus.png | 0
.themes/BlackWhite/gtk-2.0/Others/null.png | 0
.themes/BlackWhite/gtk-2.0/Others/ruler.png | 0
.themes/BlackWhite/gtk-2.0/Panel/handle-h.png | 0
.themes/BlackWhite/gtk-2.0/Panel/handle-v.png | 0
.themes/BlackWhite/gtk-2.0/Panel/panel-bg.png | 0
.themes/BlackWhite/gtk-2.0/Panel/panelbutton1.png | 0
.themes/BlackWhite/gtk-2.0/Panel/panelbutton2.png | 0
.themes/BlackWhite/gtk-2.0/Panel/panelbutton3.png | 0
.themes/BlackWhite/gtk-2.0/Panel/panelbutton4.png | 0
.themes/BlackWhite/gtk-2.0/ProgressBar/progressbar-horiz.png | 0
.themes/BlackWhite/gtk-2.0/ProgressBar/progressbar-vert.png | 0
.themes/BlackWhite/gtk-2.0/ProgressBar/trough-progressbar-horiz.png | 0
.themes/BlackWhite/gtk-2.0/Range/null.png | 0
.themes/BlackWhite/gtk-2.0/Range/slider-horiz-prelight.png | 0
.themes/BlackWhite/gtk-2.0/Range/slider-horiz.png | 0
.themes/BlackWhite/gtk-2.0/Range/slider-vert-prelight.png | 0
.themes/BlackWhite/gtk-2.0/Range/slider-vert.png | 0
.themes/BlackWhite/gtk-2.0/Range/trough-horizontal.png | 0
.themes/BlackWhite/gtk-2.0/Range/trough-vertical.png | 0
.themes/BlackWhite/gtk-2.0/Scrollbars/slider-horiz-insens.png | 0
.themes/BlackWhite/gtk-2.0/Scrollbars/slider-horiz-prelight.png | 0
.themes/BlackWhite/gtk-2.0/Scrollbars/slider-horiz.png | 0
.themes/BlackWhite/gtk-2.0/Scrollbars/slider-vert-insens.png | 0
.themes/BlackWhite/gtk-2.0/Scrollbars/slider-vert-prelight.png | 0
.themes/BlackWhite/gtk-2.0/Scrollbars/slider-vert.png | 0
.themes/BlackWhite/gtk-2.0/Scrollbars/stepper-down-insens.png | 0
.themes/BlackWhite/gtk-2.0/Scrollbars/stepper-down-prelight.png | 0
.themes/BlackWhite/gtk-2.0/Scrollbars/stepper-down.png | 0
.themes/BlackWhite/gtk-2.0/Scrollbars/stepper-left-insens.png | 0
.themes/BlackWhite/gtk-2.0/Scrollbars/stepper-left-prelight.png | 0
.themes/BlackWhite/gtk-2.0/Scrollbars/stepper-left.png | 0
.themes/BlackWhite/gtk-2.0/Scrollbars/stepper-right-insens.png | 0
.themes/BlackWhite/gtk-2.0/Scrollbars/stepper-right-prelight.png | 0
.themes/BlackWhite/gtk-2.0/Scrollbars/stepper-right.png | 0
.themes/BlackWhite/gtk-2.0/Scrollbars/stepper-up-insens.png | 0
.themes/BlackWhite/gtk-2.0/Scrollbars/stepper-up-prelight.png | 0
.themes/BlackWhite/gtk-2.0/Scrollbars/stepper-up.png | 0
.themes/BlackWhite/gtk-2.0/Scrollbars/trough-scrollbar-horiz.png | 0
.themes/BlackWhite/gtk-2.0/Scrollbars/trough-scrollbar-vert.png | 0
.themes/BlackWhite/gtk-2.0/Shadows/entry-shadow-in.png | 0
.themes/BlackWhite/gtk-2.0/Shadows/shadow-etched-out.png | 0
.themes/BlackWhite/gtk-2.0/Shadows/shadow-in.png | 0
.themes/BlackWhite/gtk-2.0/Shadows/shadow-none.png | 0
.themes/BlackWhite/gtk-2.0/Shadows/shadow-out.png | 0
.themes/BlackWhite/gtk-2.0/Shadows/text-entry.png | 0
.themes/BlackWhite/gtk-2.0/Shadows/text.png | 0
.themes/BlackWhite/gtk-2.0/Spin/arrow-down-disable.png | 0
.themes/BlackWhite/gtk-2.0/Spin/arrow-down-prelight.png | 0
.themes/BlackWhite/gtk-2.0/Spin/arrow-down.png | 0
.themes/BlackWhite/gtk-2.0/Spin/arrow-up-disable.png | 0
.themes/BlackWhite/gtk-2.0/Spin/arrow-up-prelight.png | 0
.themes/BlackWhite/gtk-2.0/Spin/arrow-up.png | 0
.themes/BlackWhite/gtk-2.0/Spin/entry-shadow-in.png | 0
.themes/BlackWhite/gtk-2.0/Spin/spin-down-bg.png | 0
.themes/BlackWhite/gtk-2.0/Spin/spin-up-bg.png | 0
.themes/BlackWhite/gtk-2.0/Spin/text-entry-focus.png | 0
.themes/BlackWhite/gtk-2.0/Spin/text-entry.png | 0
.themes/BlackWhite/gtk-2.0/Tabs/gap-bottom.png | 0
.themes/BlackWhite/gtk-2.0/Tabs/gap-left.png | 0
.themes/BlackWhite/gtk-2.0/Tabs/gap-right.png | 0
.themes/BlackWhite/gtk-2.0/Tabs/gap-top.png | 0
.themes/BlackWhite/gtk-2.0/Tabs/notebook.png | 0
.themes/BlackWhite/gtk-2.0/Tabs/null.png | 0
.themes/BlackWhite/gtk-2.0/Tabs/tab-bottom-active.png | 0
.themes/BlackWhite/gtk-2.0/Tabs/tab-bottom.png | 0
.themes/BlackWhite/gtk-2.0/Tabs/tab-left-active.png | 0
.themes/BlackWhite/gtk-2.0/Tabs/tab-left.png | 0
.themes/BlackWhite/gtk-2.0/Tabs/tab-right-active.png | 0
.themes/BlackWhite/gtk-2.0/Tabs/tab-right.png | 0
.themes/BlackWhite/gtk-2.0/Tabs/tab-top-active.png | 0
.themes/BlackWhite/gtk-2.0/Tabs/tab-top.png | 0
.themes/BlackWhite/gtk-2.0/Toolbar/toolbutton-normal.png | 0
.themes/BlackWhite/gtk-2.0/Toolbar/toolbutton-prelight.png | 0
.themes/BlackWhite/gtk-2.0/Toolbar/toolbutton-pressed.png | 0
.themes/BlackWhite/gtk-2.0/Toolbar/toolbutton-toggled.png | 0
.themes/BlackWhite/gtk-2.0/gtkrc | 1794+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
.themes/BlackWhite/gtk-2.0/menubar-black.rc | 57+++++++++++++++++++++++++++++++++++++++++++++++++++++++++
.themes/BlackWhite/gtk-2.0/menubar.rc | 59+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
.themes/BlackWhite/gtk-2.0/panel.rc | 128+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
.themes/Fawn/gtk-2.0/Arrows/arrow-down-insens.png | 0
.themes/Fawn/gtk-2.0/Arrows/arrow-down-prelight.png | 0
.themes/Fawn/gtk-2.0/Arrows/arrow-down-pressed.png | 0
.themes/Fawn/gtk-2.0/Arrows/arrow-down.png | 0
.themes/Fawn/gtk-2.0/Arrows/arrow-left.png | 0
.themes/Fawn/gtk-2.0/Arrows/arrow-right-norm.png | 0
.themes/Fawn/gtk-2.0/Arrows/arrow-right-prelight.png | 0
.themes/Fawn/gtk-2.0/Arrows/arrow-right.png | 0
.themes/Fawn/gtk-2.0/Arrows/arrow-up.png | 0
.themes/Fawn/gtk-2.0/Buttons/button-default.png | 0
.themes/Fawn/gtk-2.0/Buttons/button-insensitive.png | 0
.themes/Fawn/gtk-2.0/Buttons/button-normal.png | 0
.themes/Fawn/gtk-2.0/Buttons/button-prelight.png | 0
.themes/Fawn/gtk-2.0/Buttons/button-pressed.png | 0
.themes/Fawn/gtk-2.0/Check-Radio/check1.png | 0
.themes/Fawn/gtk-2.0/Check-Radio/check2.png | 0
.themes/Fawn/gtk-2.0/Check-Radio/check3.png | 0
.themes/Fawn/gtk-2.0/Check-Radio/check4.png | 0
.themes/Fawn/gtk-2.0/Check-Radio/checklight.png | 0
.themes/Fawn/gtk-2.0/Check-Radio/highlight.png | 0
.themes/Fawn/gtk-2.0/Check-Radio/option1.png | 0
.themes/Fawn/gtk-2.0/Check-Radio/option2.png | 0
.themes/Fawn/gtk-2.0/Check-Radio/option3.png | 0
.themes/Fawn/gtk-2.0/Check-Radio/option4.png | 0
.themes/Fawn/gtk-2.0/Combo/combo-active.png | 0
.themes/Fawn/gtk-2.0/Combo/combo-arrow-insens.png | 0
.themes/Fawn/gtk-2.0/Combo/combo-arrow-prelight.png | 0
.themes/Fawn/gtk-2.0/Combo/combo-arrow.png | 0
.themes/Fawn/gtk-2.0/Combo/combo-inactive.png | 0
.themes/Fawn/gtk-2.0/Combo/combo-normal.png | 0
.themes/Fawn/gtk-2.0/Combo/combo-prelight.png | 0
.themes/Fawn/gtk-2.0/Combo/combo-pressed.png | 0
.themes/Fawn/gtk-2.0/Combo/text-entry.png | 0
.themes/Fawn/gtk-2.0/Frame-Gap/frame-gap-end.png | 0
.themes/Fawn/gtk-2.0/Frame-Gap/frame-gap-start.png | 0
.themes/Fawn/gtk-2.0/Frame-Gap/frame1.png | 0
.themes/Fawn/gtk-2.0/Frame-Gap/frame2.png | 0
.themes/Fawn/gtk-2.0/Handles/handle-h.png | 0
.themes/Fawn/gtk-2.0/Handles/handle-v.png | 0
.themes/Fawn/gtk-2.0/Handles/resize-grip.png | 0
.themes/Fawn/gtk-2.0/Lines/line-h.png | 0
.themes/Fawn/gtk-2.0/Lines/line-v.png | 0
.themes/Fawn/gtk-2.0/Menu-Menubar/menu.png | 0
.themes/Fawn/gtk-2.0/Menu-Menubar/menubar-item.png | 0
.themes/Fawn/gtk-2.0/Menu-Menubar/menuitem.png | 0
.themes/Fawn/gtk-2.0/Menu-Menubar/menuline.png | 0
.themes/Fawn/gtk-2.0/Others/focus.png | 0
.themes/Fawn/gtk-2.0/Others/null.png | 0
.themes/Fawn/gtk-2.0/Others/ruler.png | 0
.themes/Fawn/gtk-2.0/Panel/handle-h.png | 0
.themes/Fawn/gtk-2.0/Panel/handle-v.png | 0
.themes/Fawn/gtk-2.0/Panel/panel-bg.png | 0
.themes/Fawn/gtk-2.0/Panel/panelbutton1.png | 0
.themes/Fawn/gtk-2.0/ProgressBar/progressbar-horiz.png | 0
.themes/Fawn/gtk-2.0/ProgressBar/progressbar-vert.png | 0
.themes/Fawn/gtk-2.0/ProgressBar/trough-progressbar-horiz.png | 0
.themes/Fawn/gtk-2.0/Range/null.png | 0
.themes/Fawn/gtk-2.0/Range/slider-horiz-prelight.png | 0
.themes/Fawn/gtk-2.0/Range/slider-horiz.png | 0
.themes/Fawn/gtk-2.0/Range/slider-vert-prelight.png | 0
.themes/Fawn/gtk-2.0/Range/slider-vert.png | 0
.themes/Fawn/gtk-2.0/Range/trough-horizontal.png | 0
.themes/Fawn/gtk-2.0/Range/trough-vertical.png | 0
.themes/Fawn/gtk-2.0/Scrollbars/slider-horiz-insens.png | 0
.themes/Fawn/gtk-2.0/Scrollbars/slider-horiz-prelight.png | 0
.themes/Fawn/gtk-2.0/Scrollbars/slider-horiz.png | 0
.themes/Fawn/gtk-2.0/Scrollbars/slider-vert-insens.png | 0
.themes/Fawn/gtk-2.0/Scrollbars/slider-vert-prelight.png | 0
.themes/Fawn/gtk-2.0/Scrollbars/slider-vert.png | 0
.themes/Fawn/gtk-2.0/Scrollbars/stepper-down-insens.png | 0
.themes/Fawn/gtk-2.0/Scrollbars/stepper-down-prelight.png | 0
.themes/Fawn/gtk-2.0/Scrollbars/stepper-down.png | 0
.themes/Fawn/gtk-2.0/Scrollbars/stepper-left-insens.png | 0
.themes/Fawn/gtk-2.0/Scrollbars/stepper-left-prelight.png | 0
.themes/Fawn/gtk-2.0/Scrollbars/stepper-left.png | 0
.themes/Fawn/gtk-2.0/Scrollbars/stepper-right-insens.png | 0
.themes/Fawn/gtk-2.0/Scrollbars/stepper-right-prelight.png | 0
.themes/Fawn/gtk-2.0/Scrollbars/stepper-right.png | 0
.themes/Fawn/gtk-2.0/Scrollbars/stepper-up-insens.png | 0
.themes/Fawn/gtk-2.0/Scrollbars/stepper-up-prelight.png | 0
.themes/Fawn/gtk-2.0/Scrollbars/stepper-up.png | 0
.themes/Fawn/gtk-2.0/Scrollbars/trough-scrollbar-horiz.png | 0
.themes/Fawn/gtk-2.0/Scrollbars/trough-scrollbar-vert.png | 0
.themes/Fawn/gtk-2.0/Shadows/entry-shadow-in.png | 0
.themes/Fawn/gtk-2.0/Shadows/shadow-etched-out.png | 0
.themes/Fawn/gtk-2.0/Shadows/shadow-in.png | 0
.themes/Fawn/gtk-2.0/Shadows/shadow-none.png | 0
.themes/Fawn/gtk-2.0/Shadows/shadow-out.png | 0
.themes/Fawn/gtk-2.0/Shadows/text-entry.png | 0
.themes/Fawn/gtk-2.0/Shadows/text.png | 0
.themes/Fawn/gtk-2.0/Spin/arrow-down-disable.png | 0
.themes/Fawn/gtk-2.0/Spin/arrow-down-prelight.png | 0
.themes/Fawn/gtk-2.0/Spin/arrow-down.png | 0
.themes/Fawn/gtk-2.0/Spin/arrow-up-disable.png | 0
.themes/Fawn/gtk-2.0/Spin/arrow-up-prelight.png | 0
.themes/Fawn/gtk-2.0/Spin/arrow-up.png | 0
.themes/Fawn/gtk-2.0/Spin/entry-shadow-in.png | 0
.themes/Fawn/gtk-2.0/Spin/spin-down-bg.png | 0
.themes/Fawn/gtk-2.0/Spin/spin-up-bg.png | 0
.themes/Fawn/gtk-2.0/Spin/text-entry-focus.png | 0
.themes/Fawn/gtk-2.0/Spin/text-entry.png | 0
.themes/Fawn/gtk-2.0/Tabs/gap-bottom.png | 0
.themes/Fawn/gtk-2.0/Tabs/gap-left.png | 0
.themes/Fawn/gtk-2.0/Tabs/gap-right.png | 0
.themes/Fawn/gtk-2.0/Tabs/gap-top.png | 0
.themes/Fawn/gtk-2.0/Tabs/notebook.png | 0
.themes/Fawn/gtk-2.0/Tabs/null.png | 0
.themes/Fawn/gtk-2.0/Tabs/tab-bottom-active.png | 0
.themes/Fawn/gtk-2.0/Tabs/tab-bottom.png | 0
.themes/Fawn/gtk-2.0/Tabs/tab-left-active.png | 0
.themes/Fawn/gtk-2.0/Tabs/tab-left.png | 0
.themes/Fawn/gtk-2.0/Tabs/tab-right-active.png | 0
.themes/Fawn/gtk-2.0/Tabs/tab-right.png | 0
.themes/Fawn/gtk-2.0/Tabs/tab-top-active.png | 0
.themes/Fawn/gtk-2.0/Tabs/tab-top.png | 0
.themes/Fawn/gtk-2.0/Toolbar/toolbutton-normal.png | 0
.themes/Fawn/gtk-2.0/Toolbar/toolbutton-prelight.png | 0
.themes/Fawn/gtk-2.0/Toolbar/toolbutton-pressed.png | 0
.themes/Fawn/gtk-2.0/Toolbar/toolbutton-toggled.png | 0
.themes/Fawn/gtk-2.0/gtkrc | 1713+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
.themes/Fawn/gtk-2.0/menubar.rc | 52++++++++++++++++++++++++++++++++++++++++++++++++++++
.themes/Fawn/gtk-2.0/panel.rc | 226+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
.themes/Orange/gtk-2.0/Arrows/arrow-down-insens.png | 0
.themes/Orange/gtk-2.0/Arrows/arrow-down-prelight.png | 0
.themes/Orange/gtk-2.0/Arrows/arrow-down-pressed.png | 0
.themes/Orange/gtk-2.0/Arrows/arrow-down.png | 0
.themes/Orange/gtk-2.0/Arrows/arrow-left.png | 0
.themes/Orange/gtk-2.0/Arrows/arrow-right-norm.png | 0
.themes/Orange/gtk-2.0/Arrows/arrow-right-prelight.png | 0
.themes/Orange/gtk-2.0/Arrows/arrow-right.png | 0
.themes/Orange/gtk-2.0/Arrows/arrow-up.png | 0
.themes/Orange/gtk-2.0/Buttons/button-default.png | 0
.themes/Orange/gtk-2.0/Buttons/button-insensitive.png | 0
.themes/Orange/gtk-2.0/Buttons/button-normal.png | 0
.themes/Orange/gtk-2.0/Buttons/button-prelight.png | 0
.themes/Orange/gtk-2.0/Buttons/button-pressed.png | 0
.themes/Orange/gtk-2.0/Check-Radio/check1.png | 0
.themes/Orange/gtk-2.0/Check-Radio/check2.png | 0
.themes/Orange/gtk-2.0/Check-Radio/check3.png | 0
.themes/Orange/gtk-2.0/Check-Radio/check4.png | 0
.themes/Orange/gtk-2.0/Check-Radio/checklight.png | 0
.themes/Orange/gtk-2.0/Check-Radio/highlight.png | 0
.themes/Orange/gtk-2.0/Check-Radio/option1.png | 0
.themes/Orange/gtk-2.0/Check-Radio/option2.png | 0
.themes/Orange/gtk-2.0/Check-Radio/option3.png | 0
.themes/Orange/gtk-2.0/Check-Radio/option4.png | 0
.themes/Orange/gtk-2.0/Combo/combo-active.png | 0
.themes/Orange/gtk-2.0/Combo/combo-arrow-insens.png | 0
.themes/Orange/gtk-2.0/Combo/combo-arrow-prelight.png | 0
.themes/Orange/gtk-2.0/Combo/combo-arrow.png | 0
.themes/Orange/gtk-2.0/Combo/combo-inactive.png | 0
.themes/Orange/gtk-2.0/Combo/combo-normal.png | 0
.themes/Orange/gtk-2.0/Combo/combo-prelight.png | 0
.themes/Orange/gtk-2.0/Combo/combo-pressed.png | 0
.themes/Orange/gtk-2.0/Combo/text-entry.png | 0
.themes/Orange/gtk-2.0/Frame-Gap/frame-gap-end.png | 0
.themes/Orange/gtk-2.0/Frame-Gap/frame-gap-start.png | 0
.themes/Orange/gtk-2.0/Frame-Gap/frame1.png | 0
.themes/Orange/gtk-2.0/Frame-Gap/frame2.png | 0
.themes/Orange/gtk-2.0/Handles/handle-h.png | 0
.themes/Orange/gtk-2.0/Handles/handle-v.png | 0
.themes/Orange/gtk-2.0/Handles/resize-grip.png | 0
.themes/Orange/gtk-2.0/Lines/line-h.png | 0
.themes/Orange/gtk-2.0/Lines/line-v.png | 0
.themes/Orange/gtk-2.0/Menu-Menubar/menu.png | 0
.themes/Orange/gtk-2.0/Menu-Menubar/menubar-item.png | 0
.themes/Orange/gtk-2.0/Menu-Menubar/menuitem.png | 0
.themes/Orange/gtk-2.0/Menu-Menubar/menuline.png | 0
.themes/Orange/gtk-2.0/Others/focus.png | 0
.themes/Orange/gtk-2.0/Others/null.png | 0
.themes/Orange/gtk-2.0/Others/ruler.png | 0
.themes/Orange/gtk-2.0/Panel/handle-h.png | 0
.themes/Orange/gtk-2.0/Panel/handle-v.png | 0
.themes/Orange/gtk-2.0/Panel/panel-bg-active.png | 0
.themes/Orange/gtk-2.0/Panel/panel-bg.png | 0
.themes/Orange/gtk-2.0/Panel/panelbutton1.png | 0
.themes/Orange/gtk-2.0/ProgressBar/progressbar-horiz.png | 0
.themes/Orange/gtk-2.0/ProgressBar/progressbar-vert.png | 0
.themes/Orange/gtk-2.0/ProgressBar/trough-progressbar-horiz.png | 0
.themes/Orange/gtk-2.0/ProgressBar/trough-progressbar-vert.png | 0
.themes/Orange/gtk-2.0/Range/null.png | 0
.themes/Orange/gtk-2.0/Range/slider-horiz-pre.png | 0
.themes/Orange/gtk-2.0/Range/slider-horiz.png | 0
.themes/Orange/gtk-2.0/Range/slider-vert-pre.png | 0
.themes/Orange/gtk-2.0/Range/slider-vert.png | 0
.themes/Orange/gtk-2.0/Range/trough-horizontal.png | 0
.themes/Orange/gtk-2.0/Range/trough-vertical.png | 0
.themes/Orange/gtk-2.0/Scrollbars/slider-horiz-insens.png | 0
.themes/Orange/gtk-2.0/Scrollbars/slider-horiz-prelight.png | 0
.themes/Orange/gtk-2.0/Scrollbars/slider-horiz.png | 0
.themes/Orange/gtk-2.0/Scrollbars/slider-vert-insens.png | 0
.themes/Orange/gtk-2.0/Scrollbars/slider-vert-prelight.png | 0
.themes/Orange/gtk-2.0/Scrollbars/slider-vert.png | 0
.themes/Orange/gtk-2.0/Scrollbars/stepper-down-insens.png | 0
.themes/Orange/gtk-2.0/Scrollbars/stepper-down-prelight.png | 0
.themes/Orange/gtk-2.0/Scrollbars/stepper-down.png | 0
.themes/Orange/gtk-2.0/Scrollbars/stepper-left-insens.png | 0
.themes/Orange/gtk-2.0/Scrollbars/stepper-left-prelight.png | 0
.themes/Orange/gtk-2.0/Scrollbars/stepper-left.png | 0
.themes/Orange/gtk-2.0/Scrollbars/stepper-right-insens.png | 0
.themes/Orange/gtk-2.0/Scrollbars/stepper-right-prelight.png | 0
.themes/Orange/gtk-2.0/Scrollbars/stepper-right.png | 0
.themes/Orange/gtk-2.0/Scrollbars/stepper-up-insens.png | 0
.themes/Orange/gtk-2.0/Scrollbars/stepper-up-prelight.png | 0
.themes/Orange/gtk-2.0/Scrollbars/stepper-up.png | 0
.themes/Orange/gtk-2.0/Scrollbars/trough-scrollbar-horiz.png | 0
.themes/Orange/gtk-2.0/Scrollbars/trough-scrollbar-vert.png | 0
.themes/Orange/gtk-2.0/Shadows/entry-shadow-in.png | 0
.themes/Orange/gtk-2.0/Shadows/shadow-etched-out.png | 0
.themes/Orange/gtk-2.0/Shadows/shadow-in.png | 0
.themes/Orange/gtk-2.0/Shadows/shadow-none.png | 0
.themes/Orange/gtk-2.0/Shadows/shadow-out.png | 0
.themes/Orange/gtk-2.0/Shadows/text-entry.png | 0
.themes/Orange/gtk-2.0/Shadows/text.png | 0
.themes/Orange/gtk-2.0/Spin/arrow-down-disable.png | 0
.themes/Orange/gtk-2.0/Spin/arrow-down-prelight.png | 0
.themes/Orange/gtk-2.0/Spin/arrow-down.png | 0
.themes/Orange/gtk-2.0/Spin/arrow-up-disable.png | 0
.themes/Orange/gtk-2.0/Spin/arrow-up-prelight.png | 0
.themes/Orange/gtk-2.0/Spin/arrow-up.png | 0
.themes/Orange/gtk-2.0/Spin/entry-shadow-in.png | 0
.themes/Orange/gtk-2.0/Spin/spin-down-bg.png | 0
.themes/Orange/gtk-2.0/Spin/spin-up-bg.png | 0
.themes/Orange/gtk-2.0/Spin/text-entry-focus.png | 0
.themes/Orange/gtk-2.0/Spin/text-entry.png | 0
.themes/Orange/gtk-2.0/Tabs/gap-bottom.png | 0
.themes/Orange/gtk-2.0/Tabs/gap-left.png | 0
.themes/Orange/gtk-2.0/Tabs/gap-right.png | 0
.themes/Orange/gtk-2.0/Tabs/gap-top.png | 0
.themes/Orange/gtk-2.0/Tabs/notebook.png | 0
.themes/Orange/gtk-2.0/Tabs/null.png | 0
.themes/Orange/gtk-2.0/Tabs/tab-bottom-active.png | 0
.themes/Orange/gtk-2.0/Tabs/tab-bottom.png | 0
.themes/Orange/gtk-2.0/Tabs/tab-left-active.png | 0
.themes/Orange/gtk-2.0/Tabs/tab-left.png | 0
.themes/Orange/gtk-2.0/Tabs/tab-right-active.png | 0
.themes/Orange/gtk-2.0/Tabs/tab-right.png | 0
.themes/Orange/gtk-2.0/Tabs/tab-top-active.png | 0
.themes/Orange/gtk-2.0/Tabs/tab-top.png | 0
.themes/Orange/gtk-2.0/Toolbar/toolbutton-normal.png | 0
.themes/Orange/gtk-2.0/Toolbar/toolbutton-prelight.png | 0
.themes/Orange/gtk-2.0/Toolbar/toolbutton-pressed.png | 0
.themes/Orange/gtk-2.0/Toolbar/toolbutton-toggled.png | 0
.themes/Orange/gtk-2.0/gtkrc | 1750+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
.themes/Orange/gtk-2.0/menubar.rc | 52++++++++++++++++++++++++++++++++++++++++++++++++++++
.themes/Orange/gtk-2.0/panel.rc | 240+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
.tmux.conf | 104+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
.xinitrc | 25+++++++++++++++++++++++++
.xmodmaprc | 13+++++++++++++
.zathurarc | 12++++++++++++
.zprofile | 15+++++++++++++++
.zsh/alias.zsh | 41+++++++++++++++++++++++++++++++++++++++++
.zsh/base.zsh | 8++++++++
.zsh/colorscheme.zsh | 28++++++++++++++++++++++++++++
.zsh/export.zsh | 21+++++++++++++++++++++
.zsh/history.zsh | 15+++++++++++++++
.zsh/key.zsh | 14++++++++++++++
.zshrc | 28++++++++++++++++++++++++++++
README.md | 13+++++++++++++
dotman | 102+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
442 files changed, 8723 insertions(+), 0 deletions(-)
diff --git a/.Xdefaults b/.Xdefaults @@ -0,0 +1,45 @@ +! +! author : Xu Xiaodong <[email protected]> +! modified : 2012 May 13 +! + +!-- colorscheme & font --! +# include ".Xdefaults.d/colors/solarized" +# include ".Xdefaults.d/fonts/dina_wqy" + +!-- xft --! +! hintstyle : hintnone | hintslight | hintmedium | hintfull +! lcdfilter : lcdnone | lcddefault | lcdlight | lcdlegacy +Xft.dpi : 96 +Xft.antialias : true +Xft.autohint : false +Xft.hinting : true +Xft.hintstyle : hintslight +Xft.rgba : rgb +Xft.lcdfilter : lcdlight + +!-- cursor theme --! +Xcursor.theme : Neutral_Plus +Xcursor.size : 10 + +!-- urxvt base --! +URxvt.title : URxvt +URxvt.geometry : 80x25 +URxvt.loginShell : true +URxvt.preeditType : Root +URxvt.saveLines : 65535 + +!-- urxvt look --! +URxvt.cursorColor : #af8700 +URxvt.transparent : false +URxvt.cursorBlink : false +URxvt.scrollBar : false +URxvt.externalBorder : 0 +URxvt.internalBorder : 0 + +!-- urxvt extension --! +URxvt.perl-lib : /usr/lib/urxvt/perl/ +URxvt.perl-ext-common : default,matcher +URxvt.matcher.button : 1 +URxvt.matcher.pattern.1 : \\bwww\\.[\\w-]+\\.[\\w./?&@#-]*[\\w/-] +URxvt.urlLauncher : firefox diff --git a/.Xdefaults.d/colors/crshd b/.Xdefaults.d/colors/crshd @@ -0,0 +1,39 @@ +! +! name : crshd +! source : https://github.com/crshd/dots/blob/master/xdefaults/colors +! + +*foreground : #808080 +*background : #151515 + +! black +*color0 : #353535 +*color8 : #353535 + +! red +*color1 : #c14c2e +*color9 : #d92918 + +! green +*color2 : #bdf271 +*color10 : #ffffa6 + +! yellow +*color3 : #ff8939 +*color11 : #ffc051 + +! blue +*color4 : #2554a4 +*color12 : #447f6e + +! magenta +*color5 : #b52841 +*color13 : #d9042b + +! cyan +*color6 : #435d65 +*color14 : #6e98a4 + +! white +*color7 : #666666 +*color15 : #cccccc diff --git a/.Xdefaults.d/colors/lich b/.Xdefaults.d/colors/lich @@ -0,0 +1,22 @@ +! +! lich +! + +*.background : #222222 +*.foreground : #eeeeee +*color0 : #222222 +*color1 : #8E5C4E +*color2 : #6C7E55 +*color3 : #B89F63 +*color4 : #7FB8D8 +*color5 : #956D9D +*color6 : #4c8ea1 +*color7 : #808080 +*color8 : #454545 +*color9 : #CC896D +*color10 : #C4DF90 +*color11 : #FFE080 +*color12 : #B8DDEA +*color13 : #C18FCB +*color14 : #6bc1d0 +*color15 : #eeeeee diff --git a/.Xdefaults.d/colors/molokai b/.Xdefaults.d/colors/molokai @@ -0,0 +1,23 @@ +! +! molokai +! + +*background : #101010 +*foreground : #d0d0d0 +*cursorColor : #d0d0d0 +*color0 : #101010 +*color1 : #960050 +*color2 : #66aa11 +*color3 : #c47f2c +*color4 : #30309b +*color5 : #7e40a5 +*color6 : #89b6e2 +*color7 : #9999aa +*color8 : #303030 +*color9 : #ff0090 +*color10 : #80ff00 +*color11 : #ffba68 +*color12 : #5f5fee +*color13 : #bb88dd +*color14 : #4eb4fa +*color15 : #d0d0d0 diff --git a/.Xdefaults.d/colors/nu b/.Xdefaults.d/colors/nu @@ -0,0 +1,38 @@ +! +! nu +! + +*background : #0c0c0c +*foreground : #ffffff + +! black +*color0 : #404040 +*color8 : #505050 + +! red +*color1 : #f03669 +*color9 : #c75b79 + +! green +*color2 : #b8e346 +*color10 : #c8e37e + +! yellow +*color3 : #ffa402 +*color11 : #ffbe4a + +! blue +*color4 : #02a2ff +*color12 : #71cbff + +! magenta +*color5 : #875c8d +*color13 : #e41f66 + +! cyan +*color6 : #6fa9d3 +*color14 : #0078CE + +! white +*color7 : #d2d2d2 +*color15 : #ffffff diff --git a/.Xdefaults.d/colors/solarized b/.Xdefaults.d/colors/solarized @@ -0,0 +1,47 @@ +! +! author : Xu Xiaodong <[email protected]> +! modified : 2012 May 12 +! + +*background : #1c1c1c +*foreground : #808080 + +! black + +*color0 : #1c1c1c +*color8 : #262626 + +! red + +*color1 : #d75f00 +*color9 : #af0000 + +! green + +*color2 : #585858 +*color10 : #5f8700 + +! yellow + +*color3 : #626262 +*color11 : #af8700 + +! blue + +*color4 : #808080 +*color12 : #0087ff + +! mangenta + +*color5 : #5f5faf +*color13 : #af005f + +! cyan + +*color6 : #8a8a8a +*color14 : #00afaf + +! white + +*color7 : #ffffd7 +*color15 : #e4e4e4 diff --git a/.Xdefaults.d/colors/solarized_dark b/.Xdefaults.d/colors/solarized_dark @@ -0,0 +1,29 @@ +! +! source: http://datamaskinen.medeltiden.org/urxvt-solarized-dark-light-font-test.html +! + +*fading : 30 +*background : #002b36 +*foreground : #657b83 +*fadeColor : #002b36 +*cursorColor : #93a1a1 +*pointerColorBackground : #586e75 +*pointerColorForeground : #93a1a1 +*colorUL : #859900 +*colorBD : #268bd2 +*color0 : #073642 +*color8 : #002b36 +*color1 : #dc322f +*color9 : #cb4b16 +*color2 : #859900 +*color10 : #586e75 +*color3 : #b58900 +*color11 : #657b83 +*color4 : #268bd2 +*color12 : #839496 +*color5 : #d33682 +*color13 : #6c71c4 +*color6 : #2aa198 +*color14 : #93a1a1 +*color7 : #eee8d5 +*color15 : #fdf6e3 diff --git a/.Xdefaults.d/colors/tango b/.Xdefaults.d/colors/tango @@ -0,0 +1,38 @@ +! +! tangoesque +! + +*background : #111111 +*foreground : #babdb6 + +! black +*color0 : #000000 +*color8 : #555753 + +! red +*color1 : #ff6565 +*color9 : #ff8d8d + +! green +*color2 : #93d44f +*color10 : #c8e7a8 + +! yellow +*color3 : #eab93d +*color11 : #ffc123 + +! blue +*color4 : #204a87 +*color12 : #3465a4 + +! mangenta +*color5 : #ce5c00 +*color13 : #f57900 + +! cyan +*color6 : #89b6e2 +*color14 : #46a4ff + +! white +*color7 : #cccccc +*color15 : #ffffff diff --git a/.Xdefaults.d/colors/zenburn b/.Xdefaults.d/colors/zenburn @@ -0,0 +1,39 @@ +! +! zenburn +! + +*background: #3f3f3f +*foreground: #dcdccc + +! black + red +!*color0: #3f3f3f +*color0: #1e2320 +*color1: #705050 + +! green + yellow +*color2: #60b48a +*color3: #dfaf8f + +! blue + purple +*color4: #506070 +*color5: #dc8cc3 + +! cyan + white +*color6: #8cd0d3 +*color7: #dcdccc + +! bright-black + bright-red +*color8: #709080 +*color9: #dca3a3 + +! bright-green + bright-yellow +*color10: #c3bf9f +*color11: #f0dfaf + +! bright-blue + bright-purple +*color12: #94bff3 +*color13: #ec93d3 + +! bright-cyan + bright-white +*color14: #93e0e3 +*color15: #ffffff diff --git a/.Xdefaults.d/fonts/dejavu_droid b/.Xdefaults.d/fonts/dejavu_droid @@ -0,0 +1,9 @@ +! +! author : Xu Xiaodong <[email protected]> +! modified : 2012 Mar 25 +! + +URxvt.font : xft:dejavu sans mono:size=10,xft:droid sans fallback:size=10 +URxvt.boldFont : xft:dejavu sans mono:size=10:bold,xft:droid sans fallback:size=10:bold + +! vim: ai:et:ts=2:sw=2:tw=78:ft=xdefaults diff --git a/.Xdefaults.d/fonts/dina_wqy b/.Xdefaults.d/fonts/dina_wqy @@ -0,0 +1,9 @@ +! +! author : Xu Xiaodong <[email protected]> +! modified : 2012 May 15 +! + +URxvt.font : xft:dina:size=9,xft:wenquanyi bitmap song:size=9 +URxvt.boldFont : xft:dina:size=9,xft:wenquanyi bitmap song:size=9 + +! vim: ai:et:ts=2:sw=2:tw=78:ft=xdefaults diff --git a/.Xdefaults.d/fonts/envycoder_droid b/.Xdefaults.d/fonts/envycoder_droid @@ -0,0 +1,9 @@ +! +! author : Xu Xiaodong <[email protected]> +! modified : 2012 Apr 23 +! + +URxvt.font : xft:envy code r:size=10,xft:droid sans fallback:size=10 +URxvt.boldFont : xft:envy code r:size=10:bold,xft:droid sans fallback:size=10:bold + +! vim: ai:et:ts=2:sw=2:tw=78:ft=xdefaults diff --git a/.Xdefaults.d/fonts/inconsolata_droid b/.Xdefaults.d/fonts/inconsolata_droid @@ -0,0 +1,9 @@ +! +! author : Xu Xiaodong <[email protected]> +! modified : 2012 Apr 24 +! + +URxvt.font : xft:inconsolata:size=10,xft:droid sans fallback:size=10 +URxvt.boldFont : xft:inconsolata:size=10:bold,xft:droid sans fallback:size=10:bold + +! vim: ai:et:ts=2:sw=2:tw=78:ft=xdefaults diff --git a/.Xdefaults.d/fonts/lokaltog_wqy b/.Xdefaults.d/fonts/lokaltog_wqy @@ -0,0 +1,11 @@ +! +! author : Xu Xiaodong <[email protected]> +! modified : 2012 May 10 +! + +URxvt.font : -lokaltog-fixed-medium-r-*-*-12-*-*-*-*-*-iso10646-* +URxvt.boldFont : -lokaltog-fixed-bold-r-*-*-12-*-*-*-*-*-iso10646-* +URxvt.italicFont : -lokaltog-fixed-medium-r-*-*-12-*-*-*-*-*-iso10646-* +URxvt.boldItalicFont : -lokaltog-fixed-bold-r-*-*-12-*-*-*-*-*-iso10646-* + +! vim: ai:et:ts=2:sw=2:tw=78:ft=xdefaults diff --git a/.Xdefaults.d/fonts/mensch_droid b/.Xdefaults.d/fonts/mensch_droid @@ -0,0 +1,9 @@ +! +! author : Xu Xiaodong <[email protected]> +! modified : 2012 May 10 +! + +URxvt.font : xft:mensch for powerline:size=10,xft:droid sans fallback:size=10 +URxvt.boldFont : xft:mensch for powerline:size=10:bold,xft:droid sans fallback:size=10:bold + +! vim: ai:et:ts=2:sw=2:tw=78:ft=xdefaults diff --git a/.Xdefaults.d/fonts/terminus_wqy b/.Xdefaults.d/fonts/terminus_wqy @@ -0,0 +1,9 @@ +! +! author : Xu Xiaodong <[email protected]> +! modified : 2012 May 10 +! + +URxvt.font : xft:terminus:size=8,xft:wenquanyi bitmap song:size=8 +URxvt.boldFont : xft:terminus:size=8:bold,xft:wenquanyi bitmap song:size=8:bold + +! vim: ai:et:ts=2:sw=2:tw=78:ft=xdefaults diff --git a/.bashrc b/.bashrc @@ -0,0 +1,41 @@ +# +# author: Xu Xiaodong <[email protected]> +# modified: 2011 Apr 19 +# + +#-- prompt --# + +[ -z "$PS1" ] && return + +liBlack="\[\033[0;30m\]" +boBlack="\[\033[1;30m\]" +liRed="\[\033[0;31m\]" +boRed="\[\033[1;31m\]" +liGreen="\[\033[0;32m\]" +boGreen="\[\033[1;32m\]" +liYellow="\[\033[0;33m\]" +boYellow="\[\033[1;33m\]" +liBlue="\[\033[0;34m\]" +boBlue="\[\033[1;34m\]" +liMagenta="\[\033[0;35m\]" +boMagenta="\[\033[1;35m\]" +liCyan="\[\033[0;36m\]" +boCyan="\[\033[1;36m\]" +liWhite="\[\033[0;37m\]" +boWhite="\[\033[1;37m\]" + +PS1="\n$boGreen\u$liWhite at $boBlue\h$liWhite in $boRed\w $liYellow{\[\`let exitstatus=\$? ; if [[ \${exitstatus} != 0 ]] ; then echo \"\${exitstatus}\" ; else echo "0" ; fi\`\]} \n% $liWhite" + +#-- alias --# + +if [ "$TERM" != "dumb" ]; then + alias ls='ls -F --color=auto' +fi + +alias ll='ls -lsh' + +#-- completion --# + +if [ -f /etc/bash_completion ]; then + . /etc/bash_completion +fi diff --git a/.conkyrc b/.conkyrc @@ -0,0 +1,22 @@ +# +# author : Xu Xiaodong <[email protected]> +# modified : 2012 May 13 +# + +#-- settings --# +background no +cpu_avg_samples 2 +out_to_console yes +total_run_times 0 +update_interval 1.0 + +#-- output --# +TEXT +^i(/home/xiaodong/.dico/cpu.xpm) ^fg(\#dca3a3)${cpu}% ${cpubar 10,5} \ +^i(/home/xiaodong/.dico/mem.xpm) ^fg(\#8faf9f)${memperc}% ${membar 10,5} \ +^i(/home/xiaodong/.dico/down.xpm) ^fg(\#dca3a3)${if_running wpa_supplicant}${downspeedf wlan0}${else}${downspeedf eth0}${endif}k \ +^i(/home/xiaodong/.dico/up.xpm) ^fg(\#8faf9f)${if_running wpa_supplicant}${upspeedf wlan0}${else}${upspeedf eth0}${endif}k \ +^i(/home/xiaodong/.dico/mail.xpm) ^fg(\#dca3a3)${texeci 300 ~/bin/gmailcount}m \ +^i(/home/xiaodong/.dico/wifi.xpm) ^fg(\#8faf9f)${if_running wpa_supplicant}${wireless_link_qual_perc wlan0}%${else}n/a${endif} \ +^i(/home/xiaodong/.dico/bat.xpm) ^fg(\#dca3a3)${battery_percent}% \ +^i(/home/xiaodong/.dico/time.xpm) ^fg(\#f0dfaf)${time %a, %b %d / %T} diff --git a/.dico/bat.xpm b/.dico/bat.xpm @@ -0,0 +1,20 @@ +/* XPM */ +static char *bat[] = { +/* columns rows colors chars-per-pixel */ +"12 12 2 1 ", +" c #7F9F7F", +". c None", +/* pixels */ +"............", +"............", +"..... .....", +"... ...", +"... .... ...", +"... . . ...", +"... . . ...", +"... . . ...", +"... .... ...", +"... ...", +"............", +"............" +}; diff --git a/.dico/cal.xpm b/.dico/cal.xpm @@ -0,0 +1,20 @@ +/* XPM */ +static char *cal[] = { +/* columns rows colors chars-per-pixel */ +"12 12 2 1 ", +" c #7F9F7F", +". c None", +/* pixels */ +"............", +".. . . . ...", +". . . . . ..", +". ....... ..", +". ....... ..", +". . . . . ..", +". ....... ..", +". . . . . ..", +". ....... ..", +". ..", +"............", +"............" +}; diff --git a/.dico/chat.xpm b/.dico/chat.xpm @@ -0,0 +1,22 @@ +/* XPM */ +static char *chat[] = { +/* columns rows colors chars-per-pixel */ +"14 14 2 1 ", +" c #7F9F7F", +". c None", +/* pixels */ +"..............", +"..............", +"..............", +".... ....", +"... ...... ...", +"... ...... ...", +"... ...... ...", +".... .. ....", +"....... . ....", +"........ ....", +"......... ....", +"..............", +"..............", +".............." +}; diff --git a/.dico/cpu.xpm b/.dico/cpu.xpm @@ -0,0 +1,20 @@ +/* XPM */ +static char *cpu[] = { +/* columns rows colors chars-per-pixel */ +"12 12 2 1 ", +" c #7F9F7F", +". c None", +/* pixels */ +"............", +"............", +".. . . ..", +".. ...... ..", +".... ....", +".. . . ..", +".. . . ..", +".... ....", +".. ...... ..", +".. . . ..", +"............", +"............" +}; diff --git a/.dico/crypto.xpm b/.dico/crypto.xpm @@ -0,0 +1,22 @@ +/* XPM */ +static char *crypto[] = { +/* columns rows colors chars-per-pixel */ +"14 14 2 1 ", +" c #7F9F7F", +". c None", +/* pixels */ +"..............", +"..............", +"..............", +"..... .....", +".... .... ....", +".... .... ....", +"... ...", +"... ...... ...", +"... .. .. ...", +"... ...... ...", +"... ...", +"..............", +"..............", +".............." +}; diff --git a/.dico/disk.xpm b/.dico/disk.xpm @@ -0,0 +1,20 @@ +/* XPM */ +static char *disk[] = { +/* columns rows colors chars-per-pixel */ +"12 12 2 1 ", +" c #7F9F7F", +". c None", +/* pixels */ +"............", +"............", +".. ..", +".. ...... ..", +".. ...... ..", +".. ...... ..", +".. . . ..", +".. . . . ..", +".. . . . ..", +"... ..", +"............", +"............" +}; diff --git a/.dico/down.xpm b/.dico/down.xpm @@ -0,0 +1,20 @@ +/* XPM */ +static char *down[] = { +/* columns rows colors chars-per-pixel */ +"12 12 2 1 ", +" c #CC9393", +". c None", +/* pixels */ +"............", +"............", +"..... ...", +".... ....", +".... ....", +".... ....", +".. ..", +"... ...", +".... ....", +"..... .....", +"............", +"............" +}; diff --git a/.dico/info.xpm b/.dico/info.xpm @@ -0,0 +1,23 @@ +/* XPM */ +static char *info[] = { +/* columns rows colors chars-per-pixel */ +"14 14 3 1 ", +" c #7F9F7F", +". c gray100", +"X c None", +/* pixels */ +"XXXXXXXXXXXXXX", +"XXXXXXXXXXXXXX", +"XXXXXXXXXXXXXX", +"XXX XXX", +"XXX .. XXX", +"XXX XXX", +"XXX .. XXX", +"XXX .. XXX", +"XXX .. XXX", +"XXX .. XXX", +"XXX XXX", +"XXXXXXXXXXXXXX", +"XXXXXXXXXXXXXX", +"XXXXXXXXXXXXXX" +}; diff --git a/.dico/mail.xpm b/.dico/mail.xpm @@ -0,0 +1,20 @@ +/* XPM */ +static char *mail[] = { +/* columns rows colors chars-per-pixel */ +"12 12 2 1 ", +" c #7F9F7F", +". c None", +/* pixels */ +"............", +"............", +"............", +".. ..", +"... ...", +".. . . ..", +".. . . ..", +".. .. ..", +".. ..", +"............", +"............", +"............" +}; diff --git a/.dico/mem.xpm b/.dico/mem.xpm @@ -0,0 +1,20 @@ +/* XPM */ +static char *mem[] = { +/* columns rows colors chars-per-pixel */ +"12 12 2 1 ", +" c #7F9F7F", +". c None", +/* pixels */ +"............", +"............", +"... . . . ..", +"............", +"... ..", +"... ..", +"... ..", +"... ..", +"............", +"... . . . ..", +"............", +"............" +}; diff --git a/.dico/music.xpm b/.dico/music.xpm @@ -0,0 +1,22 @@ +/* XPM */ +static char *music[] = { +/* columns rows colors chars-per-pixel */ +"14 14 2 1 ", +" c #7F9F7F", +". c None", +/* pixels */ +"..............", +"..............", +"..............", +"..... ...", +"..... ...", +"..... .... ...", +"..... .... ...", +"..... .... ...", +"..... .... ...", +"... .. ...", +"... .. ...", +"..............", +"..............", +".............." +}; diff --git a/.dico/pacman.xpm b/.dico/pacman.xpm @@ -0,0 +1,22 @@ +/* XPM */ +static char *pacman[] = { +/* columns rows colors chars-per-pixel */ +"14 14 2 1 ", +" c #7F9F7F", +". c None", +/* pixels */ +"..............", +"..............", +"..............", +"..... .....", +".... . ....", +"... .. ...", +"... ...", +"... ........", +"... ......", +".... ....", +"..... .....", +"..............", +"..............", +".............." +}; diff --git a/.dico/phones.xpm b/.dico/phones.xpm @@ -0,0 +1,22 @@ +/* XPM */ +static char *phones[] = { +/* columns rows colors chars-per-pixel */ +"14 14 2 1 ", +" c #7F9F7F", +". c None", +/* pixels */ +"..............", +"..............", +"..............", +"..... .....", +".... .... ....", +"... ...... ...", +"... ...... ...", +"... . .. . ...", +"... .. ...", +"... .. ...", +".... .. ....", +"..............", +"..............", +".............." +}; diff --git a/.dico/power.xpm b/.dico/power.xpm @@ -0,0 +1,22 @@ +/* XPM */ +static char *power[] = { +/* columns rows colors chars-per-pixel */ +"14 14 2 1 ", +" c #7F9F7F", +". c None", +/* pixels */ +"..............", +"..............", +"..............", +"...... ......", +".... . . ....", +"... .. .. ...", +"... .. .. ...", +"... .. .. ...", +"... .. .. ...", +".... .... ....", +"..... .....", +"..............", +"..............", +".............." +}; diff --git a/.dico/rss.xpm b/.dico/rss.xpm @@ -0,0 +1,22 @@ +/* XPM */ +static char *rss[] = { +/* columns rows colors chars-per-pixel */ +"14 14 2 1 ", +" c #7F9F7F", +". c None", +/* pixels */ +"..............", +"..............", +"..............", +"... ...", +"... ...... ...", +"... . . ...", +"... .... . ...", +"... . . . ...", +"... . . . ...", +"... ...... ...", +"... ...", +"..............", +"..............", +".............." +}; diff --git a/.dico/sat.xpm b/.dico/sat.xpm @@ -0,0 +1,22 @@ +/* XPM */ +static char *sat[] = { +/* columns rows colors chars-per-pixel */ +"14 14 2 1 ", +" c #7F9F7F", +". c None", +/* pixels */ +"..............", +"..............", +"..............", +"... ...... ...", +"... . ....", +".... ... ....", +".... .. ....", +"..... . ....", +".... .....", +"... . ....", +"... .... ...", +"..............", +"..............", +".............." +}; diff --git a/.dico/temp.xpm b/.dico/temp.xpm @@ -0,0 +1,22 @@ +/* XPM */ +static char *temp[] = { +/* columns rows colors chars-per-pixel */ +"14 14 2 1 ", +" c #7F9F7F", +". c None", +/* pixels */ +"..............", +"..............", +"..............", +"...... .. ...", +"........ ...", +".... .. ....", +"...... . .....", +".... . ......", +"... .. .......", +"... .. .......", +".... ........", +"..............", +"..............", +".............." +}; diff --git a/.dico/time.xpm b/.dico/time.xpm @@ -0,0 +1,20 @@ +/* XPM */ +static char *time[] = { +/* columns rows colors chars-per-pixel */ +"12 12 2 1 ", +" c #7F9F7F", +". c None", +/* pixels */ +"............", +"............", +".... ....", +"... . ...", +".. . ..", +".. . ..", +".. .... ..", +".. ..", +"... ...", +".... ....", +"............", +"............" +}; diff --git a/.dico/up.xpm b/.dico/up.xpm @@ -0,0 +1,20 @@ +/* XPM */ +static char *up[] = { +/* columns rows colors chars-per-pixel */ +"12 12 2 1 ", +" c #7F9F7F", +". c None", +/* pixels */ +"............", +"............", +"..... .....", +".... ....", +"... ...", +".. ..", +".... ....", +".... ....", +".... ....", +"... .....", +"............", +"............" +}; diff --git a/.dico/vol.xpm b/.dico/vol.xpm @@ -0,0 +1,20 @@ +/* XPM */ +static char *vol[] = { +/* columns rows colors chars-per-pixel */ +"12 12 2 1 ", +" c #7F9F7F", +". c None", +/* pixels */ +"............", +"............", +"..... ......", +".... .. ...", +".. ... ..", +".. . . ..", +".. . . ..", +".. ... ..", +".... .. ...", +"..... ......", +"............", +"............" +}; diff --git a/.dico/wifi.xpm b/.dico/wifi.xpm @@ -0,0 +1,20 @@ +/* XPM */ +static char *wifi[] = { +/* columns rows colors chars-per-pixel */ +"12 12 2 1 ", +" c #7F9F7F", +". c None", +/* pixels */ +"............", +"............", +"........ ...", +"...... .. ..", +".... .. . ..", +".. .. . . ..", +".. .. . . ..", +".... .. . ..", +"...... .. ..", +"........ ...", +"............", +"............" +}; diff --git a/.fonts.conf b/.fonts.conf @@ -0,0 +1,282 @@ +<?xml version='1.0'?> +<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'> +<fontconfig> + +<!-- + +author : Xu Xiaodong <[email protected]> +modified : 2012 May 10 + +--> + + <!-- dpi (72, 96, 120, etc.) --> + + <match target="pattern"> + <edit mode="assign" name="dpi"> + <double>96</double> + </edit> + </match> + + <match target="font"> + + <!-- sub-pixel rending (none, rgb, vrgb, bgr, vbgr) --> + + <edit mode="assign" name="rgba"> + <const>rgb</const> + </edit> + + <!-- antialias --> + + <edit mode="assign" name="antialias"> + <bool>true</bool> + </edit> + + <!-- autohint --> + + <edit mode="assign" name="autohint"> + <bool>false</bool> + </edit> + + <!-- hinting --> + + <edit mode="assign" name="hinting"> + <bool>true</bool> + </edit> + + <!-- hinting style (hintnone, hintslight, hintmedium, hintfull) --> + + <edit mode="assign" name="hintstyle"> + <const>hintslight</const> + </edit> + + <!-- lcd filtering (lcdnone, lcddefault, lcdlight, lcdlegacy) --> + + <edit mode="assign" name="lcdfilter"> + <const>lcdlight</const> + </edit> + + </match> + + <match> + + <test name="family" compare="eq"> + <string>courier</string> + </test> + + <edit name="family" mode="prepend" binding="strong"> + <string>droid sans mono</string> + </edit> + + <edit name="family" mode="prepend" binding="strong"> + <string>droid sans fallback</string> + </edit> + + </match> + + <match> + + <test name="family" compare="eq"> + <string>courier new</string> + </test> + + <edit name="family" mode="prepend" binding="strong"> + <string>droid sans mono</string> + </edit> + + <edit name="family" mode="prepend" binding="strong"> + <string>droid sans fallback</string> + </edit> + + </match> + + <match> + + <test name="family" compare="eq"> + <string>fixed</string> + </test> + + <edit name="family" mode="prepend" binding="strong"> + <string>droid sans mono</string> + </edit> + + <edit name="family" mode="prepend" binding="strong"> + <string>droid sans fallback</string> + </edit> + + </match> + + <match> + + <test name="family" compare="eq"> + <string>Arial</string> + </test> + + <edit name="family" mode="prepend" binding="strong"> + <string>DejaVu Sans Book</string> + </edit> + + <edit name="family" mode="prepend" binding="strong"> + <string>droid sans fallback</string> + </edit> + + </match> + + <match> + + <test name="family" compare="eq"> + <string>verdana</string> + </test> + + <edit name="family" mode="prepend" binding="strong"> + <string>droid sans</string> + </edit> + + <edit name="family" mode="prepend" binding="strong"> + <string>droid sans fallback</string> + </edit> + + </match> + + <match> + + <test name="family" compare="eq"> + <string>georgia</string> + </test> + + <edit name="family" mode="prepend" binding="strong"> + <string>droid serif</string> + </edit> + + <edit name="family" mode="prepend" binding="strong"> + <string>droid sans fallback</string> + </edit> + + </match> + + <match> + + <test name="family" compare="eq"> + <string>helvetica</string> + </test> + + <edit name="family" mode="prepend" binding="strong"> + <string>droid sans</string> + </edit> + + <edit name="family" mode="prepend" binding="strong"> + <string>droid sans fallback</string> + </edit> + + </match> + + <match> + + <test name="family" compare="eq"> + <string>new century schoolbook</string> + </test> + + <edit name="family" mode="prepend" binding="strong"> + <string>droid serif</string> + </edit> + + <edit name="family" mode="prepend" binding="strong"> + <string>droid sans fallback</string> + </edit> + + </match> + + <match> + + <test name="family" compare="eq"> + <string>lucida grande</string> + </test> + + <edit name="family" mode="prepend" binding="strong"> + <string>droid sans</string> + </edit> + + <edit name="family" mode="prepend" binding="strong"> + <string>droid sans fallback</string> + </edit> + + </match> + + <match> + + <test name="family" compare="eq"> + <string>palatino</string> + </test> + + <edit name="family" mode="prepend" binding="strong"> + <string>droid sans</string> + </edit> + + <edit name="family" mode="prepend" binding="strong"> + <string>droid sans fallback</string> + </edit> + + </match> + + <!-- poppler --> + + <match target="pattern"> + + <test name="family"> + <string>Times</string> + </test> + + <edit name="family" mode="prepend" binding="same"> + <string>DejaVu Serif Condensed</string> + </edit> + + </match> + + <match target="pattern"> + + <test name="family"> + <string>Helvetica</string> + </test> + + <edit name="family" mode="prepend" binding="same"> + <string>DejaVu Sans Condensed</string> + </edit> + + </match> + + <match target="pattern"> + + <test name="family"> + <string>Avant Garde</string> + </test> + + <edit name="family" mode="prepend" binding="same"> + <string>Droid Sans</string> + </edit> + + </match> + + <match target="pattern"> + + <test name="family"> + <string>Arial</string> + </test> + + <edit name="family" mode="prepend" binding="same"> + <string>DejaVu Sans Condensed</string> + </edit> + + </match> + + <match target="pattern"> + + <test name="family"> + <string>Courier</string> + </test> + + <edit name="family" mode="prepend" binding="same"> + <string>DejaVu Sans Mono Condensed</string> + </edit> + + </match> + +</fontconfig> diff --git a/.gitignore b/.gitignore @@ -0,0 +1 @@ +.pentadactyl/info/* diff --git a/.gtkrc-2.0 b/.gtkrc-2.0 @@ -0,0 +1,6 @@ +# +# author: Xu Xiaodong <[email protected]> +# modified: 2011 Apr 15 +# + +include "/home/xiaodong/.gtkrc.mine" diff --git a/.gtkrc.mine b/.gtkrc.mine @@ -0,0 +1,51 @@ +# +# author: Xu Xiaodong <[email protected]> +# modified: 2012 May 15 +# + +#-- xft --# + +gtk-xft-antialias = 1 +gtk-xft-hinting = 1 +gtk-xft-hintstyle = hintslight +gtk-xft-rgba = rgb + +#-- gtk --# + +include "/home/xiaodong/.themes/BlackWhite/gtk-2.0/gtkrc" + +#-- icon --# + +gtk-icon-theme-name = "gnome-dust" + +#-- font --# + +style "user-font" { + font_name = "Droid Sans 8" +} +widget_class "*" style "user-font" + +gtk-font-name = "Droid Sans 8" + +#-- toolbar --# +# GTK_TOOLBAR_ICONS | Only icons +# GTK_TOOLBAR_TEXT | Only text +# GTK_TOOLBAR_BOTH | Both icons and text +# GTK_TOOLBAR_BOTH_HORIZ | icons and text next to the icons + +gtk-toolbar-style = GTK_TOOLBAR_ICONS + +#-- icon size --# + +gtk-toolbar-icon-size = GTK_ICON_SIZE_SMALL_TOOLBAR + +#-- menu --# + +gtk-menu-popup-delay = 0 +gtk-menu-images = 1 + +#-- other --# + +gtk-button-images = 0 +gtk-enable-event-sounds = 0 +gtk-enable-input-feedback-sounds = 0 diff --git a/.irbrc b/.irbrc @@ -0,0 +1,13 @@ +# +# author: Xu Xiaodong <[email protected]> +# modified: 2011 May 06 +# + +begin + require 'wirble' + + Wirble.init + Wirble.colorize +rescue LoadError => err + puts "#{err}" +end diff --git a/.mplayer/config b/.mplayer/config @@ -0,0 +1,60 @@ +# +# Author: Xu Xiaodong <[email protected]> +# modified: 2012 May 14 +# + +#-- video --# + +vo=gl2:yuv=5,x11 +vf-pre=pp=ac +vf=screenshot +dr=yes +#fs=yes + +#-- audio --# + +ao=alsa +alang=chi + +#-- subtitle --# + +fontconfig=yes +font='Adobe Heiti Std' +subcp=enca:zh:utf8 +slang=chs,chi,cht,zh,eng,en +ass=1 +embeddedfonts=1 + +# Adjust matching fuzziness when searching for subtitles: +# 0 exact match +# 1 Load all subs containing movie name. +# 2 Load all subs in the current directory. +sub-fuzziness=1 + +# Sets the autoscale mode. The mode can be: +# 0 no autoscale +# 1 proportional to movie height +# 2 proportional to movie width +# 3 proportional to movie diagonal (default) +subfont-autoscale=2 + +# Sets the subtitle text autoscale coefficient as percentage of the screen size. +subfont-text-scale=6.5 + +# Resample the font alphamap. +# 0 plain white fonts +# 0.75 very narrow black outline (default) +# 1 narrow black outline +# 10 bold black outline +ffactor=0.75 + +# Specifies which mode the OSD should start in. +# 0 subtitles only +# 1 volume + seek (default) +# 2 volume + seek + timer + percentage +# 3 volume + seek + timer + percentage + total time +#osdlevel=3 + +#-- other --# + +framedrop=yes diff --git a/.pentadactyl/colors/zenburn.penta b/.pentadactyl/colors/zenburn.penta @@ -0,0 +1,67 @@ +" FileName: zenburn.penta +" Author: zouyang +" Last Updated: Wed 06 Apr 2011 02:30:19 PM CST +hi Cmd background-color:#3F3F3F; +hi -a StatusLineNormal color:#ccdc90; background-color:#3F3F3F !important; font-size:9pt; + +hi -l StatusLineNormal StatusLineSecure color:#87af87; +hi -l StatusLineNormal StatusLineBroken color:#ffa0a0; +hi -l StatusLineNormal StatusLineExtended color:#a0ffa0; +hi -a String color:#cc9393; +hi -a Boolean color:#dca3a3; +hi -a Function color:#efef8f; +hi -a Number color:#8cd0d3; +hi WarningMsg color:#ffffff; background-color:#333333 !important; font-weight:bold; +hi WarningMsg>* color:#ffffff; background-color:#333333 !important; font-weight:bold; +hi -l WarningMsg StatusWarningMsg +hi -l WarningMsg CmdWarningMsg +hi ErrorMsg color:#80d4aa !important; background-color:#2f2f2f !important; font-weight:bold; +hi -l ErrorMsg StatusErrorMsg +hi -l ErrorMsg CmdErrorMsg +hi -a ModeMsg color:#ffcfaf; background-color:transparent !important; +hi -l ModeMsg StatusModeMsg +hi -l ModeMsg CmdModeMsg +hi -a MoreMsg color:#ffffff !important; background-color:inherit !important; font-weight:bold; +hi -l MoreMsg StatusMoreMsg +hi -l MoreMsg CmdMoreMsg +hi -l Cmd InfoMsg color:#cccccc !important; +hi -l InfoMsg StatusInfoMsg +hi -l InfoMsg CmdInfoMsg +hi Question color:#ffffff !important; background-color:inherit !important; font-weight:bold; +hi -l Question StatusQuestion +hi -l Question CmdQuestion +hi -a Tag color:#e89393; font-weight:bold; +hi -a CmdLine font-weight:normal; padding:0 3px; +hi -a NonText color:#404040; font-weight:bold; +hi Normal color:#dcdccc !important; background-color:#3F3F3F !important; font-size:9pt; +hi -l Normal CmdNormal +hi -l Normal StatusNormal +hi -a Title color:#efefef; background-color:inherit; font-weight:bold; +hi -a CompItem[selected] background-color:#4c504d !important; +hi -a CompMore margin-bottom:0;margin-top:.5ex; +" hi -a CompMore::after content:"﹀" +hi -a CompLess margin-top:.5ex;margin-bottom:1ex; +" hi -a CompLess::after content:"︿" +hi -a CompTitle color:lightblue; background-color:transparent; +hi -a CompTitleSep background:-moz-linear-gradient(60deg, lightblue, white); height:1px; +hi -a Filter font-style:normal; font-weight:bold; +hi -a Keyword color:#f0dfaf; font-weight:bold; +hi -a URL text-decoration:none; color:#9ECE9E; background-color:inherit; +hi -a URL:hover text-decoration:underline; cursor: pointer; +hi -a LineNr color:#9fafaf; background-color:#262626; + +" REPL +hi -l Normal REPL +hi -a REPL font-family:"Lucida Console","Bitstream Vera Sans Mono",Monaco,Consolas,"Courier New",serif;white-space:pre;line-height:1.8em;margin:1em 0;padding: 0.5em 0 0.3em 0; +hi -a REPL-P font-size:92%;margin:0.2em 0;border-bottom:1px dashed #999; +hi -a REPL-R +hi -a REPL-E + +" plugin styles +hi -a BufTabSelected color:#2e3330; background-color:#88b090; padding:0 4px; font-weight:normal; +hi -a BufTabs margin:0 4px; overflow:hidden; +hi -a BufTab padding:0 2px; + +" specific +hi -a NonText color:#5b605e; font-weight:bold; +" vim: set ft=pentadactyl:ts=4:sw=4:tw=0: diff --git a/.pentadactyl/plugins/buftabs.js b/.pentadactyl/plugins/buftabs.js @@ -0,0 +1,272 @@ +// {{{ Information +var INFO = +<plugin name="buftabs" version="1.0" + href="http://git.glacicle.org/vimperator-buftabs/" + summary="Buftabs: show the tabbar in the statusline" + xmlns={NS}> + <author email="[email protected]">Lucas de Vries</author> + <license href="http://sam.zoy.org/wtfpl/">WTFPL</license> + <project name="Pentadactyl" minVersion="1.0"/> + <p> + When the script is loaded it hijacks the statusline to display a + list of tabs, you can use the <o>buftabs</o> option to toggle it + on or off. + </p> + + <p> + Use the BufTab and BufTabSelected highlight groups to style the + buftabs. Make sure youve called the "loadplugins" command + before using the highlight groups in your vimperatorrc. + </p> + + <p> + You can set the max length of a title before it is cut off with + the <o>buftabs-maxlength</o> option. It is set to 25 by default. + </p> + <item> + <tags>'bt' 'buftabs'</tags> + <spec>'buftabs' 'bt'</spec> + <type>boolean</type> <default>true</default> + <description> + Toggle the buftabs on or off. + </description> + </item> + <item> + <tags>'btm' 'buftabs-maxlength'</tags> + <spec>'buftabs-maxlength' 'btm'</spec> + <type>number</type> <default>13</default> + <description> + The maximum length in characters of a single entry in the buftabs line. + Set to 0 for unlimited. + </description> + </item> + <item> + <tags>'btf' 'buftabs-showicons'</tags> + <spec>'buftabs-showicons' 'btf'</spec> + <type>number</type> <default>false</default> + <description> + Toggle favicon support on or off. + </description> + </item> + <item> + <tags>'btc' 'buftabs-completer'</tags> + <spec>'buftabs-completer' 'btc'</spec> + <type>number</type> <default>"..."</default> + <description> + Trailing string when title longer than maxlength. + Set to empty string for no trailing string. + </description> + </item> +</plugin>; +// }}} + +let buftabs = { + // Update the tabs + update: function () + { + if (!options["buftabs"]) + return; + + // Get buftabbar + var btabs = commandline.widgets.statusbar.buftabs; + var visibleTabs = tabs.visibleTabs; + var position=0, selpos; + + // Make sure we have an appropriate amount of labels + while (btabs.childNodes.length > visibleTabs.length) + { + btabs.removeChild(btabs.lastChild); + } + + while (btabs.childNodes.length < visibleTabs.length) + { + let label = document.createElement("label"); + btabs.appendChild(label); + + label.addEventListener("click", function (ev) + { + if (ev.button == 0) + tabs.select(this.tabpos); + else if (ev.button == 1) + tabs.remove(tabs.getTab(this.tabpos), 1, false, 0); + }, false); + } + + // Create the new tabs + for (let [i, tab] in iter(visibleTabs)) + { + // Create label + let browser = tab.linkedBrowser; + let label = btabs.childNodes[i]; + + // Hook on load + if (browser.webProgress.isLoadingDocument) + { + browser._buftabs_label = label; + browser.contentDocument.addEventListener("load", function () + { + buftabs.fillLabel(this._buftabs_label, this); + }, false); + } + + // Fill label + label.tabpos = i; + buftabs.fillLabel(label, browser); + + if (tabs.index(null, true) == label.tabpos) + { + selpos = [position, label.clientWidth+position]; + } + + position += label.clientWidth; + } + + // Scroll + if (selpos[0] < btabs.scrollLeft || selpos[1] > btabs.scrollLeft+btabs.clientWidth) + btabs.scrollLeft = selpos[0]; + + // Show the entire line if possible + if (btabs.scrollWidth == btabs.clientWidth) + btabs.scrollLeft = 0; + }, + + // Fill a label with browser content + fillLabel: function(label, browser) + { + var maxlength = options.get("buftabs-maxlength").get(); + var showicons = options.get("buftabs-showicons").get(); + var threedots = options.get("buftabs-completer").get(); + var tabvalue; + var favicon = BookmarkCache.getFavicon(browser.contentDocument.location.href); + + // Get title + if (browser.webProgress.isLoadingDocument) + { + tabvalue = "Loading..."; + } else { + tabvalue = browser.contentTitle || "Untitled"; + } + + // Check length + if (maxlength > 0 && tabvalue.length > maxlength) + tabvalue = tabvalue.substr(0, maxlength-threedots.length)+threedots; + + // Bookmark icon + if (bookmarkcache.isBookmarked(browser.contentDocument.location.href)) + tabvalue += "\u2764"; + + // Brackets and index + tabvalue = "["+(label.tabpos+1)+"-"+tabvalue+"]"; + + label.setAttribute("value", tabvalue); + if (showicons==true) + { + label.style.paddingLeft="20px"; + label.style.background='url("'+favicon+'") no-repeat left top'; + label.style.MozBackgroundSize='16px 16px'; + } + else + { + label.style.paddingLeft="0px"; + label.style.background=''; + label.style.MozBackgroundSize='0px 0px'; + } + + // Set the correct highlight group + if (tabs.index(null, true) == label.tabpos) + label.setAttributeNS(NS.uri, "highlight", "BufTabSelected"); + else + label.setAttributeNS(NS.uri, "highlight", "BufTab"); + + + }, + + // Create the horizontal box for adding the tabs to + createBar: function() + { + let id = "dactyl-statusline-field-buftabs"; + if (document.getElementById(id)) + return; + + let widget = util.xmlToDom( + <hbox xmlns={XUL} highlight="BufTabs" id={id} flex="1" style="overflow: hidden"/>, + document); + statusline.widgets.url.parentNode.insertBefore( + widget, statusline.widgets.url.nextSibling); + commandline.widgets.addElement({ + name: "buftabs", + getGroup: function () this.statusbar, + getValue: function () statusline.visible && options["buftabs"], + noValue: true + }); + } +}; + +/// Attach to events in order to update the tabline +var tabContainer = window.getBrowser().mTabContainer; +["TabMove", "TabOpen", "TabClose", "TabSelect"].forEach(function (event) { + tabContainer.addEventListener(event, function (event) { + buftabs.update(); + }, false); +}); + +document.getElementById("appcontent").addEventListener("load", function (event) { + buftabs.update(); +}, true); + +/// Initialise highlight groups +highlight.loadCSS(<![CDATA[ + !BufTabs background: inherit; color: inherit; + !BufTab + !BufTabSelected font-weight: bold; +]]>); + +/// Options +group.options.add(["buftabs", "bt"], + "Control whether to use buftabs in the statusline", + "boolean", true, + { + setter: function (value) + { + if (value) + buftabs.createBar(); + commandline.widgets.updateVisibility(); + buftabs.update(); + return value; + } + }); + +group.options.add(["buftabs-maxlength", "btm"], + "Max length of an entry in the buftabs list", + "number", "13", + { + setter: function (value) + { + buftabs.update(); + return value; + } + }); + +group.options.add(["buftabs-showicons", "btf"], + "Show Favicons in buftabs", + "boolean", false, + { + setter: function (value) + { + buftabs.createBar(); + commandline.widgets.updateVisibility(); + buftabs.update(); + return value; + } + }); + +group.options.add(["buftabs-completer", "btc"], + "How to complete title if longer than maxlength", + "string", "...", + { + setter: function (value) + { + buftabs.update(); + return value; + } + }); diff --git a/.pentadactyl/plugins/flashblock.js b/.pentadactyl/plugins/flashblock.js @@ -0,0 +1,480 @@ +/* use strict */ +XML.ignoreWhitespace = false; +XML.prettyPrinting = false; +var INFO = +<plugin name="flashblock" version="1.1" + href="http://dactyl.sf.net/pentadactyl/plugins#flashblock-plugin" + summary="Flash Blocker" + xmlns={NS}> + <author email="[email protected]">Kris Maglione</author> + <license href="http://opensource.org/licenses/mit-license.php">MIT</license> + <project name="Pentadactyl" min-version="1.0"/> + <p> + This plugin provides the same features as the ever popular FlashBlock + Firefox add-on. Place holders are substituted for flash animations and + embedded videos. When clicked, the original embedded content is + restored. Additionally, this plugin provides options to control which + sites can play animations without restrictions and triggers to toggle + the playing of animations on the current page. + </p> + <item> + <tags>'fb' 'flashblock'</tags> + <spec>'flashblock' 'fb'</spec> + <type>boolean</type> + <default>true</default> + <description> + <p> + Controls the blocking of flash animations. When true, place + holders are substituted for flash animations on untrusted sites. + </p> + </description> + </item> + <item> + <tags>'fbw' 'fbwhitelist'</tags> + <spec>'fbwhitelist' 'fbw'</spec> + <type>sitelist</type> + <default></default> + <description> + <p> + Controls which sites may play flash animations without user + intervention. See <ex>:mk{config.name.toLowerCase()}rc</ex>. + </p> + </description> + </item> + <item> + <tags>:flashplay :flp</tags> + <strut/> + <spec>:flashplay</spec> + <description> + <p> + Plays any blocked flash animations on the current page. + </p> + </description> + </item> + <item> + <tags>:flashstop :fls</tags> + <strut/> + <spec>:flashstop</spec> + <description> + <p> + Stops any currently playing flash animations on the current + page. + </p> + </description> + </item> + <item> + <tags>:flashtoggle :flt</tags> + <strut/> + <spec>:flashtoggle</spec> + <description> + <p> + Toggles the playing of all animations on the current page. If + any flash animations are currently blocked, all may begin + playing. Otherwise, all animations are stopped. + </p> + <example><ex>:map</ex> -silent <k name="A-p" link="false"/> <ex>:flashtoggle</ex><k name="CR"/></example> + </description> + </item> +</plugin>; + +if ("noscriptOverlay" in window) + noscriptOverlay.safeAllow("dactyl:", true, false); + +group.options.add(["flashblock", "fb"], + "Enable blocking of flash animations", + "boolean", true, + { setter: reload }); +group.options.add(["fbwhitelist", "fbw"], + "Sites which may run flash animations without prompting", + "sitelist", "", + { + completer: function (context) completion.visibleHosts(context), + privateData: true, + setter: reload, + validator: function () true + }); + +["Play", "Stop"].forEach(function (action) + group.commands.add(["flash" + action, "fl" + action[0]].map(String.toLowerCase), + action + " all flash animations on the current page", + function () { postMessage(content, "flashblock" + action) }, + { argCount: "0" }, true)); +group.commands.add(["flashtoggle", "flt"], + "Toggle playing of flash animations on the current page", + function () { + if (buffer.allFrames().some(function (w) DOM("pseudoembed", w.document).length)) + commands.get("flashplay").action(); + else + commands.get("flashstop").action(); + }, + { argCount: "0" }, true); + +group.mappings.add([modes.NORMAL], ["<Leader>fbwhitelist"], + "Add the current site to the flash whitelist", + function () { whitelist.op("+", whitelist.parse(content.location.hostname)) }); +group.mappings.add([modes.NORMAL], ["<Leader>fbWhitelist"], + "Toggle the current site in the flash whitelist", + function () { + let host = content.location.hostname; + if (!removeHost(host)) + whitelist.op("+", whitelist.parse(host)); + }); + +var enabled = options.get("flashblock"); +var whitelist = options.get("fbwhitelist"); +function postMessage(content, message) { + buffer.allFrames(content).forEach(function (f) f.postMessage(message, "*")); +} +function reload(values) { + //for (let [,t] in tabs.browsers) + // t.contentWindow.postMessage("flashblockReload", "*"); + postMessage(window.content, "flashblockReload"); + return values; +} + +function removeHost(host) { + let len = whitelist.value.length; + let uri = util.createURI(host); + whitelist.value = whitelist.value.filter(function (f) !f(uri)); + return whitelist.value.length != len; +} + +function onUnload() { + group.events.unlisten(null); +} +group.events.listen(window, "flashblockCheckLoad", + function checkLoadFlash(event) { + if(!enabled.value || whitelist.getKey(event.target.documentURIObject)) + event.preventDefault(); + event.stopPropagation(); + }, true, true); + +XML.ignoreWhitespace = true; +XML.prettyPrinting = false; +var data = { + bindings: "dactyl://data/text/xml," + encodeURIComponent('<?xml version="1.0"?>' + + <e4x> + <bindings + xmlns="http://www.mozilla.org/xbl" + xmlns:xbl="http://www.mozilla.org/xbl" + xmlns:html="http://www.w3.org/1999/xhtml"> + + <binding id="flash"> + <implementation> + <constructor> + <![CDATA[ + var myDocument = XPCNativeWrapper(document); + var myWindow = XPCNativeWrapper(window); + + function copyAttribs(to, from) { + Array.map(from.attributes, function(attrib) { + to.setAttribute(attrib.name, attrib.value); + }); + } + function capitalize(str) { return str[0].toUpperCase() + str.substr(1) }; + + function Placeholder(embed) { + var self = this; + this.embed = embed; + + if (!document.flashblockStyle) { + var head = document.getElementsByTagName("head")[0]; + var node = document.createElement("style"); + node.setAttribute("type", "text/css"); + head.insertBefore(node, head.firstChild); + document.flashblockStyle = document.styleSheets[0]; + } + + document.flashblockIdx = (document.flashblockIdx || 0) + 1; + this.idx = document.flashblockIdx; + embed.setAttribute("flashblock", this.idx); + + document.flashblockStyle.insertRule("pseudoembed[flashblock='" + this.idx + "'] {}", 0); + this.style = document.flashblockStyle.cssRules[0].style; + + this.div = myDocument.createElement('pseudoembed'); + this.div.addEventListener("click", function() { self.showEmbed(true) }, true); + this.div.flashblockEmbed = embed; + } + Placeholder.prototype = { + showEmbed: function(clicked) { + this.embed.clicked = clicked; + if (this.embed.parentNode) + return; + copyAttribs(this.embed, this.div); + this.div.parentNode.replaceChild(this.embed, this.div); + }, + hideEmbed: function() { + let parent = this.embed.parentNode; + if (!parent) + return; + + this.div.setAttribute("embedtype", this.embed.localName); + copyAttribs(this.div, this.embed); + + ['width', 'height'].forEach(function(dimen) { + this.style[dimen] = ""; + if (this.embed[dimen]) + if (/%$/.test(this.embed[dimen])) + this.style[dimen] = this.embed[dimen]; + else + this.style[dimen] = parseInt(this.embed[dimen]) + "px"; + }, this); + + let style = myWindow.getComputedStyle(parent, ""); + if (style.getPropertyValue("text-align") == "center") { + this.style.marginRight = "auto"; + this.style.marginLeft = "auto"; + } + + parent.replaceChild(this.div, this.embed); + } + } + + var parent = this.parentNode + var self = this; + if (!this.getAttribute("flashblock")) + this.setAttribute("flashblock", true); + if (this.placeholder || parent.placeholder) + return; + this.placeholder = new Placeholder(self); + + function checkReplace(e) { + if (!e || e.data == "flashblockReload") { + if (self.clicked) + return; + let event = myDocument.createEvent("UIEvents"); + event.initEvent("flashblockCheckLoad", true, true); + myDocument.dispatchEvent(event); + if (event.getPreventDefault()) + self.placeholder.showEmbed(); + else + self.placeholder.hideEmbed(); + } + else if (e.data == "flashblockPlay") + self.placeholder.showEmbed(true); + else if (e.data == "flashblockStop") + self.placeholder.hideEmbed(); + } + checkReplace(); + myWindow.addEventListener("message", checkReplace, false); + + if(this.src == this.ownerDocument.location) + myWindow.location = 'dactyl://data/application/xhtml+xml,' + encodeURIComponent('<?xml version="1.0" encoding="UTF-8"?>' + + '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">' + + <html xmlns="http://www.w3.org/1999/xhtml"> + <head><title></title></head> + <body>{new XML(parent.innerHTML)}</body> + </html>); + ]]> + </constructor> + </implementation> + </binding> + </bindings> + </e4x>.*.toXMLString()), + flash: <![CDATA[data:image/png;base64, + iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAAAABGdBTUEAALGOfPtRkwAAACBjSFJN + AAB6JQAAgIMAAPn/AACA6AAAdTAAAOpgAAA6lwAAF2+XqZnUAAANkklEQVR4nGL8//8/w1AAAAHE + QqF+ZiAWyKntl3/9/oPkp09fhIF8Rqjcfz4+njdiYhIvJtdl3gPyPwHxP3ItAgggRjJDVNw3qdTp + 7qNnHr/+/FXm4ODgFeDh4eBgY2NBdui7Tx9//wCC799/fubkZL+nLCe1ffO87j1AuTekWggQQKQ6 + VNrIJznv05evVhIiImLSEsL8fHwCHHx8fKw8XGxM7CxMTMiKf/759+/r50//Pn799fvz27ffbz19 + /un9+48vBQX5j53bMreHFAcDBBCxDmXxjCuOunH3YbK8lJicsoKigKSECIcgvwCLgCAfEx8XFyMb + OzvYPDR9/3/9/Mnw6du3/x/ef/r3/uOHP/cePv9x497dd89ePH9kqqc9ExjCq4Hq/hJyAEAAEeNQ + ERWHiKnA6NUx0NISV5AW5REXF2eVEBZk5OPjYmSHOJCBg4UVpwE//vxm+PrpO8O3nz/+gxz98uWL + 31duPPxy8MTZ55xcrJfvHFiRwQBJwzgBQAARcqiUtFnwHEU5SU1DPW1RBSkJDjlpCSYhfj5GDg5I + LHMwMzMwszEzsDNgz5fffv2E+FaEj4GVhQ0Yuj8ZPnz89v/1q+d/D5y7+WPngcOv37x5de3FmW0J + DHiSAkAA4XOoBNCR8zVV5LX1gY7UUpRgk5GRYYKFoAA3JAQ5gPmHnYkNqwE///1iEBcSYACmSYbr + 1x8yHD57huH8pZsM7z9+YxDk52Lwdnf4d/rq3Z+bdx14DUwKV4GOjcPlWIAAwlU8cShah8wCOlIL + 5EgDDWU2MVFBJh5ONmAIMjFw80AcC3IgExskWYJCCx0oCgsxfPz2l6Ft2lKGdZu3Mjx5/YHhByMb + w29mdoZ/bOwMWnoGTJ52VuzADCd64vx1LWDAzH56am04UOsvdLMAAgibQxmBObsBGAoaQEeKAB3J + LiUmCo5qbpBDoSGI7EBmVhYGNkbUmAGF4sOnLxhyKloY9h4/z8AmKMrALaHEIMLFC5b//u0zw6XH + rxj8HI2YjA102f8zc4i++/BeE2h3PbBEqEZ3FEAAMaELAAtvQ2DR52xpaCAGjG6sjmTnYgc7kIOT + CyjOAcxILAxMzKwMwLISjEGOBJYQDBGZ5WBHCqtqMogoajJwQh0JAh+//GR48uo12BxFaWkmLVUF + didLE/GXrz44l7RO1UJ3F0AAoTuUdd/xMwUGWtpSykoKXBKiUkzYHAkCMAeyszHBMbBkAOOX7z4x + lDZ0M5y4dptBUMOQgV1QAljAMYMxKCRfvHrDwMbBzsDFwwWODQFeFgYZCREmdXV1Ln0dTZkNuw83 + MkBqPTgACCCUqE8u7bYQEhDUU1WR5ZOVEGHm5uNkBKVJZEeCDIY5EARADkMH05ZsBIekjKoWUA8w + FP9Aisl3nz4z6KpKM8Q5mDEYaykA9XIx/P7yFVhi/GUQ4eFk/CElwWKip8H/4NF9ldSqfvPZbYXH + YGYCBBCyQ5nOX78RYqipISIiJMwOLCOZQGUjF1KaJMaRR89dZ1i6fCU4TXLxiwBFIGn39YcvDMH2 + JgyNSX4MnMDi7Ovnb2DxL79/Ac3nBNrzi4Gf7x+TvKwku6aGuujxcxfjgdLHYQYABBBy1EsCsYmM + rAQPsDBnBudwYCwDMynYkaC0BMowTEDHw6IYG1i+fgfD3dfvGERklBj+MrGA8dMXb8GO7MoIZPgH + rKlevvvA8BsYyCAMK9qADQVwkSciKMisqSjLA8wnoHQqDDMXIIDgDg3PqdeXEJMUgoYmI6ggBxXi + IINgOZuFnQur42Dg7MVbDDv27GXgFxRjAOYcsNiLZy8ZgG0CcEgy/IaELg8rG7iMRQcg+3g42BmB + NR8bsC0hFJXXZgSTAwgguENfv32jDjSQm4uTnRlYqIPLHlhogn0MjHJWpr8MvFy4q8qDx0/AQxME + 3gFD7tuHtww5PnZg/svPH8FRDQtJdMeCQpWbi4NRgIeLRVxCjPvF66caMDmAAIKlUZZfv344A1tB + nMAGBhMr039ItQiNFlBoQgzCHt0g8OzlO4ZNe08APQeMLVZ2sCO/f/vEwM7HwzBlyyGG+SvWMvz/ + 8ovh/9c3DH6BXgylBRkMT58/wzAHlNw42NmZJAV5Oe4/eKgKDcx/AAEEdygDIycnsKnGAmwFMcKK + IxBATpsMf4D1Ngs7Vofevv+A4dT5iwycIjLg3A1yJFzu0lVgk+MTw//vvxgYv35kUDd/w8DLBmlD + Y0sCXOwcjOzcfKzAtq4aNDB/AQQQzKEgV7Ows3EyAl3MCEubyAAU7QwsuEN0776jDN/fvGPgkFIG + O/L3b0TLjYmfj4EBhEFB8/ETMMOIAFtUmG0MkJ3/wQ5hYgS1b0HWQt3GABBAyLmekQGzPcnw+88v + cK2DD4Cqyumzl4DZzEzsKI5EBv++fweGzR+GX3//oDgOhtEAIxsLM9w9AAGEXI7+Z4AVesiG//rP + 8PX7D2DU8zLgCs+d+48yvHlwj4FR35bhxz9glLJyMPz79B7YDnoLjm4U8PUlw+e3xnjTO5J74H0s + gACCORQk8BtE/2H4//8nwx9GDgaEDz99+czwE9iO/AysmUBVJzqYv2oTMGh4GZj4BCGGvXnFAMyV + DFFxAQzADMrw4+s3hMd/fmYwMdZnAHZJsLoOaDfYkX9/g6szkC/B0QMQQDCH/mJj/f/129fPvxmw + hCosWn5++QDECHEBXiGGY+fPMJzYdRjYxFaGCP7+wfD/5RuGCO8gBmDvEyz0/dMPFPN+/f0BLvRx + tWN//PwL7Gf9+MnO9Oc0kAt2OUAAwUOUnZVj0/sPX/S/ff/y98dPfmZ+NmB6AlZtKADKB+VUsCWs + jAz1E+aBxZjFxcCO/AcsRxkFBRgCPayBZS8jw5Nn77A6BlS/AxMthh1/f/1lAPaz/r598/6HgIDI + XVjAAQQQPDMpSAhfffH+/edvP37/AfZx/v/4xcyADkAOBGFQzaKoKMnQP30Rw9n9wLJTSRuu5v/7 + DwwedsYMpoY6DC9fvwcX8OgYnNdADkRzJMjsH3//gvpVf1+9efMF6KbrMDmAAII7dHpX1d2P7z4A + 266ffgI7Yv+gaQVuAAiI8/IzSIqKMvAK8DPUtU1maO6axgBsn0GKH1BovHwFLIZ4GBJDvRn4udgY + 3n/7iRqK2HM3wpNAa758//UP2Pn78e7Tx7dAN92EyQEEEHKuf/vv/89ND569UJCSFOYW/snHxMH2 + C1w8gEIQBI5evsZw6/YdhtXb9jKcOHQK2GMTZGDkkYAUOyDw8QtDUlIQg5u1PsObV+/hjiMWADuC + /z99+vbn2p2nn/k42bcxIPVMAQII2aH/1GWlD9198DRCTUmeX0jgCzMHOw8zqPCXUZZk2LzrCENS + XCrDG2C+YOQRY2CUUmFgYEOUr/8fP2cwNlNkKM2KAfM/f/0FrruJBR9/fGP48PX3/8cv3vx48OjR + SwtD7a0MSBkbIIBQWvjAoL7w4/v7VbfuPQSmgY9/vn7/9R+cBIBVJ9N/oAs5+RgYFTQZmGRl4NHN + 8Os32JFSylIMnbXVDBrAtPvs6WuSHPnjxy8GkF3vPn76fe7y9ffAwndzT3X2LWQ1AAGE3rn7baSj + teXC1dt+kmKiPFycPPxAMWZgT5KRh18IrOA/sB7/C8SIoPjCYKCrwtDfU83gYKIB7haTAkDpHxTl + Hz78+Hv55t3P127dfORjZbCUAW30BCCAMDp3QJ/c4Gf/M+HslWvPHj178e3Nh+9/n7/9yCAuKszA + LyEKdhgjsDEsys3BYCAnwZCdFcawbn4Xg4OBItyRxIYmyJFfgZ08YJT/u/fs+dd9R048VRTlntBU + lXsfXS1AAOEagOB0CM3KVVZQTDTQ15ZWkpLkUpYXYj50/AzD03ffGICNawZFSQEGbSVFcDEFqmVe + vPhAkiNB0f3x5x9gLfPj34PnL76t3br/6fs3j5cd37SwgwFSS6IAgADCN1LCD3RsJtCxCUDHSoIc + a2KgzAwsdhhBBTkIvH/3HdwYJgf8+PXnPzAk/959+BTkyOdAR64EOrILKPUVm3qAAMI3kPvxwOpp + 04GO/f/z7//YXz9+SgHFeKQl+ViAvUd4qwZWdIEArNEEK3eRiyZYTwEK/n/4/OfPucu3v2zbvf/Z + 1y9v1wAd2Y3LkSAAEEDEjObx+cbmBPxlFcg10laW0dZQ5tNUkmYTExJk5uXlZQS3U4kEP3/9+w9M + 739v3n/+69Cp859Onjn/WJCTYfLmxVPW4XMkCAAEELHjo6zZJbWG9159axIUEJZXUZIT1lVX5lZV + EGNTlJYEllTwEMYYH4XRwK7Kv8t3Hv86dvbS19MXbr799PH5A31FqbqpPc3nGIgYHwUIIFJHnPlj + Mkqs3n77X8TFxy8lJSYqqCAlwSUnLcEiJS7ADOzCICeL/x8+fvvz8t3Hv8DS4zewbP4OrEzeA8vp + Z1L8nH1LZvSABheITuAAAUTOGD7IIXzAENb8+OV7+cdfjKC+NzcbFy/QnRzc7MyM4E4VMF3//P7r + x9df3z5/+f7j71dgkfdWQpi/CxiCoIYGqGokyWKAACJ3sgEGQHUoqAPPX1zVIPzj198SKB8EvnGw + Mff0tjWAxjtBFT+ohYJR7BALAAKIUofSDQAEEEbNNFgBQIABABWRKc05F+/jAAAAAElFTkSuQmCC + ]]>, + play: <![CDATA[data:image/png;base64, + iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAAAABGdBTUEAALGOfPtRkwAAACBjSFJN + AAB6JQAAgIMAAPn/AACA6AAAdTAAAOpgAAA6lwAAF2+XqZnUAAANqUlEQVR4nGL8//8/w1AAAAHE + QqF+RiAWzKnt13j9/oPKp09f5JEl+fh4HoqJSdyZXJd5Gcj9AsRkhwpAADGSGaJivkmlcXcfPcv+ + 9eevAgcHB4MADw8DBxsbig/effrE8P3HD4Yf338wcHCyP1CWk5q6eV73PJAUqRYCBBCpDpU28kle + 9enLVysJEREGaQlhYKgJADEfAw8XGwM7CxPEUKArmRlZGH79+8vw9csXhvefvjN8fPea4eajFwzv + 339gEBTkP3Zuy1xfUhwMEEDEOpTJM664+sbdh03yUmIMygqKDJISIgyC/AIMAoJ8DHxcXAxs7OwI + xUAHg9LUfyD8AQzRL19/MLz/+JXh9ds3DPcePmO4ce8uw7MXzxlM9bRLgSHcy0BEkgAIIGIcKqTi + EPEEGL2cBlpaDArSogzi4uIMEsKCwJDkYmAHOhBkBjsbCwPjP6ADmRgZmIEB+xso9vvXH4Zff34z + /Pz9B8z+DsTfvn5leP7yBcPVmw8YDpw8x8DJyfr9zoEVokB7vuJzBEAAEXKohLRZ8HNFOUkGQz1t + BgUpCQY5aQkGIX4+Bg4OSDRzMDMzMLMxM7CDwhAY58zMjECHMzL8+fsH6MB/YIf++POX4dev30D2 + P4Yv374z/P79m4GN8R/D6et3GHYdOM7w+vWLv8/PbBNjwJMUAAIIn0PFgI58qakiz6APdKSWogSD + jIwMOARBQICbFeJQYEiyMbAy/Pz5A+jI/wxsnDwMoJj8+wfkSKgDf/9l+AGkfwAd+PPbH4bPP78y + /P75h4GR+R/Dg2cvGLbvOcLw4Onjv89ObcXpWIAAYsLhSFZF6xC4Iw00lMGO5OFkY+BlZWKQEORk + YAOmQ34OLgZWVhaGN58/MszbcYjhy18Ghr///zJwcrAysLGxApMDMwMHOxs4WXAC+ZxAteycrAy8 + 3BwMnNycwFjhZFBXVGBwd7BiUFdSYQbFHtBuZmwOAgggrOUoMGcfAOZMuCOlxETBUc0NdCgoBNmZ + 2BiYOBghUfKbkeHhy7cM01ZtZ/j48TNDSqAj0KGSwJAHJglgemViBIYcKK8wgsIZxP/NwAJ0ChvT + X4bff/8y/GdiZtDTUAUni9cf3rMB7T4ELBGs0d0EEEAYIQosvK2AOdXK0tAAHN3YHMnOxc7AzALk + c3IBxdkZfvz8Bda7dOcRhsnLtzM8e/4WGCxMwFAHpl1gDLACQ5ONlZWBi52FgQuonpuTm4GbC6SX + E2ymIDDNG2goMDibGzO8fP3RqqR1qj66uwACCN2hzPuOn1lqoKXNoKykwCAhKoXVkSDAzcHGwMnC + AnYMAyMina87eIZh5tptDE9evWb4BcxQrMBKgAOYTNg5gI7mACYBYEhzAR3PwQ5is4KTBDMrM4Og + kACDiroag762JsOG3YePM0DqDDgACCAUhyaXdrsLCQgqqKrIMsgCy0luPk5wrkYJSWA64+bkAKc/ + djaghVwc4BBDBst2H2eYvmYHw+Onrxi+fv3OwAZMsxyskFBlB8YEKygDsjGBaVag+SxMTOBaTU5E + jMFIVx3kec7Uqn5XZDMBAgjZoYznr9+oVleUZxAREgaXkRwswOhiY4ekSTZGsCM5gKEIciAIsAOr + TiagJSyMmHly6Y6jDAu37WN4/OI1sKj6B44VdmDGYmVnAWcudlZQbADTKjB02YBpGZTR+IABI6cg + xqCpoc5w/NzFKcjmAQQQsg1SQGwlIysBLsxBOZwDGMuMwOob5EhWYEiwAaOYCeh4UN0OwiAAjnSU + SIKAf8Bib/H2owyrdh9jePjkJcPvf//ADmQDp1dgSIKSDTCEWYExwwKsIRiByYOHk5lBVFCIQVNR + DlSjqQKNEYKZBxBAcIeG59Q7S4hJIkKTGVKIg0IT5EhQaLKwc8Ed8heYY/8C0yCwdAe6E4tLoY5d + sO0gw5rdhxlevHzDACy9gMUZ0GGg0ASZB/Q0KwuIzwwMVVBSYmUQBWYwcUlgYAHbElF5bR4wswAC + CO5QYD1sAmpkgHIlrFCHhSYIgKKcBVikcHOyABsaPxg+fv4CLOR/MfwBFub//+Gu3f4CQ3LGxgMM + K7YdZnj46CnDlx/fwCEIwqysjEAa6EgWUAgD+cCGDDuwcSPEA3SshDjDi9dPLWDmAAQQrBxl+vXr + Ry6oFQRqYLAy/YdUi0yQZhsoNEGBxgYMgV9Ax4GKo///gPU5UPg/sPz7C+LgASDHTlyzC1il/mbw + tjUDtxfYubgZWIAh/g9avDP+BZaxLP8ZOIGhwwnMF5KCPAz3H/wwZoAkrP8AAQRzKDMDIye4qQZq + BcGKIxBgBTqODegQJmAIgApoUHX4H8j//xdoCbCK/Afk//uH36Ewx87efIDhH1Cfv4MZg4ykODCd + A0sRYEb8DyregIHzD2guI1Cekx1YqnDzgapgKwZITfUHIIDgIQoi2Nk4gamSEZ42QQDUFgCnQlCb + ABjFwBoSzP4LEgU6FBS0oFAlBoDq/nnbDzEoARs2/AJ84Iz1HxobQGeCg44JVHsBkxso0KAAnPYA + AohgV+Q/sPH7F+hwUCMDGFcQh/1jBDv6HzAk/gNbSH///SXKoSAgJsADzLD8wIwI8vQ/sMf/gTwN + K+KQ/AyuTKAAIIAIOhRk4F+go0DRDjLjH7AJB8rN/8EOBUXpH3C0EgNE+bgZ8kPdGKTFRYE1GzvD + n3//GOBlBoFmMUAAwRwKt+kPUMdPIMnBAI16oI9/Axu+/4C+Z2KChORfIBuUnpiBDWWQI//iyfUw + IABsLRWEejDoqasyiAjwg0MLWxMTZDcI/P39ByYEdhtAAMEc+oeN9T+w9f0ZQyPIzwx/gM5nBOY3 + pv/g3A7S+u8/UAyYZSEOxR+ifMBqtiDMncFcX4tBVFgA2KpihgYg9vL3x8+/DB+B3Rd2pj9rQG4G + iQEEEKwc/c/OylH3/sMXhm/fvwAVghzzHWLUf0ioggr4P0AD/oBoYEEPSrKgqAOFNsMf3CEKangU + hLozWOpqMYgJC4EdCQf/f2Oo//sLWLL8/Mnw9s17BgEBkUswcYAAghf4ChLCh1+8f8/w7Qeo6wBq + jYMM/A+G/xggUQ0s3sEOBnczoeA3MLT/4ChHQfV5pq8Dg4WOJoOYqDAk6SADRtTGzM9/wDIaaP6n + b98YXr15A3YTTA4ggOAOnd5VdeXjuw8MH95/YvgK7N7+BEYtKNOACnOQQ0A0yJq/UEfDACszC9a0 + BqoaU73tGGwNdBnExIXBNREh8B/YrP3y/RfDS2Dn792njyA3nYXJAQQQsu63//7/nAzqw3z+Aaoe + gT4ERjHISUygEGT8D8ntQAxy+L9/EDa0eEUBzMAWVZavE4OXtSmDtIwEuInHyIg9PSKDb79+Mnz6 + 9I3h2p2nDHyc7LOAQvBMAxBAyA79ry4rve7ug6cMb99/Yfj87SuwQwbsRgAdyMICaeGwAh0A7JGB + HQnqG4EwKFf8RwphkKfi3KwZfBwsGSSAxRAXOxsDMeAjsA3w4etvYLPwDcODR48YTAy0pyHLAwQQ + SnwAg/rwj+/vJ9+4/4Dh7cdP4IGDP38gxRKopcMEapKxgBoSjOCQBgXkH2CGAKVFGIhwNGMIdbdl + kBQTAreQiAE/fvxi+AqM8ndAO89dvg40+PvSnursS8hqAAIIPeH8NdLRmnvj2h2Gew9fMLz5CAzZ + 77/BuRvkLCZGUCMZGLXg1g+koP4L7PKyQ0Mt3suWIdTVlkGAh5coB4IAKAOBovzDhx8Ml2/eZbh2 + 6yaDk7FBPQNaFQAQQBgpHOiTi3zsvzPPXr3K8Pj5G4bnrz8Ae5fAYhhYVYJCF5YeQY4FDd2ws7Iz + 8AC7vykBjgzhzlYMwoICDHzAZhqxjvz65Sc4yu89e86w78gJBkVR7vSmqty76GoBAgjXAAS7Q2j2 + BGV5hQx9YCGtKC0N7EPxAh0FKvSZwG1HsEOBbFAmAXkANGTzG1gGcnGwYzMPA4Ci++PPPwxfv/1g + ePD8BcParfsZ3r95vOb4poURDNBCHhkABBCuRPTzwOqpZQ6hWaDGTNp/YBplZAR1nfkZuLlZIZ0z + UPfhPxPD198/Ia18YNywAFs9oFAiBoCqSlB5jebIOGyOBAGAAMKX2j8fWD2tBOhYYDH1P+3P9x/A + RKPEIC0GTKsMnAw/QdUgsEHCBS7EQQkX2F6FOQLqWFhTEQRgPQUY+PD5DzDj3GbYtns/MPrfwhz5 + HZdjAAKImNE8Xt/YnPS/rALdBtqqDDoaCgyaCjLA6lCAgRfYIwCNeBALfv76x/D87UeGm/efMxw6 + dZ7h5JnzDIKcDKWbF0+Zis+RIAAQQMSOjzJnl9Ra3Xv17ZCggDCDirIcg66aMoMqsGurKC3JwM/H + RdCAZy/fMVy+85jh2NlLDKcv3GT49PE5g76ilN3UnuYjDESMjwIEEKkjzrwxGSUeb7/9X8XFxw8e + 7oENRUqJC0C6MBwIR3/4+I3h5buPDI+Atd2tew8ZQJUJsJxmkOLnDFsyo2cHA1LNQwgABBC5Y/i8 + wBA2+Pjl+6GPvyBpj42LF9gpA/Z1mCF8YLpm+P7rB8Ovb58Zvv/4y8DP/odBQpgfFIIXSHEgDAAE + ELkOhQFQEwsUhPzFVQ1iP379PYssycHGbNzb1vAKyHwLxKAcRnyCRgMAAUSpQ+kGAAKIcNtrkACA + AAMACHALg12qSjsAAAAASUVORK5CYII + ]]>, +}; + +var CSS = <![CDATA[ /* <css> */ + /* + * Flash Click to View by Ted Mielczarek ([email protected]) + * Original code by Jesse Ruderman ([email protected]) + * taken from http://www.squarefree.com/userstyles/xbl.html + * + * Change XBL binding for <object> tags, click to view flash + */ + + pseudoembed { + display: inline-block; + min-width: 32px !important; + min-height: 32px !important; + border: 1px solid #dfdfdf; + cursor: pointer; + overflow: hidden; + -moz-box-sizing: border-box; + background: url("{play}") no-repeat center; + } + pseudoembed:hover { + background-image: url("{flash}"); + } + + video, + object[classid*=":D27CDB6E-AE6D-11cf-96B8-444553540000"], + object[codebase*="swflash.cab"], + object[data*=".swf"], + embed[type="application/x-shockwave-flash"], + embed[src*=".swf"], + object[type="application/x-shockwave-flash"], + object[src*=".swf"] { + -moz-binding: url("{bindings}") !important; + } + + /* TODO: Could do better. */ + /* + * NoScript is incredibly annoying. The binding can't execute JS on + * untrusted sites. + */ + video:not([flashblock]), + object[classid*=":D27CDB6E-AE6D-11cf-96B8-444553540000"]:not([flashblock]), + object[codebase*="swflash.cab"]:not([flashblock]), + object[data*=".swf"]:not([flashblock]), + embed[type="application/x-shockwave-flash"]:not([flashblock]), + embed[src*=".swf"]:not([flashblock]), + object[type="application/x-shockwave-flash"]:not([flashblock]), + object[src*=".swf"]:not([flashblock]) { + display: none !important; + } + + /* + * Java identifiers. + * TODO: Make this work. + applet, + object[classid*=":8AD9C840-044E-11D1-B3E9-00805F499D93"], + object[classid^="clsid:CAFEEFAC-"], + object[classid^="java:"], + object[type="application/x-java-applet"], + embed[classid*=":8AD9C840-044E-11D1-B3E9-00805F499D93"], + embed[classid^="clsid:CAFEEFAC-"], + embed[classid^="java:"], + embed[type="application/x-java-applet"] + { + -moz-binding: url("{bindings}") !important; + } + */ +]]>.toString().replace(/\{(\w+)\}/g, function($0, $1) String(data[$1]).replace(/\s+/g, "")); + +styles.system.add("flashblock", "*", CSS); +data = null; +CSS = null; + +/* vim:se sts=4 sw=4 et: */ diff --git a/.pentadactylrc b/.pentadactylrc @@ -0,0 +1,23 @@ +" +" author: Xu Xiaodong <[email protected]> +" modified: 2011 May 07 +" + +"-- look --" + +set guioptions=Cs +set showtabline=never + +colorscheme zenburn + +"-- search --" + +set hlfind + +"-- editor --" + +set editor='urxvtc -e vim' + +"-- passthrough --" + +autocmd LocationChange www.google.com/reader/,mail.google.com :normal! <C-z> diff --git a/.perltidyrc b/.perltidyrc @@ -0,0 +1,35 @@ +# +# author: Xu Xiaodong <[email protected]> +# modified: 2011 May 08 +# + +#-- use as filter --# + +-st +-se + +#-- line length --# + +-l=78 + +#-- indent --# + +-i=2 +-ci=2 +-vt=2 +-cti=0 + +#-- tightness --# + +-pt=1 +-bt=1 +-sbt=1 +-bbt=0 +-nsfs +-nolq + +#-- other --# + +-otr +-fbl +-wbb="% + - * / x != == >= <= =~ !~ < > | & = **= += *= &= <<= &&= -= /= |= >>= ||= //= .= %= ^= x=" diff --git a/.rtorrent.rc b/.rtorrent.rc @@ -0,0 +1,34 @@ +# +# author: Xu Xiaodong <[email protected]> +# modified: 2012 May 09 +# + +#-- base --# + +min_peers = 40 +max_peers = 100 +download_rate = 0 +upload_rate = 0 +directory = ~/tmp +session = ~/tmp + +#-- schedule --# + +schedule = watch_directory,5,5,load_start=~/tmp/*.torrent +schedule = watch_directory_2,10,10,"load_start=~/mov/*.torrent,d.set_directory=~/mov/" +schedule = low_diskspace,5,60,close_low_diskspace=1024M + +#-- dht --# + +dht = auto +dht_port = 6881 +peer_exchange = yes + +#-- colors --# +# 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | -1 +# black | red | green | yellow | blue | magenta | cyan | white | default + +#done_fg_color = 2 +#done_bg_color = -1 +#active_fg_color = 1 +#active_bg_color = -1 diff --git a/.themes/BlackWhite/gtk-2.0/Arrows/arrow-down-insens.png b/.themes/BlackWhite/gtk-2.0/Arrows/arrow-down-insens.png Binary files differ. diff --git a/.themes/BlackWhite/gtk-2.0/Arrows/arrow-down-prelight.png b/.themes/BlackWhite/gtk-2.0/Arrows/arrow-down-prelight.png Binary files differ. diff --git a/.themes/BlackWhite/gtk-2.0/Arrows/arrow-down-pressed.png b/.themes/BlackWhite/gtk-2.0/Arrows/arrow-down-pressed.png Binary files differ. diff --git a/.themes/BlackWhite/gtk-2.0/Arrows/arrow-down.png b/.themes/BlackWhite/gtk-2.0/Arrows/arrow-down.png Binary files differ. diff --git a/.themes/BlackWhite/gtk-2.0/Arrows/arrow-left.png b/.themes/BlackWhite/gtk-2.0/Arrows/arrow-left.png Binary files differ. diff --git a/.themes/BlackWhite/gtk-2.0/Arrows/arrow-right-norm.png b/.themes/BlackWhite/gtk-2.0/Arrows/arrow-right-norm.png Binary files differ. diff --git a/.themes/BlackWhite/gtk-2.0/Arrows/arrow-right-prelight.png b/.themes/BlackWhite/gtk-2.0/Arrows/arrow-right-prelight.png Binary files differ. diff --git a/.themes/BlackWhite/gtk-2.0/Arrows/arrow-right.png b/.themes/BlackWhite/gtk-2.0/Arrows/arrow-right.png Binary files differ. diff --git a/.themes/BlackWhite/gtk-2.0/Arrows/arrow-up.png b/.themes/BlackWhite/gtk-2.0/Arrows/arrow-up.png Binary files differ. diff --git a/.themes/BlackWhite/gtk-2.0/Buttons/button-default.png b/.themes/BlackWhite/gtk-2.0/Buttons/button-default.png Binary files differ. diff --git a/.themes/BlackWhite/gtk-2.0/Buttons/button-insensitive.png b/.themes/BlackWhite/gtk-2.0/Buttons/button-insensitive.png Binary files differ. diff --git a/.themes/BlackWhite/gtk-2.0/Buttons/button-normal.png b/.themes/BlackWhite/gtk-2.0/Buttons/button-normal.png Binary files differ. diff --git a/.themes/BlackWhite/gtk-2.0/Buttons/button-prelight.png b/.themes/BlackWhite/gtk-2.0/Buttons/button-prelight.png Binary files differ. diff --git a/.themes/BlackWhite/gtk-2.0/Buttons/button-pressed.png b/.themes/BlackWhite/gtk-2.0/Buttons/button-pressed.png Binary files differ. diff --git a/.themes/BlackWhite/gtk-2.0/Check-Radio/check1.png b/.themes/BlackWhite/gtk-2.0/Check-Radio/check1.png Binary files differ. diff --git a/.themes/BlackWhite/gtk-2.0/Check-Radio/check2.png b/.themes/BlackWhite/gtk-2.0/Check-Radio/check2.png Binary files differ. diff --git a/.themes/BlackWhite/gtk-2.0/Check-Radio/check3.png b/.themes/BlackWhite/gtk-2.0/Check-Radio/check3.png Binary files differ. diff --git a/.themes/BlackWhite/gtk-2.0/Check-Radio/check4.png b/.themes/BlackWhite/gtk-2.0/Check-Radio/check4.png Binary files differ. diff --git a/.themes/BlackWhite/gtk-2.0/Check-Radio/checklight.png b/.themes/BlackWhite/gtk-2.0/Check-Radio/checklight.png Binary files differ. diff --git a/.themes/BlackWhite/gtk-2.0/Check-Radio/highlight.png b/.themes/BlackWhite/gtk-2.0/Check-Radio/highlight.png Binary files differ. diff --git a/.themes/BlackWhite/gtk-2.0/Check-Radio/option1.png b/.themes/BlackWhite/gtk-2.0/Check-Radio/option1.png Binary files differ. diff --git a/.themes/BlackWhite/gtk-2.0/Check-Radio/option2.png b/.themes/BlackWhite/gtk-2.0/Check-Radio/option2.png Binary files differ. diff --git a/.themes/BlackWhite/gtk-2.0/Check-Radio/option3.png b/.themes/BlackWhite/gtk-2.0/Check-Radio/option3.png Binary files differ. diff --git a/.themes/BlackWhite/gtk-2.0/Check-Radio/option4.png b/.themes/BlackWhite/gtk-2.0/Check-Radio/option4.png Binary files differ. diff --git a/.themes/BlackWhite/gtk-2.0/Combo/combo-active.png b/.themes/BlackWhite/gtk-2.0/Combo/combo-active.png Binary files differ. diff --git a/.themes/BlackWhite/gtk-2.0/Combo/combo-arrow-insens.png b/.themes/BlackWhite/gtk-2.0/Combo/combo-arrow-insens.png Binary files differ. diff --git a/.themes/BlackWhite/gtk-2.0/Combo/combo-arrow-prelight.png b/.themes/BlackWhite/gtk-2.0/Combo/combo-arrow-prelight.png Binary files differ. diff --git a/.themes/BlackWhite/gtk-2.0/Combo/combo-arrow.png b/.themes/BlackWhite/gtk-2.0/Combo/combo-arrow.png Binary files differ. diff --git a/.themes/BlackWhite/gtk-2.0/Combo/combo-inactive.png b/.themes/BlackWhite/gtk-2.0/Combo/combo-inactive.png Binary files differ. diff --git a/.themes/BlackWhite/gtk-2.0/Combo/combo-normal.png b/.themes/BlackWhite/gtk-2.0/Combo/combo-normal.png Binary files differ. diff --git a/.themes/BlackWhite/gtk-2.0/Combo/combo-prelight.png b/.themes/BlackWhite/gtk-2.0/Combo/combo-prelight.png Binary files differ. diff --git a/.themes/BlackWhite/gtk-2.0/Combo/combo-pressed.png b/.themes/BlackWhite/gtk-2.0/Combo/combo-pressed.png Binary files differ. diff --git a/.themes/BlackWhite/gtk-2.0/Combo/text-entry.png b/.themes/BlackWhite/gtk-2.0/Combo/text-entry.png Binary files differ. diff --git a/.themes/BlackWhite/gtk-2.0/Frame-Gap/frame-gap-end.png b/.themes/BlackWhite/gtk-2.0/Frame-Gap/frame-gap-end.png Binary files differ. diff --git a/.themes/BlackWhite/gtk-2.0/Frame-Gap/frame-gap-start.png b/.themes/BlackWhite/gtk-2.0/Frame-Gap/frame-gap-start.png Binary files differ. diff --git a/.themes/BlackWhite/gtk-2.0/Frame-Gap/frame1.png b/.themes/BlackWhite/gtk-2.0/Frame-Gap/frame1.png Binary files differ. diff --git a/.themes/BlackWhite/gtk-2.0/Frame-Gap/frame2.png b/.themes/BlackWhite/gtk-2.0/Frame-Gap/frame2.png Binary files differ. diff --git a/.themes/BlackWhite/gtk-2.0/Handles/handle-h.png b/.themes/BlackWhite/gtk-2.0/Handles/handle-h.png Binary files differ. diff --git a/.themes/BlackWhite/gtk-2.0/Handles/handle-v.png b/.themes/BlackWhite/gtk-2.0/Handles/handle-v.png Binary files differ. diff --git a/.themes/BlackWhite/gtk-2.0/Handles/resize-grip.png b/.themes/BlackWhite/gtk-2.0/Handles/resize-grip.png Binary files differ. diff --git a/.themes/BlackWhite/gtk-2.0/Lines/line-h.png b/.themes/BlackWhite/gtk-2.0/Lines/line-h.png Binary files differ. diff --git a/.themes/BlackWhite/gtk-2.0/Lines/line-v.png b/.themes/BlackWhite/gtk-2.0/Lines/line-v.png Binary files differ. diff --git a/.themes/BlackWhite/gtk-2.0/ListHeaders/list_header-insens.png b/.themes/BlackWhite/gtk-2.0/ListHeaders/list_header-insens.png Binary files differ. diff --git a/.themes/BlackWhite/gtk-2.0/ListHeaders/list_header-prelight.png b/.themes/BlackWhite/gtk-2.0/ListHeaders/list_header-prelight.png Binary files differ. diff --git a/.themes/BlackWhite/gtk-2.0/ListHeaders/list_header-pressed.png b/.themes/BlackWhite/gtk-2.0/ListHeaders/list_header-pressed.png Binary files differ. diff --git a/.themes/BlackWhite/gtk-2.0/ListHeaders/list_header.png b/.themes/BlackWhite/gtk-2.0/ListHeaders/list_header.png Binary files differ. diff --git a/.themes/BlackWhite/gtk-2.0/Menu-Menubar/menu.png b/.themes/BlackWhite/gtk-2.0/Menu-Menubar/menu.png Binary files differ. diff --git a/.themes/BlackWhite/gtk-2.0/Menu-Menubar/menubar-black.png b/.themes/BlackWhite/gtk-2.0/Menu-Menubar/menubar-black.png Binary files differ. diff --git a/.themes/BlackWhite/gtk-2.0/Menu-Menubar/menubar-item.png b/.themes/BlackWhite/gtk-2.0/Menu-Menubar/menubar-item.png Binary files differ. diff --git a/.themes/BlackWhite/gtk-2.0/Menu-Menubar/menuitem.png b/.themes/BlackWhite/gtk-2.0/Menu-Menubar/menuitem.png Binary files differ. diff --git a/.themes/BlackWhite/gtk-2.0/Menu-Menubar/menuline.png b/.themes/BlackWhite/gtk-2.0/Menu-Menubar/menuline.png Binary files differ. diff --git a/.themes/BlackWhite/gtk-2.0/Others/focus.png b/.themes/BlackWhite/gtk-2.0/Others/focus.png Binary files differ. diff --git a/.themes/BlackWhite/gtk-2.0/Others/null.png b/.themes/BlackWhite/gtk-2.0/Others/null.png Binary files differ. diff --git a/.themes/BlackWhite/gtk-2.0/Others/ruler.png b/.themes/BlackWhite/gtk-2.0/Others/ruler.png Binary files differ. diff --git a/.themes/BlackWhite/gtk-2.0/Panel/handle-h.png b/.themes/BlackWhite/gtk-2.0/Panel/handle-h.png Binary files differ. diff --git a/.themes/BlackWhite/gtk-2.0/Panel/handle-v.png b/.themes/BlackWhite/gtk-2.0/Panel/handle-v.png Binary files differ. diff --git a/.themes/BlackWhite/gtk-2.0/Panel/panel-bg.png b/.themes/BlackWhite/gtk-2.0/Panel/panel-bg.png Binary files differ. diff --git a/.themes/BlackWhite/gtk-2.0/Panel/panelbutton1.png b/.themes/BlackWhite/gtk-2.0/Panel/panelbutton1.png Binary files differ. diff --git a/.themes/BlackWhite/gtk-2.0/Panel/panelbutton2.png b/.themes/BlackWhite/gtk-2.0/Panel/panelbutton2.png Binary files differ. diff --git a/.themes/BlackWhite/gtk-2.0/Panel/panelbutton3.png b/.themes/BlackWhite/gtk-2.0/Panel/panelbutton3.png Binary files differ. diff --git a/.themes/BlackWhite/gtk-2.0/Panel/panelbutton4.png b/.themes/BlackWhite/gtk-2.0/Panel/panelbutton4.png Binary files differ. diff --git a/.themes/BlackWhite/gtk-2.0/ProgressBar/progressbar-horiz.png b/.themes/BlackWhite/gtk-2.0/ProgressBar/progressbar-horiz.png Binary files differ. diff --git a/.themes/BlackWhite/gtk-2.0/ProgressBar/progressbar-vert.png b/.themes/BlackWhite/gtk-2.0/ProgressBar/progressbar-vert.png Binary files differ. diff --git a/.themes/BlackWhite/gtk-2.0/ProgressBar/trough-progressbar-horiz.png b/.themes/BlackWhite/gtk-2.0/ProgressBar/trough-progressbar-horiz.png Binary files differ. diff --git a/.themes/BlackWhite/gtk-2.0/Range/null.png b/.themes/BlackWhite/gtk-2.0/Range/null.png Binary files differ. diff --git a/.themes/BlackWhite/gtk-2.0/Range/slider-horiz-prelight.png b/.themes/BlackWhite/gtk-2.0/Range/slider-horiz-prelight.png Binary files differ. diff --git a/.themes/BlackWhite/gtk-2.0/Range/slider-horiz.png b/.themes/BlackWhite/gtk-2.0/Range/slider-horiz.png Binary files differ. diff --git a/.themes/BlackWhite/gtk-2.0/Range/slider-vert-prelight.png b/.themes/BlackWhite/gtk-2.0/Range/slider-vert-prelight.png Binary files differ. diff --git a/.themes/BlackWhite/gtk-2.0/Range/slider-vert.png b/.themes/BlackWhite/gtk-2.0/Range/slider-vert.png Binary files differ. diff --git a/.themes/BlackWhite/gtk-2.0/Range/trough-horizontal.png b/.themes/BlackWhite/gtk-2.0/Range/trough-horizontal.png Binary files differ. diff --git a/.themes/BlackWhite/gtk-2.0/Range/trough-vertical.png b/.themes/BlackWhite/gtk-2.0/Range/trough-vertical.png Binary files differ. diff --git a/.themes/BlackWhite/gtk-2.0/Scrollbars/slider-horiz-insens.png b/.themes/BlackWhite/gtk-2.0/Scrollbars/slider-horiz-insens.png Binary files differ. diff --git a/.themes/BlackWhite/gtk-2.0/Scrollbars/slider-horiz-prelight.png b/.themes/BlackWhite/gtk-2.0/Scrollbars/slider-horiz-prelight.png Binary files differ. diff --git a/.themes/BlackWhite/gtk-2.0/Scrollbars/slider-horiz.png b/.themes/BlackWhite/gtk-2.0/Scrollbars/slider-horiz.png Binary files differ. diff --git a/.themes/BlackWhite/gtk-2.0/Scrollbars/slider-vert-insens.png b/.themes/BlackWhite/gtk-2.0/Scrollbars/slider-vert-insens.png Binary files differ. diff --git a/.themes/BlackWhite/gtk-2.0/Scrollbars/slider-vert-prelight.png b/.themes/BlackWhite/gtk-2.0/Scrollbars/slider-vert-prelight.png Binary files differ. diff --git a/.themes/BlackWhite/gtk-2.0/Scrollbars/slider-vert.png b/.themes/BlackWhite/gtk-2.0/Scrollbars/slider-vert.png Binary files differ. diff --git a/.themes/BlackWhite/gtk-2.0/Scrollbars/stepper-down-insens.png b/.themes/BlackWhite/gtk-2.0/Scrollbars/stepper-down-insens.png Binary files differ. diff --git a/.themes/BlackWhite/gtk-2.0/Scrollbars/stepper-down-prelight.png b/.themes/BlackWhite/gtk-2.0/Scrollbars/stepper-down-prelight.png Binary files differ. diff --git a/.themes/BlackWhite/gtk-2.0/Scrollbars/stepper-down.png b/.themes/BlackWhite/gtk-2.0/Scrollbars/stepper-down.png Binary files differ. diff --git a/.themes/BlackWhite/gtk-2.0/Scrollbars/stepper-left-insens.png b/.themes/BlackWhite/gtk-2.0/Scrollbars/stepper-left-insens.png Binary files differ. diff --git a/.themes/BlackWhite/gtk-2.0/Scrollbars/stepper-left-prelight.png b/.themes/BlackWhite/gtk-2.0/Scrollbars/stepper-left-prelight.png Binary files differ. diff --git a/.themes/BlackWhite/gtk-2.0/Scrollbars/stepper-left.png b/.themes/BlackWhite/gtk-2.0/Scrollbars/stepper-left.png Binary files differ. diff --git a/.themes/BlackWhite/gtk-2.0/Scrollbars/stepper-right-insens.png b/.themes/BlackWhite/gtk-2.0/Scrollbars/stepper-right-insens.png Binary files differ. diff --git a/.themes/BlackWhite/gtk-2.0/Scrollbars/stepper-right-prelight.png b/.themes/BlackWhite/gtk-2.0/Scrollbars/stepper-right-prelight.png Binary files differ. diff --git a/.themes/BlackWhite/gtk-2.0/Scrollbars/stepper-right.png b/.themes/BlackWhite/gtk-2.0/Scrollbars/stepper-right.png Binary files differ. diff --git a/.themes/BlackWhite/gtk-2.0/Scrollbars/stepper-up-insens.png b/.themes/BlackWhite/gtk-2.0/Scrollbars/stepper-up-insens.png Binary files differ. diff --git a/.themes/BlackWhite/gtk-2.0/Scrollbars/stepper-up-prelight.png b/.themes/BlackWhite/gtk-2.0/Scrollbars/stepper-up-prelight.png Binary files differ. diff --git a/.themes/BlackWhite/gtk-2.0/Scrollbars/stepper-up.png b/.themes/BlackWhite/gtk-2.0/Scrollbars/stepper-up.png Binary files differ. diff --git a/.themes/BlackWhite/gtk-2.0/Scrollbars/trough-scrollbar-horiz.png b/.themes/BlackWhite/gtk-2.0/Scrollbars/trough-scrollbar-horiz.png Binary files differ. diff --git a/.themes/BlackWhite/gtk-2.0/Scrollbars/trough-scrollbar-vert.png b/.themes/BlackWhite/gtk-2.0/Scrollbars/trough-scrollbar-vert.png Binary files differ. diff --git a/.themes/BlackWhite/gtk-2.0/Shadows/entry-shadow-in.png b/.themes/BlackWhite/gtk-2.0/Shadows/entry-shadow-in.png Binary files differ. diff --git a/.themes/BlackWhite/gtk-2.0/Shadows/shadow-etched-out.png b/.themes/BlackWhite/gtk-2.0/Shadows/shadow-etched-out.png Binary files differ. diff --git a/.themes/BlackWhite/gtk-2.0/Shadows/shadow-in.png b/.themes/BlackWhite/gtk-2.0/Shadows/shadow-in.png Binary files differ. diff --git a/.themes/BlackWhite/gtk-2.0/Shadows/shadow-none.png b/.themes/BlackWhite/gtk-2.0/Shadows/shadow-none.png Binary files differ. diff --git a/.themes/BlackWhite/gtk-2.0/Shadows/shadow-out.png b/.themes/BlackWhite/gtk-2.0/Shadows/shadow-out.png Binary files differ. diff --git a/.themes/BlackWhite/gtk-2.0/Shadows/text-entry.png b/.themes/BlackWhite/gtk-2.0/Shadows/text-entry.png Binary files differ. diff --git a/.themes/BlackWhite/gtk-2.0/Shadows/text.png b/.themes/BlackWhite/gtk-2.0/Shadows/text.png Binary files differ. diff --git a/.themes/BlackWhite/gtk-2.0/Spin/arrow-down-disable.png b/.themes/BlackWhite/gtk-2.0/Spin/arrow-down-disable.png Binary files differ. diff --git a/.themes/BlackWhite/gtk-2.0/Spin/arrow-down-prelight.png b/.themes/BlackWhite/gtk-2.0/Spin/arrow-down-prelight.png Binary files differ. diff --git a/.themes/BlackWhite/gtk-2.0/Spin/arrow-down.png b/.themes/BlackWhite/gtk-2.0/Spin/arrow-down.png Binary files differ. diff --git a/.themes/BlackWhite/gtk-2.0/Spin/arrow-up-disable.png b/.themes/BlackWhite/gtk-2.0/Spin/arrow-up-disable.png Binary files differ. diff --git a/.themes/BlackWhite/gtk-2.0/Spin/arrow-up-prelight.png b/.themes/BlackWhite/gtk-2.0/Spin/arrow-up-prelight.png Binary files differ. diff --git a/.themes/BlackWhite/gtk-2.0/Spin/arrow-up.png b/.themes/BlackWhite/gtk-2.0/Spin/arrow-up.png Binary files differ. diff --git a/.themes/BlackWhite/gtk-2.0/Spin/entry-shadow-in.png b/.themes/BlackWhite/gtk-2.0/Spin/entry-shadow-in.png Binary files differ. diff --git a/.themes/BlackWhite/gtk-2.0/Spin/spin-down-bg.png b/.themes/BlackWhite/gtk-2.0/Spin/spin-down-bg.png Binary files differ. diff --git a/.themes/BlackWhite/gtk-2.0/Spin/spin-up-bg.png b/.themes/BlackWhite/gtk-2.0/Spin/spin-up-bg.png Binary files differ. diff --git a/.themes/BlackWhite/gtk-2.0/Spin/text-entry-focus.png b/.themes/BlackWhite/gtk-2.0/Spin/text-entry-focus.png Binary files differ. diff --git a/.themes/BlackWhite/gtk-2.0/Spin/text-entry.png b/.themes/BlackWhite/gtk-2.0/Spin/text-entry.png Binary files differ. diff --git a/.themes/BlackWhite/gtk-2.0/Tabs/gap-bottom.png b/.themes/BlackWhite/gtk-2.0/Tabs/gap-bottom.png Binary files differ. diff --git a/.themes/BlackWhite/gtk-2.0/Tabs/gap-left.png b/.themes/BlackWhite/gtk-2.0/Tabs/gap-left.png Binary files differ. diff --git a/.themes/BlackWhite/gtk-2.0/Tabs/gap-right.png b/.themes/BlackWhite/gtk-2.0/Tabs/gap-right.png Binary files differ. diff --git a/.themes/BlackWhite/gtk-2.0/Tabs/gap-top.png b/.themes/BlackWhite/gtk-2.0/Tabs/gap-top.png Binary files differ. diff --git a/.themes/BlackWhite/gtk-2.0/Tabs/notebook.png b/.themes/BlackWhite/gtk-2.0/Tabs/notebook.png Binary files differ. diff --git a/.themes/BlackWhite/gtk-2.0/Tabs/null.png b/.themes/BlackWhite/gtk-2.0/Tabs/null.png Binary files differ. diff --git a/.themes/BlackWhite/gtk-2.0/Tabs/tab-bottom-active.png b/.themes/BlackWhite/gtk-2.0/Tabs/tab-bottom-active.png Binary files differ. diff --git a/.themes/BlackWhite/gtk-2.0/Tabs/tab-bottom.png b/.themes/BlackWhite/gtk-2.0/Tabs/tab-bottom.png Binary files differ. diff --git a/.themes/BlackWhite/gtk-2.0/Tabs/tab-left-active.png b/.themes/BlackWhite/gtk-2.0/Tabs/tab-left-active.png Binary files differ. diff --git a/.themes/BlackWhite/gtk-2.0/Tabs/tab-left.png b/.themes/BlackWhite/gtk-2.0/Tabs/tab-left.png Binary files differ. diff --git a/.themes/BlackWhite/gtk-2.0/Tabs/tab-right-active.png b/.themes/BlackWhite/gtk-2.0/Tabs/tab-right-active.png Binary files differ. diff --git a/.themes/BlackWhite/gtk-2.0/Tabs/tab-right.png b/.themes/BlackWhite/gtk-2.0/Tabs/tab-right.png Binary files differ. diff --git a/.themes/BlackWhite/gtk-2.0/Tabs/tab-top-active.png b/.themes/BlackWhite/gtk-2.0/Tabs/tab-top-active.png Binary files differ. diff --git a/.themes/BlackWhite/gtk-2.0/Tabs/tab-top.png b/.themes/BlackWhite/gtk-2.0/Tabs/tab-top.png Binary files differ. diff --git a/.themes/BlackWhite/gtk-2.0/Toolbar/toolbutton-normal.png b/.themes/BlackWhite/gtk-2.0/Toolbar/toolbutton-normal.png Binary files differ. diff --git a/.themes/BlackWhite/gtk-2.0/Toolbar/toolbutton-prelight.png b/.themes/BlackWhite/gtk-2.0/Toolbar/toolbutton-prelight.png Binary files differ. diff --git a/.themes/BlackWhite/gtk-2.0/Toolbar/toolbutton-pressed.png b/.themes/BlackWhite/gtk-2.0/Toolbar/toolbutton-pressed.png Binary files differ. diff --git a/.themes/BlackWhite/gtk-2.0/Toolbar/toolbutton-toggled.png b/.themes/BlackWhite/gtk-2.0/Toolbar/toolbutton-toggled.png Binary files differ. diff --git a/.themes/BlackWhite/gtk-2.0/gtkrc b/.themes/BlackWhite/gtk-2.0/gtkrc @@ -0,0 +1,1794 @@ +#BlackWhite By lyrae | thrynk.deviantart.com + +#include "panel.rc" +#include "menubar.rc" +include "menubar-black.rc" + + +gtk-icon-sizes = "panel-menu=14,14:panel=14,14:gtk-button=14,14:gtk-small-toolbar=14,14:gtk-large-toolbar=14,14" +gtk-button-images = 0 +gtk-menu-images = 0 + + + +style "default" +{ + GtkWidget::interior_focus = 7 + GtkWidget::focus_padding = 0 + GtkButton::default_border = { 0, 0, 0, 0 } + GtkButton::default_outside_border = { 0, 0, 0, 0 } + + GtkRange::trough_border = 0 + GtkRange::slider_width = 15 + GtkRange::stepper_size = 15 + + GtkVScale::slider_length = 11 + GtkVScale::slider_width = 21 + GtkHScale::slider_length = 11 + GtkHScale::slider_width = 21 + + GtkPaned::handle_size = 6 + GtkScrollbar::min_slider_length = 50 + GtkCheckButton::indicator_size = 12 + GtkCheckButton::indicator_spacing = 3 + GtkMenuBar::internal_padding = 1 + GtkOptionMenu::indicator_size = { 15, 8 } + GtkOptionMenu::indicator_spacing = { 8, 2, 0, 0 } + GtkStatusbar::shadow_type = GTK_SHADOW_NONE + GtkSpinButton::shadow_type = GTK_SHADOW_NONE + + xthickness = 2 + ythickness = 2 + + fg[NORMAL] = "#222222" # Metacity and mouseover, Most text + fg[ACTIVE] = "#222222" + fg[PRELIGHT] = "#e0e0e0" + fg[SELECTED] = "#ffffff" + fg[INSENSITIVE] = "#808080" + + bg[NORMAL] = "#ffffff" # Normal Background + bg[ACTIVE] = "#ffffff" # Mouseclicking, Tabs, active window list + bg[PRELIGHT] = "#ffffff" # Expand prelight bg + bg[SELECTED] = "#222222" + bg[INSENSITIVE] = "#ffffff" + + base[NORMAL] = "#ffffff" # Background, most + base[ACTIVE] = "#222222" # Menu active item in inactive window + base[PRELIGHT] = "#ffffff" + base[INSENSITIVE] = "#ffffff" # Inactive Entry bg + base[SELECTED] = "#222222" # Menu active item in active window + + text[NORMAL] = "#222222" # Text in window, arrows + text[INSENSITIVE] = "#222222" # Insensitive arrows + text[SELECTED] = "#ffffff" # Active text in active window + text[ACTIVE] = "#c0c0c0" # Active text in inactive window + text[PRELIGHT] = "#ffffff" # Text on Mouseover + + engine "pixmap" + { + image + { + function = HANDLE + recolorable = TRUE + overlay_file = "Panel/handle-v.png" + overlay_stretch = FALSE + orientation = HORIZONTAL + } + image + { + function = HANDLE + recolorable = TRUE + overlay_file = "Panel/handle-h.png" + overlay_stretch = FALSE + orientation = VERTICAL + } + +####################### SHADOWS ############################x + + image + { + function = SHADOW + shadow = IN + recolorable = FALSE + file = "Shadows/shadow-in.png" + border = { 3, 3, 2, 2 } + stretch = TRUE + } + image + { + function = SHADOW + shadow = OUT + recolorable = TRUE + file = "Shadows/shadow-out.png" + stretch = TRUE + } + + image + { + function = SHADOW + shadow = ETCHED_IN + recolorable = TRUE + file = "Frame-Gap/frame1.png" + border = { 2, 2, 2, 2 } + stretch = TRUE + } + image + { + function = SHADOW + shadow = ETCHED_OUT + recolorable = TRUE + file = "Shadows/shadow-none.png" + border = { 2, 2, 2, 2 } + stretch = TRUE + } + image + { + function = SHADOW_GAP + recolorable = TRUE + file = "Frame-Gap/frame1.png" + border = { 2, 2, 2, 2 } + stretch = TRUE + gap_start_file = "Frame-Gap/frame-gap-start.png" + gap_start_border = { 2, 0, 2, 0 } + gap_end_file = "Frame-Gap/frame-gap-end.png" + gap_end_border = { 0, 2, 2, 0 } + gap_side = TOP + } + + image + { + function = VLINE + recolorable = TRUE + file = "Lines/line-v.png" + border = { 1, 1, 0, 0 } + stretch = TRUE + } + image + { + function = HLINE + recolorable = TRUE + file = "Lines/line-h.png" + border = { 0, 0, 1, 1 } + stretch = TRUE + } + + # focus + + image + { + function = FOCUS + recolorable = TRUE + file = "Others/focus.png" + border = { 6, 0, 6, 0 } + stretch = TRUE + } + + # arrows + + image + { + function = ARROW + recolorable = TRUE + overlay_file = "Arrows/arrow-up.png" + overlay_border = { 0, 0, 0, 0 } + overlay_stretch = FALSE + arrow_direction = UP + } + image + { + function = ARROW + state = NORMAL + recolorable = TRUE + overlay_file = "Arrows/arrow-down.png" + overlay_border = { 0, 0, 0, 0 } + overlay_stretch = FALSE + arrow_direction = DOWN + } + image + { + function = ARROW + state = PRELIGHT + recolorable = TRUE + overlay_file = "Arrows/arrow-down-prelight.png" + overlay_border = { 0, 0, 0, 0 } + overlay_stretch = FALSE + arrow_direction = DOWN + } + image + { + function = ARROW + state = ACTIVE + recolorable = TRUE + overlay_file = "Arrows/arrow-down-pressed.png" + overlay_border = { 0, 0, 0, 0 } + overlay_stretch = FALSE + arrow_direction = DOWN + } + + image + { + function = ARROW + state = INSENSITIVE + recolorable = TRUE + overlay_file = "Arrows/arrow-down-insens.png" + overlay_border = { 0, 0, 0, 0 } + overlay_stretch = FALSE + arrow_direction = DOWN + } + + image + { + function = ARROW + recolorable = TRUE + overlay_file = "Arrows/arrow-left.png" + overlay_border = { 0, 0, 0, 0 } + overlay_stretch = FALSE + arrow_direction = LEFT + } + image + { + function = ARROW + recolorable = TRUE + overlay_file = "Arrows/arrow-right.png" + overlay_border = { 0, 0, 0, 0 } + overlay_stretch = FALSE + arrow_direction = RIGHT + } + image + { + function = BOX + recolorable = TRUE + file = "Others/null.png" + border = { 3, 3, 3, 3 } + stretch = TRUE + } + } + +} + +class "GtkWidget" style "default" + +style "inactivetext" +{ + +engine "mist" + { + } +} + +widget_class "*.<GtkLabel>" style "inactivetext" +widget_class "*.<GtkCellLayout>" style "inactivetext" +#widget_class "*.<Combo>" style "inactivetext" + +style "inactivetext2" +{ + + + fg[PRELIGHT] = "#ffffff" + text[PRELIGHT] = "#ffffff" + +engine "mist" + { + } +} + +widget_class "*.<GtkMenuItem>.*" style "inactivetext2" + + +#################### BUTTONS ####################### + +style "button" = "default" +{ + + engine "pixmap" + { + image + { + function = BOX + detail = "buttondefault" + recolorable = TRUE + file = "Buttons/button-default.png" + border = {4, 4, 4, 4} + stretch = TRUE + } + image + { + function = BOX + state = PRELIGHT + recolorable = TRUE + file = "Buttons/button-prelight.png" + border = { 4, 4, 4, 4 } + stretch = TRUE + } + image + { + function = BOX + state = ACTIVE + file = "Buttons/button-pressed.png" + border = { 4, 4, 4, 4 } + stretch = TRUE + } + image + { + function = BOX + state = INSENSITIVE + file = "Buttons/button-insensitive.png" + border = { 4, 4, 4, 4 } + stretch = TRUE + } + image + { + function = BOX + file = "Buttons/button-normal.png" + border = { 4, 4, 4, 4 } + stretch = TRUE + } + } +} + + + + +style "checkradiobutton" { + engine "pixmap" { + image + { + function = FLAT_BOX + recolorable = TRUE + file = "Check-Radio/highlight.png" + border = { 2, 5, 2, 5 } + stretch = TRUE + } + } +} + +class "GtkRadioButton" style "checkradiobutton" +class "GtkCheckButton" style "checkradiobutton" + +style "optionmenu" = "default" + +{ + engine "pixmap" + { + image + { + function = BOX + recolorable = TRUE + state = PRELIGHT + file = "Combo/combo-prelight.png" + border = { 5, 5, 5, 5} + stretch = TRUE + } + image + { + function = BOX + recolorable = TRUE + state = NORMAL + file = "Combo/combo-normal.png" + border = { 5, 5, 5, 5} + stretch = TRUE + } + + image + { + function = BOX + recolorable = TRUE + state = ACTIVE + file = "Combo/combo-pressed.png" + border = { 5, 5, 5, 5} + stretch = TRUE + } + image + { + function = BOX + recolorable = TRUE + state = INSENSITIVE + file = "Combo/combo-inactive.png" + border = { 5, 5, 5, 5} + stretch = TRUE + } + image + { + function = TAB + state = INSENSITIVE + recolorable = TRUE + overlay_file = "Combo/combo-arrow-insens.png" + overlay_stretch = FALSE + } + image + { + function = TAB + recolorable = TRUE + state = NORMAL + overlay_file = "Combo/combo-arrow.png" + overlay_border = { 0, 0, 0, 0 } + overlay_stretch = FALSE + } + image + { + function = TAB + recolorable = TRUE + state = PRELIGHT + overlay_file = "Combo/combo-arrow-prelight.png" + overlay_border = { 0, 0, 0, 0 } + overlay_stretch = FALSE + } + } +} + +widget_class "*Combo*" style "optionmenu" + +style "radiobutton" = "default" +{ + engine "pixmap" + { + image + { + function = OPTION + recolorable = TRUE + state = NORMAL + shadow = OUT + overlay_file = "Check-Radio/option1.png" + overlay_stretch = FALSE + } + image + { + function = OPTION + recolorable = TRUE + state = PRELIGHT + shadow = OUT + overlay_file = "Check-Radio/option3.png" + overlay_stretch = FALSE + } + image + { + function = OPTION + recolorable = TRUE + state = ACTIVE + shadow = OUT + overlay_file = "Check-Radio/option3.png" + overlay_stretch = FALSE + } + image + { + function = OPTION + recolorable = TRUE + state = INSENSITIVE + shadow = OUT + overlay_file = "Check-Radio/option1.png" + overlay_stretch = FALSE + } + image + { + function = OPTION + recolorable = TRUE + state = NORMAL + shadow = IN + overlay_file = "Check-Radio/option2.png" + overlay_stretch = FALSE + } + image + { + function = OPTION + recolorable = TRUE + state = PRELIGHT + shadow = IN + overlay_file = "Check-Radio/option4.png" + overlay_stretch = FALSE + } + image + { + function = OPTION + recolorable = TRUE + state = ACTIVE + shadow = IN + overlay_file = "Check-Radio/option4.png" + overlay_stretch = FALSE + } + image + { + function = OPTION + recolorable = TRUE + state = INSENSITIVE + shadow = IN + overlay_file = "Check-Radio/option1.png" + overlay_stretch = FALSE + } + image + { + function = FLAT_BOX + recolorable = TRUE + stretch = TRUE + file = "Check-Radio/checklight.png" + border = { 2, 2, 2, 2 } + } + } +} + + +style "checkbutton" = "default" +{ + engine "pixmap" + { + image + { + function = CHECK + recolorable = TRUE + state = NORMAL + shadow = OUT + overlay_file = "Check-Radio/check1.png" + overlay_stretch = FALSE + } + image + { + function = CHECK + recolorable = TRUE + state = PRELIGHT + shadow = OUT + overlay_file = "Check-Radio/check3.png" + overlay_stretch = FALSE + } + image + { + function = CHECK + recolorable = TRUE + state = ACTIVE + shadow = OUT + overlay_file = "Check-Radio/check3.png" + overlay_stretch = FALSE + } + image + { + function = CHECK + recolorable = TRUE + state = INSENSITIVE + shadow = OUT + overlay_file = "Check-Radio/check1.png" + overlay_stretch = FALSE + } + image + { + function = CHECK + recolorable = TRUE + state = NORMAL + shadow = IN + overlay_file = "Check-Radio/check2.png" + overlay_stretch = FALSE + } + image + { + function = CHECK + recolorable = TRUE + state = PRELIGHT + shadow = IN + overlay_file = "Check-Radio/check4.png" + overlay_stretch = FALSE + } + image + { + function = CHECK + recolorable = TRUE + state = ACTIVE + shadow = IN + overlay_file = "Check-Radio/check4.png" + overlay_stretch = FALSE + } + image + { + function = CHECK + recolorable = TRUE + state = INSENSITIVE + shadow = IN + overlay_file = "Check-Radio/check1.png" + overlay_stretch = FALSE + } + image + { + function = FLAT_BOX + recolorable = TRUE + stretch = TRUE + file = "Check-Radio/checklight.png" + border = { 2, 2, 2, 2 } + } + } +} + + +####################### ENTRY #####################xx + +style "entry" = "default" +{ + + xthickness = 3 + ythickness = 2 + GtkWidget::interior_focus = 0 + + engine "pixmap" + { + image + { + function = FOCUS + recolorable = TRUE + file = "Shadows/entry-shadow-in.png" + border = { 3,3,3,3 } + stretch = TRUE + } + image + { + function = BOX + recolorable = TRUE + shadow = IN + state = NORMAL + file = "Shadows/entry-shadow-in.png" + border = { 3,3,3,3 } + stretch = TRUE + } +image + { + function = BOX + recolorable = TRUE + shadow = OUT + state = NORMAL + file = "Shadows/text-entry.png" + border = { 3,3,3,3 } + stretch = TRUE + } + image + { + function = SHADOW + detail = "entry" + shadow = IN + recolorable = FALSE + file = "Shadows/text-entry.png" + border = { 3,3,3,3 } + stretch = TRUE + } + } +} + +################x SPINBUTTONS ################ + +style "spinbutton" = "default" +{ + + xthickness = 3 + ythickness = 1 + GtkWidget::interior_focus = 0 + + engine "pixmap" + { + image + { + function = ARROW + } + +############################# UP ######################xx + image + { + function = BOX + state = NORMAL + detail = "spinbutton_up" + recolorable = TRUE + file = "Spin/spin-up-bg.png" + border = { 5, 5, 5, 5 } + stretch = TRUE + overlay_file = "Spin/arrow-up.png" + overlay_stretch = FALSE + } + image + { + function = BOX + state = PRELIGHT + detail = "spinbutton_up" + recolorable = TRUE + file = "Spin/spin-up-bg.png" + border = { 5, 5, 5, 5 } + stretch = TRUE + overlay_file = "Spin/arrow-up-prelight.png" + overlay_stretch = FALSE + } + image + { + function = BOX + state = INSENSITIVE + detail = "spinbutton_up" + recolorable = TRUE + file = "Spin/spin-up-bg.png" + border = { 5, 5, 5, 5 } + stretch = TRUE + overlay_file = "Spin/arrow-up-disable.png" + overlay_stretch = FALSE + } + image + { + function = BOX + state = ACTIVE + detail = "spinbutton_up" + recolorable = TRUE + file = "Spin/spin-up-bg.png" + border = { 5, 5, 5, 5 } + stretch = TRUE + } + +########################x DOWN ######################## + image + { + function = BOX + state = NORMAL + detail = "spinbutton_down" + recolorable = TRUE + file = "Spin/spin-down-bg.png" + border = { 5, 5, 5, 5 } + stretch = TRUE + overlay_file = "Spin/arrow-down.png" + overlay_stretch = FALSE + } + image + { + function = BOX + state = PRELIGHT + detail = "spinbutton_down" + recolorable = TRUE + file = "Spin/spin-down-bg.png" + border = { 5, 5, 5, 5 } + stretch = TRUE + overlay_file = "Spin/arrow-down-prelight.png" + overlay_stretch = FALSE + } + image + { + function = BOX + state = INSENSITIVE + detail = "spinbutton_down" + recolorable = TRUE + file = "Spin/spin-down-bg.png" + border = { 5, 5, 5, 5 } + stretch = TRUE + overlay_file = "Spin/arrow-down-disable.png" + overlay_stretch = FALSE + } + image + { + function = BOX + state = ACTIVE + detail = "spinbutton_down" + recolorable = TRUE + file = "Spin/spin-down-bg.png" + border = { 5, 5, 5, 5 } + stretch = TRUE + overlay_file = "Spin/arrow-down-prelight.png" + overlay_stretch = FALSE + } +########################## SPIN ENTRY ########################### + image + { + function = FOCUS + recolorable = TRUE + file = "Spin/text-entry-focus.png" + border = { 3,3,3,3 } + stretch = TRUE + } + image + { + function = SHADOW + detail = "entry" + shadow = IN + recolorable = FALSE + file = "Spin/text-entry.png" + border = { 3,3,3,3 } + stretch = TRUE + } + } +} + + +############################# SCROLLBAR #################### + +style "scrollbar" = "default" +{ + engine "pixmap" + { + image + { + function = BOX + recolorable = TRUE + detail = "trough" + file = "Scrollbars/trough-scrollbar-horiz.png" + border = { 19, 19, 2, 2 } + stretch = TRUE + orientation = HORIZONTAL + } + image + { + function = BOX + recolorable = TRUE + detail = "trough" + file = "Scrollbars/trough-scrollbar-vert.png" + border = { 2, 2, 19, 19 } + stretch = TRUE + orientation = VERTICAL + } + +###########x SLIDERS ##################x + + image + { + function = SLIDER + recolorable = TRUE + state = NORMAL + file = "Scrollbars/slider-horiz.png" + border = { 2, 2, 2, 2 } + stretch = TRUE + orientation = HORIZONTAL + } + image + { + function = SLIDER + recolorable = TRUE + state = ACTIVE + shadow = IN + file = "Scrollbars/slider-horiz.png" + border = { 2, 2, 2, 2 } + stretch = TRUE + orientation = HORIZONTAL + + } + image + { + function = SLIDER + recolorable = TRUE + state = PRELIGHT + file = "Scrollbars/slider-horiz-prelight.png" + border = { 2, 2, 2, 2 } + stretch = TRUE + orientation = HORIZONTAL + + } + image + { + function = SLIDER + recolorable = TRUE + state = INSENSITIVE + file = "Scrollbars/slider-horiz-insens.png" + border = { 2, 2, 2, 2 } + stretch = TRUE + orientation = HORIZONTAL + + } + +#############x verticals################xx + + image + { + function = SLIDER + recolorable = TRUE + state = NORMAL + file = "Scrollbars/slider-vert.png" + border = { 2, 2, 2, 2 } + stretch = TRUE + orientation = VERTICAL + + } + image + { + function = SLIDER + recolorable = TRUE + state = ACTIVE + shadow = IN + file = "Scrollbars/slider-vert.png" + border = { 2, 2, 2, 2 } + stretch = TRUE + orientation = VERTICAL + + } + image + { + function = SLIDER + recolorable = TRUE + state = PRELIGHT + file = "Scrollbars/slider-vert-prelight.png" + border = { 2, 2, 2, 2 } + stretch = TRUE + orientation = VERTICAL + + } + image + { + function = SLIDER + recolorable = TRUE + state = INSENSITIVE + file = "Scrollbars/slider-vert-insens.png" + border = { 2, 2, 2, 2 } + stretch = TRUE + orientation = VERTICAL + + } + +###########x END SLIDERS ##################x + +########### Steppers ###################### +#### UP ####### + image + { + function = STEPPER + recolorable = TRUE + state = NORMAL + file = "Scrollbars/stepper-up.png" + stretch = TRUE + arrow_direction = UP + } + image + { + function = STEPPER + recolorable = TRUE + state = PRELIGHT + file = "Scrollbars/stepper-up-prelight.png" + stretch = TRUE + arrow_direction = UP + } + image + { + function = STEPPER + recolorable = TRUE + state = ACTIVE + file = "Scrollbars/stepper-up-prelight.png" + stretch = TRUE + arrow_direction = UP + } + image + { + function = STEPPER + recolorable = TRUE + state = INSENSITIVE + file = "Scrollbars/stepper-up-insens.png" + stretch = TRUE + arrow_direction = UP + } + + ######### DOWN ############ + + image + { + function = STEPPER + recolorable = TRUE + state = NORMAL + file = "Scrollbars/stepper-down.png" + stretch = TRUE + arrow_direction = DOWN + } + image + { + function = STEPPER + recolorable = TRUE + state = PRELIGHT + file = "Scrollbars/stepper-down-prelight.png" + stretch = TRUE + arrow_direction = DOWN + } + image + { + function = STEPPER + recolorable = TRUE + state = ACTIVE + file = "Scrollbars/stepper-down-prelight.png" + stretch = TRUE + arrow_direction = DOWN + } + image + { + function = STEPPER + recolorable = TRUE + state = INSENSITIVE + file = "Scrollbars/stepper-down-insens.png" + stretch = TRUE + arrow_direction = DOWN + } + +############ RIGHT ################ + + image + { + function = STEPPER + recolorable = TRUE + state = NORMAL + file = "Scrollbars/stepper-right.png" + stretch = TRUE + arrow_direction = RIGHT + } + image + { + function = STEPPER + recolorable = TRUE + state = PRELIGHT + file = "Scrollbars/stepper-right-prelight.png" + stretch = TRUE + arrow_direction = RIGHT + } + image + { + function = STEPPER + recolorable = TRUE + state = ACTIVE + file = "Scrollbars/stepper-right-prelight.png" + stretch = TRUE + arrow_direction = RIGHT + } + image + { + function = STEPPER + recolorable = TRUE + state = INSENSITIVE + file = "Scrollbars/stepper-right-insens.png" + stretch = TRUE + arrow_direction = RIGHT + } + +############### LEFT ################### + + image + { + function = STEPPER + recolorable = TRUE + state = NORMAL + file = "Scrollbars/stepper-left.png" + stretch = TRUE + arrow_direction = LEFT + } + image + { + function = STEPPER + recolorable = TRUE + state = PRELIGHT + file = "Scrollbars/stepper-left-prelight.png" + stretch = TRUE + arrow_direction = LEFT + } + image + { + function = STEPPER + recolorable = TRUE + state = ACTIVE + file = "Scrollbars/stepper-left-prelight.png" + stretch = TRUE + arrow_direction = LEFT + } + image + { + function = STEPPER + recolorable = TRUE + state = INSENSITIVE + file = "Scrollbars/stepper-left-insens.png" + stretch = TRUE + arrow_direction = LEFT + } + } +} + +##################### PROGRESSBAR ###################x + +style "progressbar" { + + fg[PRELIGHT] = "#ffffff" + + xthickness = 1 + ythickness = 1 + + engine "pixmap" + { + image + { + function = BOX + detail = "trough" + file = "ProgressBar/trough-progressbar-horiz.png" + border = { 2, 2, 2, 2 } + stretch = TRUE + } + image + { + function = BOX + detail = "bar" + file = "ProgressBar/progressbar-horiz.png" + border = { 2, 2, 2, 2 } + stretch = TRUE + orientation = HORIZONTAL + } + image + { + function = BOX + detail = "bar" + file = "ProgressBar/progressbar-vert.png" + border = { 2, 2, 2, 2 } + stretch = TRUE + orientation = VERTICAL + } + } +} + +############################# RANGE ####################### + +style "range" = "default" +{ + engine "pixmap" + { + image + { + function = BOX + recolorable = TRUE + detail = "trough" + file = "Range/trough-horizontal.png" + border = { 10, 10, 1, 19 } + stretch = TRUE + orientation = HORIZONTAL + } + image + { + function = BOX + recolorable = TRUE + detail = "trough" + file = "Range/trough-vertical.png" + border = { 0, 19, 10, 10 } + stretch = TRUE + orientation = VERTICAL + } + +############### the sliders ############### + + image + { + function = SLIDER + recolorable = TRUE + state = NORMAL + file = "Range/null.png" + border = { 0, 0, 0, 0 } + stretch = TRUE + overlay_file = "Range/slider-horiz.png" + overlay_stretch = FALSE + orientation = HORIZONTAL + } + image + { + function = SLIDER + recolorable = TRUE + state = PRELIGHT + file = "Range/null.png" + border = { 0, 0, 0, 0 } + stretch = TRUE + overlay_file = "Range/slider-horiz-prelight.png" + overlay_stretch = FALSE + orientation = HORIZONTAL + } + image + { + function = SLIDER + recolorable = TRUE + state = INSENSITIVE + file = "Range/null.png" + border = { 0, 0, 0, 0 } + stretch = TRUE + overlay_file = "Range/slider-horiz.png" + overlay_stretch = FALSE + orientation = HORIZONTAL + } + +######################### VERTICAL ########################### + + image + { + function = SLIDER + recolorable = TRUE + state = NORMAL + file = "Range/null.png" + border = { 0, 0, 0, 0 } + stretch = TRUE + overlay_file = "Range/slider-vert.png" + overlay_stretch = FALSE + orientation = VERTICAL + } + image + { + function = SLIDER + recolorable = TRUE + state = PRELIGHT + file = "Range/null.png" + border = { 0, 0, 0, 0 } + stretch = TRUE + overlay_file = "Range/slider-vert-prelight.png" + overlay_stretch = FALSE + orientation = VERTICAL + } + image + { + function = SLIDER + recolorable = TRUE + state = INSENSITIVE + file = "Range/null.png" + border = { 0, 0, 0, 0 } + stretch = TRUE + overlay_file = "Range/slider-vert.png" + overlay_stretch = FALSE + orientation = VERTICAL + } + } +} + +################### TOOLBAR ########################### + +style "toolbar" +{ + engine "pixmap" + { + image + { + function = BOX + file = "Others/null.png" + border = { 4, 4, 4, 4} + stretch = TRUE + } + } +} +widget_class "*BonoboDockItem" style "toolbar" +class "*BonoboDockItem" style "toolbar" + +widget_class "*HandleBox" style "toolbar" +class "*HandleBox" style "toolbar" + +widget_class "*Toolbar" style "toolbar" +class "*Toolbar" style "toolbar" + +##################### TOOLBAR BUTTONS ############################### + +style "toolbuttons" = "default" +{ + xthickness = 1 + ythickness = 1 + GtkWidget::focus_padding = 2 + + engine "pixmap" { + +image + { + function = BOX + recolorable = TRUE + state = NORMAL + file = "Toolbar/toolbutton-normal.png" + border = { 5, 5, 5, 5 } + stretch = TRUE + } +image + { + function = BOX + recolorable = TRUE + state = PRELIGHT + file = "Toolbar/toolbutton-prelight.png" + border = { 5, 5, 5, 5 } + stretch = TRUE + } +image + { + function = BOX + recolorable = TRUE + state = ACTIVE + file = "Toolbar/toolbutton-pressed.png" + border = { 5, 5, 5, 5 } + stretch = TRUE + } +image + { + function = BOX + recolorable = TRUE + state = INSENSITIVE + file = "Toolbar/toolbutton-normal.png" + border = { 5, 5, 5, 5 } + stretch = TRUE + } + } +} +widget_class "*Tool*GtkToggleButton" style "toolbuttons" +widget_class "*Tool*GtkButton" style "toolbuttons" + +################### PANEL GRAPHICS ################################# +################### MENU ################################# + +style "menu" = "default" +{ + +xthickness = 3 +ythickness = 1 + + engine "pixmap" + { + image + { + function = BOX + recolorable = TRUE + detail = "menu" + file = "Menu-Menubar/menu.png" + border = { 34, 3, 3, 3 } + stretch = TRUE + } + } +} + +########################### Menuitem ############################# +style "menuitem" = "default" +{ + xthickness = 1 + fg[PRELIGHT] = "#ffffff" + +engine "pixmap" + { + image + { + function = BOX + recolorable = TRUE + file = "Menu-Menubar/menuitem.png" + border = { 10, 10, 10, 10 } + stretch = TRUE + } + image + { + function = ARROW + recolorable = TRUE + state = NORMAL + overlay_file = "Arrows/arrow-right-norm.png" + overlay_stretch = FALSE + arrow_direction = RIGHT + } + image + { + function = ARROW + recolorable = TRUE + state = PRELIGHT + overlay_file = "Arrows/arrow-right-prelight.png" + overlay_stretch = FALSE + arrow_direction = RIGHT + } + } +} + + +style "tearoffmenuitem" = "menuitem" +{ + engine "pixmap" + { + image + { + function = ARROW + file = "Arrows/arrow-left.png" + stretch = TRUE + arrow_direction = LEFT + } + } +} + +style "notebook" = "default" +{ + + xthickness = 2 + ythickness = 2 + engine "pixmap" + { + image + { + function = EXTENSION + recolorable = TRUE + state = ACTIVE + file = "Tabs/tab-bottom.png" + border = { 4,4,4,4} + stretch = TRUE + gap_side = TOP + } + image + { + function = EXTENSION + recolorable = TRUE + state = ACTIVE + file = "Tabs/tab-top.png" + border = { 4,4,4,4} + stretch = TRUE + gap_side = BOTTOM + } + image + { + function = EXTENSION + recolorable = TRUE + state = ACTIVE + file = "Tabs/tab-left.png" + border = { 4,4,4,4} + stretch = TRUE + gap_side = RIGHT + } + image + { + function = EXTENSION + recolorable = TRUE + state = ACTIVE + file = "Tabs/tab-right.png" + border = { 4,4,4,4} + stretch = TRUE + gap_side = LEFT + } + image + { + function = EXTENSION + recolorable = TRUE + file = "Tabs/tab-top-active.png" + border = { 4,4,4,4} + stretch = TRUE + gap_side = BOTTOM + } + image + { + function = EXTENSION + recolorable = TRUE + file = "Tabs/tab-bottom-active.png" + border = { 4,4,4,4} + stretch = TRUE + gap_side = TOP + } + image + { + function = EXTENSION + recolorable = TRUE + file = "Tabs/tab-left-active.png" + border = { 4,4,4,4} + stretch = TRUE + gap_side = RIGHT + } + image + { + function = EXTENSION + recolorable = TRUE + file = "Tabs/tab-right-active.png" + border = { 4,4,4,4} + stretch = TRUE + gap_side = LEFT + } + +# How to draw boxes with a gap on one side (ie the page of a notebook) + + image + { + function = BOX_GAP + recolorable = TRUE + file = "Tabs/notebook.png" + border = { 5, 5, 5, 5 } + stretch = TRUE + gap_file = "Tabs/gap-top.png" + gap_border = { 5, 5, 5, 5 } + gap_start_file = "Others/null.png" + gap_start_border = { 0, 0, 0, 0 } + gap_end_file = "Others/null.png" + gap_end_border = { 0, 0, 0, 0 } + gap_side = TOP + } + image + { + function = BOX_GAP + recolorable = TRUE + file = "Tabs/notebook.png" + border = { 5, 5, 5, 5 } + stretch = TRUE + gap_file = "Tabs/gap-bottom.png" + gap_border = { 5, 5, 5, 5 } + gap_start_file = "Others/null.png" + gap_start_border = { 0, 0, 0, 0 } + gap_end_file = "Others/null.png" + gap_end_border = { 0, 0, 0, 0 } + gap_side = BOTTOM + } + image + { + function = BOX_GAP + recolorable = TRUE + file = "Tabs/notebook.png" + border = { 5, 5, 5, 5 } + stretch = TRUE + gap_file = "Tabs/gap-left.png" + gap_border = { 5, 5, 5, 5 } + gap_start_file = "Others/null.png" + gap_start_border = { 0, 0, 0, 0 } + gap_end_file = "Others/null.png" + gap_end_border = { 0, 0, 0, 0 } + gap_side = LEFT + } + image + { + function = BOX_GAP + recolorable = TRUE + file = "Tabs/notebook.png" + border = { 5, 5, 5, 5 } + stretch = TRUE + gap_file = "Tabs/gap-right.png" + gap_border = { 5, 5, 5, 5 } + gap_start_file = "Others/null.png" + gap_start_border = { 0, 0, 0, 0 } + gap_end_file = "Others/null.png" + gap_end_border = { 0, 0, 0, 0 } + gap_side = RIGHT + } + +# How to draw the box of a notebook when it isnt attached to a tab + + image + { + function = BOX + recolorable = TRUE + file = "Tabs/notebook.png" + border = { 6,6,6,6 } + stretch = TRUE + } + } +} + +style "tooltips" = "default" +{ + bg[NORMAL] = "#ffffff" +} + +##################### RULER ################## + +style "ruler" = "default" +{ + engine "pixmap" + { + image + { + function = BOX + recolorable = TRUE + detail = "vruler" + file = "Others/ruler.png" + border = { 2, 2, 2, 2 } + stretch = TRUE + } + image + { + function = BOX + recolorable = TRUE + detail = "hruler" + file = "Others/ruler.png" + border = { 2, 2, 2, 2 } + stretch = TRUE + } + } +} + +################# HANDLES ###################x + + +style "handlebox" = "default" +{ + engine "pixmap" + { + image + { + function = HANDLE + recolorable = TRUE + overlay_file = "Others/null.png" +# overlay_file = "Handles/handle-v.png" + overlay_stretch = FALSE + orientation = VERTICAL + } + image + { + function = HANDLE + overlay_file = "Others/null.png" +# overlay_file = "Handles/handle-h.png" + overlay_stretch = FALSE + orientation = HORIZONTAL + } + } +} + +style "flat" = "default" +{ + engine "pixmap" + { + image + { + function = SHADOW + } + } +} + +style "layout" = "default" +{ + engine "pixmap" + { + image + { + function = SHADOW + detail = "entry" + shadow = IN + recolorable = FALSE + file = "Shadows/text.png" + border = { 1, 1, 1, 1 } + stretch = TRUE + } + image + { + function = BOX + detail = "button" + state = NORMAL + file = "Buttons/button-normal.png" + recolorable = TRUE + border = { 2, 3, 2, 3 } + stretch = TRUE + } + } +} + +##################### STATUSBAR ############################### + +style "statusbar" = "default" +{ + +# xthickness = 1 +# ythickness = 1 + + engine "pixmap" + { + image + { + function = RESIZE_GRIP + recolorable = TRUE + #state = NORMAL + detail = "statusbar" + overlay_file = "Handles/resize-grip.png" + + overlay_border = {0,0,0,0 } + overlay_stretch = FALSE + } + } +} + +##################### LISTHEADERS ###################x + +style "list-header" +{ + #Comment out the ythickness setting below for thicker column headers. + #ythickness = 0 + GtkTreeView::odd_row_color = "#ffffff" + GtkTreeView::even_row_color = "#ffffff" + +# fg[NORMAL] = "#ffffff" +# text[NORMAL] = "#ffffff" + + engine "pixmap" + { + + #This image is used to draw the headers of columns in list views when they are + #not selected. + image + { + function = BOX + recolorable = TRUE + state = NORMAL + file = "ListHeaders/list_header.png" + border = { 2, 2, 2, 2 } + stretch = TRUE + } + + #This image is used to draw the column headers in list views when they are + #clicked. + image + { + function = BOX + recolorable = TRUE + state = PRELIGHT + file = "ListHeaders/list_header-prelight.png" + border = { 2, 2, 2, 2 } + stretch = TRUE + } + + #Does this do anything? + + image + { + function = BOX + recolorable = TRUE + state = ACTIVE + file = "ListHeaders/list_header-pressed.png" + border = { 2, 2, 2, 2} + stretch = TRUE + } + image + { + function = BOX + recolorable = TRUE + state = SELECTED + file = "ListHeaders/list_header-prelight.png" + border = { 2, 2, 2, 2 } + stretch = TRUE + } + image + { + function = BOX + recolorable = TRUE + state = INSENSITIVE + file = "ListHeaders/list_header-insens.png" + border = { 2, 2, 2, 2 } + stretch = TRUE + } + } +} + +widget_class "*List" style "list-header" +widget_class "*GtkTree*" style "list-header" +widget_class "*GtkCList*" style "list-header" +#widget_class "*Tree*" style "list-header" + + +# This prevents Sodipodi from crashing while opening the +# Object-Style dialog. + +style "unstyle" +{ + engine "" + { + } +} + +# recognizable pressed toggle buttons +# SPIcons seem to erase the background first. That's why I can't use +# the button style. + +style "SPbutton" +{ + engine "pixmap" + { + image + { + function = BOX + shadow = IN + recolorable = TRUE + file = "Shadows/shadow-out.png" + border = { 2, 2, 2, 2 } + stretch = TRUE + } + image + { + function = BOX + } + } +} + + + + +# widget styles + +class "GtkButton" style "button" +class "GtkRadioButton" style "radiobutton" +class "GtkRadioMenuItem" style "radiobutton" +class "GtkCheckButton" style "checkbutton" +class "GtkCheckMenuItem" style "checkbutton" +class "GtkOptionMenu" style "optionmenu" +class "GtkCombo*" style "optionmenu" +class "*Font*" style "optionmenu" +class "GtkEntry" style "entry" +class "GtkOldEditable" style "entry" +class "GtkSpinButton" style "spinbutton" +class "GtkRuler" style "ruler" +class "GtkScrollbar" style "scrollbar" +class "GtkStatusbar" style "statusbar" +class "GtkProgressBar" style "progressbar" +class "GtkRange" style "range" +class "GtkMenu" style "menu" +class "GtkMenuBar*" style "menubar" +widget_class "*MenuBar.*" style "menubar" +widget_class "*.<MenuItem>." style "menuitem" +class "GtkMenuItem" style "menuitem" +class "GtkTearoffMenuItem" style "menuitem" +class "GtkNotebook" style "notebook" +class "GtkToolbar" style "flat" +class "GtkHandleBox" style "handlebox" +class "GtkEventBox" style "flat" +class "GtkPaned" style "handlebox" +class "GtkLayout" style "layout" +class "SPButton" style "SPbutton" +widget "gtk-tooltips" style "tooltips" + +# prevent Sodipodi from crashing +class "SPColorSlider" style "unstyle" + diff --git a/.themes/BlackWhite/gtk-2.0/menubar-black.rc b/.themes/BlackWhite/gtk-2.0/menubar-black.rc @@ -0,0 +1,57 @@ +#################### MENUBAR ################### + + +style "menubar" +{ + fg[NORMAL] = "#ffffff" + text[NORMAL] = "#ffffff" + fg[PRELIGHT] = "#000000" + fg[ACTIVE] = "#000000" + fg[INSENSITIVE] = "#000000" + text[PRELIGHT] = "#000000" + +xthickness = 2 +ythickness = 1 + engine "pixmap" + { + image + { + function = BOX + state = NORMAL + file = "Menu-Menubar/menubar-black.png" + border = { 2, 2, 2, 2 } + stretch = TRUE + } + + image + { + function = BOX + state = ACTIVE + file = "Menu-Menubar/menubar-black.png" + border = { 2, 2, 2, 2 } + stretch = TRUE + } + + image + { + function = BOX + state = INSENSITIVE + file = "Menu-Menubar/menubar-black.png" + border = { 2, 2, 2, 2 } + stretch = TRUE + } + + image + { + function = BOX + recolorable = TRUE + state = PRELIGHT + file = "Menu-Menubar/menubar-item.png" + + border = { 10, 10, 10, 10 } + stretch = TRUE + } + + } +} + diff --git a/.themes/BlackWhite/gtk-2.0/menubar.rc b/.themes/BlackWhite/gtk-2.0/menubar.rc @@ -0,0 +1,59 @@ +#################### MENUBAR ################### + + +style "menubar" + +{ + fg[NORMAL] = "#000000" + text[NORMAL] = "#ffffff" + fg[PRELIGHT] = "#000000" + fg[ACTIVE] = "#000000" + fg[INSENSITIVE] = "#000000" + text[PRELIGHT] = "#000000" + +xthickness = 1 + ythickness = 2 + + engine "pixmap" + { + image + { + function = BOX + state = NORMAL + file = "Others/null.png" + border = { 2, 2, 2, 2 } + stretch = TRUE + } + + image + { + function = BOX + state = ACTIVE + file = "Others/null.png" + border = { 2, 2, 2, 2 } + stretch = TRUE + } + + image + { + function = BOX + state = INSENSITIVE + file = "Others/null.png" + border = { 2, 2, 2, 2 } + stretch = TRUE + } + + image + { + function = BOX + recolorable = TRUE + state = PRELIGHT + file = "Menu-Menubar/menubar-item.png" + + border = { 10, 10, 10, 10 } + stretch = TRUE + } + + } +} + diff --git a/.themes/BlackWhite/gtk-2.0/panel.rc b/.themes/BlackWhite/gtk-2.0/panel.rc @@ -0,0 +1,127 @@ +#################### PANEL BACKGROUND #########################xx + +style "panelbg" +{ + + xthickness = 0 + ythickness = 0 +bg_pixmap[NORMAL] = "Panel/panel-bg.png" +#bg_pixmap[SELECTED] = "Panel/panel-bg.png" +#bg_pixmap[INSENSITIVE] = "Panel/panel-bg.png" +#bg_pixmap[PRELIGHT] = "Panel/panel-bg.png" +#bg_pixmap[ACTIVE] = "Panel/panel-bg.png" +} + +class "*Panel*" style "panelbg" +widget_class "*notif*" style "panelbg" +widget_class "*Notif*" style "panelbg" +widget_class "*Tray*" style "panelbg" +widget_class "*tray*" style "panelbg" + +##################### PANEL BUTTONS ############################### + +style "panelbuttons" +{ + + fg[NORMAL] = "#ffffff" # very dark brown + fg[PRELIGHT] = "#000000" # text on buttons (hover) + fg[ACTIVE] = "#808080" # text on unfocused tabs + fg[SELECTED] = "#ffffff" # selected text on lists + fg[INSENSITIVE] = "#ffffff" # greyed "unused" text + # bg[NORMAL] = "#222222" #Panel bg color + + xthickness = 2 + ythickness = 1 + + GtkWidget::focus_padding = 2 + + engine "pixmap" { + + image + { + function = BOX + recolorable = TRUE + state = NORMAL + file = "Panel/panelbutton1.png" + border = { 0, 0, 0, 0 } + stretch = TRUE + } + + image + { + function = BOX + recolorable = TRUE + state = PRELIGHT + file = "Panel/panelbutton2.png" + border = { 0, 0, 0, 0 } + stretch = TRUE + } + + image + { + function = BOX + recolorable = TRUE + shadow = OUT + state = PRELIGHT + file = "Panel/panelbutton1.png" + border = { 0, 0, 0, 0 } + stretch = TRUE + } + + image + { + function = BOX + recolorable = TRUE + shadow = IN + state = PRELIGHT + file = "Panel/panelbutton3.png" + border = { 0, 0, 0, 0 } + stretch = TRUE + } + + image + { + function = BOX + recolorable = TRUE + state = ACTIVE + file = "Panel/panelbutton3.png" + border = { 0, 0, 0, 0 } + stretch = TRUE + } + image + { + function = BOX + recolorable = TRUE + state = INSENSITIVE + file = "Panel/panelbutton2.png" + border = { 0, 0, 0, 0 } + stretch = TRUE + } + + +/* image + { + function = HANDLE + recolorable = TRUE + overlay_file = "Panel/handle-v.png" + overlay_stretch = FALSE + orientation = VERTICAL + } + image + { + function = HANDLE + overlay_file = "Panel/handle-h.png" + overlay_stretch = FALSE + orientation = HORIZONTAL + } +*/ + } + +} + +widget "*PanelWidget*" style "panelbuttons" +widget "*PanelApplet*" style "panelbuttons" +widget_class "*Panel*GtkToggleButton*" style "panelbuttons" +widget_class "*Panel*GtkButton" style "panelbuttons" +widget_class "*PanelButton*." style "panelbuttons" +widget_class "*Panel*" style "panelbg"+ \ No newline at end of file diff --git a/.themes/Fawn/gtk-2.0/Arrows/arrow-down-insens.png b/.themes/Fawn/gtk-2.0/Arrows/arrow-down-insens.png Binary files differ. diff --git a/.themes/Fawn/gtk-2.0/Arrows/arrow-down-prelight.png b/.themes/Fawn/gtk-2.0/Arrows/arrow-down-prelight.png Binary files differ. diff --git a/.themes/Fawn/gtk-2.0/Arrows/arrow-down-pressed.png b/.themes/Fawn/gtk-2.0/Arrows/arrow-down-pressed.png Binary files differ. diff --git a/.themes/Fawn/gtk-2.0/Arrows/arrow-down.png b/.themes/Fawn/gtk-2.0/Arrows/arrow-down.png Binary files differ. diff --git a/.themes/Fawn/gtk-2.0/Arrows/arrow-left.png b/.themes/Fawn/gtk-2.0/Arrows/arrow-left.png Binary files differ. diff --git a/.themes/Fawn/gtk-2.0/Arrows/arrow-right-norm.png b/.themes/Fawn/gtk-2.0/Arrows/arrow-right-norm.png Binary files differ. diff --git a/.themes/Fawn/gtk-2.0/Arrows/arrow-right-prelight.png b/.themes/Fawn/gtk-2.0/Arrows/arrow-right-prelight.png Binary files differ. diff --git a/.themes/Fawn/gtk-2.0/Arrows/arrow-right.png b/.themes/Fawn/gtk-2.0/Arrows/arrow-right.png Binary files differ. diff --git a/.themes/Fawn/gtk-2.0/Arrows/arrow-up.png b/.themes/Fawn/gtk-2.0/Arrows/arrow-up.png Binary files differ. diff --git a/.themes/Fawn/gtk-2.0/Buttons/button-default.png b/.themes/Fawn/gtk-2.0/Buttons/button-default.png Binary files differ. diff --git a/.themes/Fawn/gtk-2.0/Buttons/button-insensitive.png b/.themes/Fawn/gtk-2.0/Buttons/button-insensitive.png Binary files differ. diff --git a/.themes/Fawn/gtk-2.0/Buttons/button-normal.png b/.themes/Fawn/gtk-2.0/Buttons/button-normal.png Binary files differ. diff --git a/.themes/Fawn/gtk-2.0/Buttons/button-prelight.png b/.themes/Fawn/gtk-2.0/Buttons/button-prelight.png Binary files differ. diff --git a/.themes/Fawn/gtk-2.0/Buttons/button-pressed.png b/.themes/Fawn/gtk-2.0/Buttons/button-pressed.png Binary files differ. diff --git a/.themes/Fawn/gtk-2.0/Check-Radio/check1.png b/.themes/Fawn/gtk-2.0/Check-Radio/check1.png Binary files differ. diff --git a/.themes/Fawn/gtk-2.0/Check-Radio/check2.png b/.themes/Fawn/gtk-2.0/Check-Radio/check2.png Binary files differ. diff --git a/.themes/Fawn/gtk-2.0/Check-Radio/check3.png b/.themes/Fawn/gtk-2.0/Check-Radio/check3.png Binary files differ. diff --git a/.themes/Fawn/gtk-2.0/Check-Radio/check4.png b/.themes/Fawn/gtk-2.0/Check-Radio/check4.png Binary files differ. diff --git a/.themes/Fawn/gtk-2.0/Check-Radio/checklight.png b/.themes/Fawn/gtk-2.0/Check-Radio/checklight.png Binary files differ. diff --git a/.themes/Fawn/gtk-2.0/Check-Radio/highlight.png b/.themes/Fawn/gtk-2.0/Check-Radio/highlight.png Binary files differ. diff --git a/.themes/Fawn/gtk-2.0/Check-Radio/option1.png b/.themes/Fawn/gtk-2.0/Check-Radio/option1.png Binary files differ. diff --git a/.themes/Fawn/gtk-2.0/Check-Radio/option2.png b/.themes/Fawn/gtk-2.0/Check-Radio/option2.png Binary files differ. diff --git a/.themes/Fawn/gtk-2.0/Check-Radio/option3.png b/.themes/Fawn/gtk-2.0/Check-Radio/option3.png Binary files differ. diff --git a/.themes/Fawn/gtk-2.0/Check-Radio/option4.png b/.themes/Fawn/gtk-2.0/Check-Radio/option4.png Binary files differ. diff --git a/.themes/Fawn/gtk-2.0/Combo/combo-active.png b/.themes/Fawn/gtk-2.0/Combo/combo-active.png Binary files differ. diff --git a/.themes/Fawn/gtk-2.0/Combo/combo-arrow-insens.png b/.themes/Fawn/gtk-2.0/Combo/combo-arrow-insens.png Binary files differ. diff --git a/.themes/Fawn/gtk-2.0/Combo/combo-arrow-prelight.png b/.themes/Fawn/gtk-2.0/Combo/combo-arrow-prelight.png Binary files differ. diff --git a/.themes/Fawn/gtk-2.0/Combo/combo-arrow.png b/.themes/Fawn/gtk-2.0/Combo/combo-arrow.png Binary files differ. diff --git a/.themes/Fawn/gtk-2.0/Combo/combo-inactive.png b/.themes/Fawn/gtk-2.0/Combo/combo-inactive.png Binary files differ. diff --git a/.themes/Fawn/gtk-2.0/Combo/combo-normal.png b/.themes/Fawn/gtk-2.0/Combo/combo-normal.png Binary files differ. diff --git a/.themes/Fawn/gtk-2.0/Combo/combo-prelight.png b/.themes/Fawn/gtk-2.0/Combo/combo-prelight.png Binary files differ. diff --git a/.themes/Fawn/gtk-2.0/Combo/combo-pressed.png b/.themes/Fawn/gtk-2.0/Combo/combo-pressed.png Binary files differ. diff --git a/.themes/Fawn/gtk-2.0/Combo/text-entry.png b/.themes/Fawn/gtk-2.0/Combo/text-entry.png Binary files differ. diff --git a/.themes/Fawn/gtk-2.0/Frame-Gap/frame-gap-end.png b/.themes/Fawn/gtk-2.0/Frame-Gap/frame-gap-end.png Binary files differ. diff --git a/.themes/Fawn/gtk-2.0/Frame-Gap/frame-gap-start.png b/.themes/Fawn/gtk-2.0/Frame-Gap/frame-gap-start.png Binary files differ. diff --git a/.themes/Fawn/gtk-2.0/Frame-Gap/frame1.png b/.themes/Fawn/gtk-2.0/Frame-Gap/frame1.png Binary files differ. diff --git a/.themes/Fawn/gtk-2.0/Frame-Gap/frame2.png b/.themes/Fawn/gtk-2.0/Frame-Gap/frame2.png Binary files differ. diff --git a/.themes/Fawn/gtk-2.0/Handles/handle-h.png b/.themes/Fawn/gtk-2.0/Handles/handle-h.png Binary files differ. diff --git a/.themes/Fawn/gtk-2.0/Handles/handle-v.png b/.themes/Fawn/gtk-2.0/Handles/handle-v.png Binary files differ. diff --git a/.themes/Fawn/gtk-2.0/Handles/resize-grip.png b/.themes/Fawn/gtk-2.0/Handles/resize-grip.png Binary files differ. diff --git a/.themes/Fawn/gtk-2.0/Lines/line-h.png b/.themes/Fawn/gtk-2.0/Lines/line-h.png Binary files differ. diff --git a/.themes/Fawn/gtk-2.0/Lines/line-v.png b/.themes/Fawn/gtk-2.0/Lines/line-v.png Binary files differ. diff --git a/.themes/Fawn/gtk-2.0/Menu-Menubar/menu.png b/.themes/Fawn/gtk-2.0/Menu-Menubar/menu.png Binary files differ. diff --git a/.themes/Fawn/gtk-2.0/Menu-Menubar/menubar-item.png b/.themes/Fawn/gtk-2.0/Menu-Menubar/menubar-item.png Binary files differ. diff --git a/.themes/Fawn/gtk-2.0/Menu-Menubar/menuitem.png b/.themes/Fawn/gtk-2.0/Menu-Menubar/menuitem.png Binary files differ. diff --git a/.themes/Fawn/gtk-2.0/Menu-Menubar/menuline.png b/.themes/Fawn/gtk-2.0/Menu-Menubar/menuline.png Binary files differ. diff --git a/.themes/Fawn/gtk-2.0/Others/focus.png b/.themes/Fawn/gtk-2.0/Others/focus.png Binary files differ. diff --git a/.themes/Fawn/gtk-2.0/Others/null.png b/.themes/Fawn/gtk-2.0/Others/null.png Binary files differ. diff --git a/.themes/Fawn/gtk-2.0/Others/ruler.png b/.themes/Fawn/gtk-2.0/Others/ruler.png Binary files differ. diff --git a/.themes/Fawn/gtk-2.0/Panel/handle-h.png b/.themes/Fawn/gtk-2.0/Panel/handle-h.png Binary files differ. diff --git a/.themes/Fawn/gtk-2.0/Panel/handle-v.png b/.themes/Fawn/gtk-2.0/Panel/handle-v.png Binary files differ. diff --git a/.themes/Fawn/gtk-2.0/Panel/panel-bg.png b/.themes/Fawn/gtk-2.0/Panel/panel-bg.png Binary files differ. diff --git a/.themes/Fawn/gtk-2.0/Panel/panelbutton1.png b/.themes/Fawn/gtk-2.0/Panel/panelbutton1.png Binary files differ. diff --git a/.themes/Fawn/gtk-2.0/ProgressBar/progressbar-horiz.png b/.themes/Fawn/gtk-2.0/ProgressBar/progressbar-horiz.png Binary files differ. diff --git a/.themes/Fawn/gtk-2.0/ProgressBar/progressbar-vert.png b/.themes/Fawn/gtk-2.0/ProgressBar/progressbar-vert.png Binary files differ. diff --git a/.themes/Fawn/gtk-2.0/ProgressBar/trough-progressbar-horiz.png b/.themes/Fawn/gtk-2.0/ProgressBar/trough-progressbar-horiz.png Binary files differ. diff --git a/.themes/Fawn/gtk-2.0/Range/null.png b/.themes/Fawn/gtk-2.0/Range/null.png Binary files differ. diff --git a/.themes/Fawn/gtk-2.0/Range/slider-horiz-prelight.png b/.themes/Fawn/gtk-2.0/Range/slider-horiz-prelight.png Binary files differ. diff --git a/.themes/Fawn/gtk-2.0/Range/slider-horiz.png b/.themes/Fawn/gtk-2.0/Range/slider-horiz.png Binary files differ. diff --git a/.themes/Fawn/gtk-2.0/Range/slider-vert-prelight.png b/.themes/Fawn/gtk-2.0/Range/slider-vert-prelight.png Binary files differ. diff --git a/.themes/Fawn/gtk-2.0/Range/slider-vert.png b/.themes/Fawn/gtk-2.0/Range/slider-vert.png Binary files differ. diff --git a/.themes/Fawn/gtk-2.0/Range/trough-horizontal.png b/.themes/Fawn/gtk-2.0/Range/trough-horizontal.png Binary files differ. diff --git a/.themes/Fawn/gtk-2.0/Range/trough-vertical.png b/.themes/Fawn/gtk-2.0/Range/trough-vertical.png Binary files differ. diff --git a/.themes/Fawn/gtk-2.0/Scrollbars/slider-horiz-insens.png b/.themes/Fawn/gtk-2.0/Scrollbars/slider-horiz-insens.png Binary files differ. diff --git a/.themes/Fawn/gtk-2.0/Scrollbars/slider-horiz-prelight.png b/.themes/Fawn/gtk-2.0/Scrollbars/slider-horiz-prelight.png Binary files differ. diff --git a/.themes/Fawn/gtk-2.0/Scrollbars/slider-horiz.png b/.themes/Fawn/gtk-2.0/Scrollbars/slider-horiz.png Binary files differ. diff --git a/.themes/Fawn/gtk-2.0/Scrollbars/slider-vert-insens.png b/.themes/Fawn/gtk-2.0/Scrollbars/slider-vert-insens.png Binary files differ. diff --git a/.themes/Fawn/gtk-2.0/Scrollbars/slider-vert-prelight.png b/.themes/Fawn/gtk-2.0/Scrollbars/slider-vert-prelight.png Binary files differ. diff --git a/.themes/Fawn/gtk-2.0/Scrollbars/slider-vert.png b/.themes/Fawn/gtk-2.0/Scrollbars/slider-vert.png Binary files differ. diff --git a/.themes/Fawn/gtk-2.0/Scrollbars/stepper-down-insens.png b/.themes/Fawn/gtk-2.0/Scrollbars/stepper-down-insens.png Binary files differ. diff --git a/.themes/Fawn/gtk-2.0/Scrollbars/stepper-down-prelight.png b/.themes/Fawn/gtk-2.0/Scrollbars/stepper-down-prelight.png Binary files differ. diff --git a/.themes/Fawn/gtk-2.0/Scrollbars/stepper-down.png b/.themes/Fawn/gtk-2.0/Scrollbars/stepper-down.png Binary files differ. diff --git a/.themes/Fawn/gtk-2.0/Scrollbars/stepper-left-insens.png b/.themes/Fawn/gtk-2.0/Scrollbars/stepper-left-insens.png Binary files differ. diff --git a/.themes/Fawn/gtk-2.0/Scrollbars/stepper-left-prelight.png b/.themes/Fawn/gtk-2.0/Scrollbars/stepper-left-prelight.png Binary files differ. diff --git a/.themes/Fawn/gtk-2.0/Scrollbars/stepper-left.png b/.themes/Fawn/gtk-2.0/Scrollbars/stepper-left.png Binary files differ. diff --git a/.themes/Fawn/gtk-2.0/Scrollbars/stepper-right-insens.png b/.themes/Fawn/gtk-2.0/Scrollbars/stepper-right-insens.png Binary files differ. diff --git a/.themes/Fawn/gtk-2.0/Scrollbars/stepper-right-prelight.png b/.themes/Fawn/gtk-2.0/Scrollbars/stepper-right-prelight.png Binary files differ. diff --git a/.themes/Fawn/gtk-2.0/Scrollbars/stepper-right.png b/.themes/Fawn/gtk-2.0/Scrollbars/stepper-right.png Binary files differ. diff --git a/.themes/Fawn/gtk-2.0/Scrollbars/stepper-up-insens.png b/.themes/Fawn/gtk-2.0/Scrollbars/stepper-up-insens.png Binary files differ. diff --git a/.themes/Fawn/gtk-2.0/Scrollbars/stepper-up-prelight.png b/.themes/Fawn/gtk-2.0/Scrollbars/stepper-up-prelight.png Binary files differ. diff --git a/.themes/Fawn/gtk-2.0/Scrollbars/stepper-up.png b/.themes/Fawn/gtk-2.0/Scrollbars/stepper-up.png Binary files differ. diff --git a/.themes/Fawn/gtk-2.0/Scrollbars/trough-scrollbar-horiz.png b/.themes/Fawn/gtk-2.0/Scrollbars/trough-scrollbar-horiz.png Binary files differ. diff --git a/.themes/Fawn/gtk-2.0/Scrollbars/trough-scrollbar-vert.png b/.themes/Fawn/gtk-2.0/Scrollbars/trough-scrollbar-vert.png Binary files differ. diff --git a/.themes/Fawn/gtk-2.0/Shadows/entry-shadow-in.png b/.themes/Fawn/gtk-2.0/Shadows/entry-shadow-in.png Binary files differ. diff --git a/.themes/Fawn/gtk-2.0/Shadows/shadow-etched-out.png b/.themes/Fawn/gtk-2.0/Shadows/shadow-etched-out.png Binary files differ. diff --git a/.themes/Fawn/gtk-2.0/Shadows/shadow-in.png b/.themes/Fawn/gtk-2.0/Shadows/shadow-in.png Binary files differ. diff --git a/.themes/Fawn/gtk-2.0/Shadows/shadow-none.png b/.themes/Fawn/gtk-2.0/Shadows/shadow-none.png Binary files differ. diff --git a/.themes/Fawn/gtk-2.0/Shadows/shadow-out.png b/.themes/Fawn/gtk-2.0/Shadows/shadow-out.png Binary files differ. diff --git a/.themes/Fawn/gtk-2.0/Shadows/text-entry.png b/.themes/Fawn/gtk-2.0/Shadows/text-entry.png Binary files differ. diff --git a/.themes/Fawn/gtk-2.0/Shadows/text.png b/.themes/Fawn/gtk-2.0/Shadows/text.png Binary files differ. diff --git a/.themes/Fawn/gtk-2.0/Spin/arrow-down-disable.png b/.themes/Fawn/gtk-2.0/Spin/arrow-down-disable.png Binary files differ. diff --git a/.themes/Fawn/gtk-2.0/Spin/arrow-down-prelight.png b/.themes/Fawn/gtk-2.0/Spin/arrow-down-prelight.png Binary files differ. diff --git a/.themes/Fawn/gtk-2.0/Spin/arrow-down.png b/.themes/Fawn/gtk-2.0/Spin/arrow-down.png Binary files differ. diff --git a/.themes/Fawn/gtk-2.0/Spin/arrow-up-disable.png b/.themes/Fawn/gtk-2.0/Spin/arrow-up-disable.png Binary files differ. diff --git a/.themes/Fawn/gtk-2.0/Spin/arrow-up-prelight.png b/.themes/Fawn/gtk-2.0/Spin/arrow-up-prelight.png Binary files differ. diff --git a/.themes/Fawn/gtk-2.0/Spin/arrow-up.png b/.themes/Fawn/gtk-2.0/Spin/arrow-up.png Binary files differ. diff --git a/.themes/Fawn/gtk-2.0/Spin/entry-shadow-in.png b/.themes/Fawn/gtk-2.0/Spin/entry-shadow-in.png Binary files differ. diff --git a/.themes/Fawn/gtk-2.0/Spin/spin-down-bg.png b/.themes/Fawn/gtk-2.0/Spin/spin-down-bg.png Binary files differ. diff --git a/.themes/Fawn/gtk-2.0/Spin/spin-up-bg.png b/.themes/Fawn/gtk-2.0/Spin/spin-up-bg.png Binary files differ. diff --git a/.themes/Fawn/gtk-2.0/Spin/text-entry-focus.png b/.themes/Fawn/gtk-2.0/Spin/text-entry-focus.png Binary files differ. diff --git a/.themes/Fawn/gtk-2.0/Spin/text-entry.png b/.themes/Fawn/gtk-2.0/Spin/text-entry.png Binary files differ. diff --git a/.themes/Fawn/gtk-2.0/Tabs/gap-bottom.png b/.themes/Fawn/gtk-2.0/Tabs/gap-bottom.png Binary files differ. diff --git a/.themes/Fawn/gtk-2.0/Tabs/gap-left.png b/.themes/Fawn/gtk-2.0/Tabs/gap-left.png Binary files differ. diff --git a/.themes/Fawn/gtk-2.0/Tabs/gap-right.png b/.themes/Fawn/gtk-2.0/Tabs/gap-right.png Binary files differ. diff --git a/.themes/Fawn/gtk-2.0/Tabs/gap-top.png b/.themes/Fawn/gtk-2.0/Tabs/gap-top.png Binary files differ. diff --git a/.themes/Fawn/gtk-2.0/Tabs/notebook.png b/.themes/Fawn/gtk-2.0/Tabs/notebook.png Binary files differ. diff --git a/.themes/Fawn/gtk-2.0/Tabs/null.png b/.themes/Fawn/gtk-2.0/Tabs/null.png Binary files differ. diff --git a/.themes/Fawn/gtk-2.0/Tabs/tab-bottom-active.png b/.themes/Fawn/gtk-2.0/Tabs/tab-bottom-active.png Binary files differ. diff --git a/.themes/Fawn/gtk-2.0/Tabs/tab-bottom.png b/.themes/Fawn/gtk-2.0/Tabs/tab-bottom.png Binary files differ. diff --git a/.themes/Fawn/gtk-2.0/Tabs/tab-left-active.png b/.themes/Fawn/gtk-2.0/Tabs/tab-left-active.png Binary files differ. diff --git a/.themes/Fawn/gtk-2.0/Tabs/tab-left.png b/.themes/Fawn/gtk-2.0/Tabs/tab-left.png Binary files differ. diff --git a/.themes/Fawn/gtk-2.0/Tabs/tab-right-active.png b/.themes/Fawn/gtk-2.0/Tabs/tab-right-active.png Binary files differ. diff --git a/.themes/Fawn/gtk-2.0/Tabs/tab-right.png b/.themes/Fawn/gtk-2.0/Tabs/tab-right.png Binary files differ. diff --git a/.themes/Fawn/gtk-2.0/Tabs/tab-top-active.png b/.themes/Fawn/gtk-2.0/Tabs/tab-top-active.png Binary files differ. diff --git a/.themes/Fawn/gtk-2.0/Tabs/tab-top.png b/.themes/Fawn/gtk-2.0/Tabs/tab-top.png Binary files differ. diff --git a/.themes/Fawn/gtk-2.0/Toolbar/toolbutton-normal.png b/.themes/Fawn/gtk-2.0/Toolbar/toolbutton-normal.png Binary files differ. diff --git a/.themes/Fawn/gtk-2.0/Toolbar/toolbutton-prelight.png b/.themes/Fawn/gtk-2.0/Toolbar/toolbutton-prelight.png Binary files differ. diff --git a/.themes/Fawn/gtk-2.0/Toolbar/toolbutton-pressed.png b/.themes/Fawn/gtk-2.0/Toolbar/toolbutton-pressed.png Binary files differ. diff --git a/.themes/Fawn/gtk-2.0/Toolbar/toolbutton-toggled.png b/.themes/Fawn/gtk-2.0/Toolbar/toolbutton-toggled.png Binary files differ. diff --git a/.themes/Fawn/gtk-2.0/gtkrc b/.themes/Fawn/gtk-2.0/gtkrc @@ -0,0 +1,1713 @@ +#Fawn By lyrae + +#include "panel.rc" +include "menubar.rc" + +gtk-button-images = 0 #disable icons on buttons like close etc +gtk-icon-sizes = "panel-menu=14,14:panel=14,14:gtk-button=14,14:gtk-small-toolbar=14,14:gtk-large-toolbar=14,14" +gtk-menu-images = 0 + +style "default" +{ + GtkWidget::interior_focus = 7 + GtkWidget::focus_padding = 0 + GtkButton::default_border = { 0, 0, 0, 0 } + GtkButton::default_outside_border = { 0, 0, 0, 0 } + + GtkRange::trough_border = 0 + GtkRange::slider_width = 15 + GtkRange::stepper_size = 15 + + GtkVScale::slider_length = 11 + GtkVScale::slider_width = 21 + GtkHScale::slider_length = 11 + GtkHScale::slider_width = 21 + + GtkPaned::handle_size = 6 + GtkScrollbar::min_slider_length = 50 + GtkCheckButton::indicator_size = 12 + GtkCheckButton::indicator_spacing = 3 + GtkMenuBar::internal_padding = 1 + GtkOptionMenu::indicator_size = { 15, 8 } + GtkOptionMenu::indicator_spacing = { 8, 2, 0, 0 } + GtkStatusbar::shadow_type = GTK_SHADOW_NONE + GtkSpinButton::shadow_type = GTK_SHADOW_NONE + + xthickness = 2 + ythickness = 2 + + fg[NORMAL] = "#29241d" # Metacity and mouseover, Most text + fg[ACTIVE] = "#29241d" + fg[PRELIGHT] = "#836E50" + fg[SELECTED] = "#29241d" + fg[INSENSITIVE] = "#B7A67A" + + bg[NORMAL] = "#ECE9E2" # Normal Background + bg[ACTIVE] = "#DFDACF" + bg[PRELIGHT] = "#ECE9E2" # Expand prelight bg + bg[SELECTED] = "#ECE9E2" + bg[INSENSITIVE] = "#D3CCBE" + + base[NORMAL] = "#ECE9E2" # Background, most + base[ACTIVE] = "#DFDACF" # Menu active item in inactive window + base[PRELIGHT] = "#DFDACF" + base[INSENSITIVE] = "#ffffff" # Inactive Entry bg + base[SELECTED] = "#4F4231" # Menu active item in active window + + text[NORMAL] = "#29241d" # Text in window, arrows + text[INSENSITIVE] = "#B7A67A" # Insensitive arrows + text[SELECTED] = "#D7D3C5" # Active text in active window + text[ACTIVE] = "#29241d" # Active text in inactive window + text[PRELIGHT] = "#9F907D" # Text on Mouseover + + engine "pixmap" + { + image + { + function = HANDLE + recolorable = TRUE + overlay_file = "Panel/handle-v.png" + overlay_stretch = FALSE + orientation = HORIZONTAL + } + image + { + function = HANDLE + recolorable = TRUE + overlay_file = "Panel/handle-h.png" + overlay_stretch = FALSE + orientation = VERTICAL + } + +####################### SHADOWS ############################x + + image + { + function = SHADOW + shadow = IN + recolorable = FALSE + file = "Shadows/shadow-in.png" + border = { 3, 3, 2, 2 } + stretch = TRUE + } + image + { + function = SHADOW + shadow = OUT + recolorable = TRUE + file = "Shadows/shadow-out.png" + stretch = TRUE + } + + image + { + function = SHADOW + shadow = ETCHED_IN + recolorable = TRUE + file = "Frame-Gap/frame1.png" + border = { 2, 2, 2, 2 } + stretch = TRUE + } + image + { + function = SHADOW + shadow = ETCHED_OUT + recolorable = TRUE + file = "Shadows/shadow-none.png" + border = { 2, 2, 2, 2 } + stretch = TRUE + } + image + { + function = SHADOW_GAP + recolorable = TRUE + file = "Frame-Gap/frame1.png" + border = { 2, 2, 2, 2 } + stretch = TRUE + gap_start_file = "Frame-Gap/frame-gap-start.png" + gap_start_border = { 2, 0, 2, 0 } + gap_end_file = "Frame-Gap/frame-gap-end.png" + gap_end_border = { 0, 2, 2, 0 } + gap_side = TOP + } + + image + { + function = VLINE + recolorable = TRUE + file = "Lines/line-v.png" + border = { 1, 1, 0, 0 } + stretch = TRUE + } + image + { + function = HLINE + recolorable = TRUE + file = "Lines/line-h.png" + border = { 0, 0, 1, 1 } + stretch = TRUE + } + + # focus + + image + { + function = FOCUS + recolorable = TRUE + file = "Others/focus.png" + border = { 6, 0, 6, 0 } + stretch = TRUE + } + + # arrows + + image + { + function = ARROW + recolorable = TRUE + overlay_file = "Arrows/arrow-up.png" + overlay_border = { 0, 0, 0, 0 } + overlay_stretch = FALSE + arrow_direction = UP + } + image + { + function = ARROW + state = NORMAL + recolorable = TRUE + overlay_file = "Arrows/arrow-down.png" + overlay_border = { 0, 0, 0, 0 } + overlay_stretch = FALSE + arrow_direction = DOWN + } + image + { + function = ARROW + state = PRELIGHT + recolorable = TRUE + overlay_file = "Arrows/arrow-down-prelight.png" + overlay_border = { 0, 0, 0, 0 } + overlay_stretch = FALSE + arrow_direction = DOWN + } + image + { + function = ARROW + state = ACTIVE + recolorable = TRUE + overlay_file = "Arrows/arrow-down-pressed.png" + overlay_border = { 0, 0, 0, 0 } + overlay_stretch = FALSE + arrow_direction = DOWN + } + + image + { + function = ARROW + state = INSENSITIVE + recolorable = TRUE + overlay_file = "Arrows/arrow-down-insens.png" + overlay_border = { 0, 0, 0, 0 } + overlay_stretch = FALSE + arrow_direction = DOWN + } + + image + { + function = ARROW + recolorable = TRUE + overlay_file = "Arrows/arrow-left.png" + overlay_border = { 0, 0, 0, 0 } + overlay_stretch = FALSE + arrow_direction = LEFT + } + image + { + function = ARROW + recolorable = TRUE + overlay_file = "Arrows/arrow-right.png" + overlay_border = { 0, 0, 0, 0 } + overlay_stretch = FALSE + arrow_direction = RIGHT + } + image + { + function = BOX + recolorable = TRUE + file = "Others/null.png" + border = { 3, 3, 3, 3 } + stretch = TRUE + } + } + +} + +class "GtkWidget" style "default" + +style "inactivetext" +{ + +engine "mist" + { + } +} + +widget_class "*.<GtkLabel>" style "inactivetext" +widget_class "*.<GtkCellLayout>" style "inactivetext" +#widget_class "*.<Combo>" style "inactivetext" + +style "inactivetext2" +{ + + + fg[PRELIGHT] = "#9F907D" + text[PRELIGHT] = "#9F907D" + +engine "mist" + { + } +} + +widget_class "*.<GtkMenuItem>.*" style "inactivetext2" + + +#################### BUTTONS ####################### + +style "button" = "default" +{ + + engine "pixmap" + { + image + { + function = BOX + detail = "buttondefault" + recolorable = TRUE + file = "Buttons/button-default.png" + border = {4, 4, 4, 4} + stretch = TRUE + } + image + { + function = BOX + state = PRELIGHT + recolorable = TRUE + file = "Buttons/button-prelight.png" + border = { 4, 4, 4, 4 } + stretch = TRUE + } + image + { + function = BOX + state = ACTIVE + file = "Buttons/button-pressed.png" + border = { 4, 4, 4, 4 } + stretch = TRUE + } + image + { + function = BOX + state = INSENSITIVE + file = "Buttons/button-insensitive.png" + border = { 4, 4, 4, 4 } + stretch = TRUE + } + image + { + function = BOX + file = "Buttons/button-normal.png" + border = { 4, 4, 4, 4 } + stretch = TRUE + } + } +} + + + + +style "checkradiobutton" { + engine "pixmap" { + image + { + function = FLAT_BOX + recolorable = TRUE + file = "Check-Radio/highlight.png" + border = { 2, 5, 2, 5 } + stretch = TRUE + } + } +} + +class "GtkRadioButton" style "checkradiobutton" +class "GtkCheckButton" style "checkradiobutton" + +style "optionmenu" = "default" + +{ + engine "pixmap" + { + image + { + function = BOX + recolorable = TRUE + state = PRELIGHT + file = "Combo/combo-prelight.png" + border = { 5, 5, 5, 5} + stretch = TRUE + } + image + { + function = BOX + recolorable = TRUE + state = NORMAL + file = "Combo/combo-normal.png" + border = { 5, 5, 5, 5} + stretch = TRUE + } + + image + { + function = BOX + recolorable = TRUE + state = ACTIVE + file = "Combo/combo-pressed.png" + border = { 5, 5, 5, 5} + stretch = TRUE + } + image + { + function = BOX + recolorable = TRUE + state = INSENSITIVE + file = "Combo/combo-inactive.png" + border = { 5, 5, 5, 5} + stretch = TRUE + } + image + { + function = TAB + state = INSENSITIVE + recolorable = TRUE + overlay_file = "Combo/combo-arrow-insens.png" + overlay_stretch = FALSE + } + image + { + function = TAB + recolorable = TRUE + state = NORMAL + overlay_file = "Combo/combo-arrow.png" + overlay_border = { 0, 0, 0, 0 } + overlay_stretch = FALSE + } + image + { + function = TAB + recolorable = TRUE + state = PRELIGHT + overlay_file = "Combo/combo-arrow-prelight.png" + overlay_border = { 0, 0, 0, 0 } + overlay_stretch = FALSE + } + } +} + +widget_class "*Combo*" style "optionmenu" + +style "radiobutton" = "default" +{ + engine "pixmap" + { + image + { + function = OPTION + recolorable = TRUE + state = NORMAL + shadow = OUT + overlay_file = "Check-Radio/option1.png" + overlay_stretch = FALSE + } + image + { + function = OPTION + recolorable = TRUE + state = PRELIGHT + shadow = OUT + overlay_file = "Check-Radio/option3.png" + overlay_stretch = FALSE + } + image + { + function = OPTION + recolorable = TRUE + state = ACTIVE + shadow = OUT + overlay_file = "Check-Radio/option3.png" + overlay_stretch = FALSE + } + image + { + function = OPTION + recolorable = TRUE + state = INSENSITIVE + shadow = OUT + overlay_file = "Check-Radio/option1.png" + overlay_stretch = FALSE + } + image + { + function = OPTION + recolorable = TRUE + state = NORMAL + shadow = IN + overlay_file = "Check-Radio/option2.png" + overlay_stretch = FALSE + } + image + { + function = OPTION + recolorable = TRUE + state = PRELIGHT + shadow = IN + overlay_file = "Check-Radio/option4.png" + overlay_stretch = FALSE + } + image + { + function = OPTION + recolorable = TRUE + state = ACTIVE + shadow = IN + overlay_file = "Check-Radio/option4.png" + overlay_stretch = FALSE + } + image + { + function = OPTION + recolorable = TRUE + state = INSENSITIVE + shadow = IN + overlay_file = "Check-Radio/option1.png" + overlay_stretch = FALSE + } + image + { + function = FLAT_BOX + recolorable = TRUE + stretch = TRUE + file = "Check-Radio/checklight.png" + border = { 2, 2, 2, 2 } + } + } +} + + +style "checkbutton" = "default" +{ + engine "pixmap" + { + image + { + function = CHECK + recolorable = TRUE + state = NORMAL + shadow = OUT + overlay_file = "Check-Radio/check1.png" + overlay_stretch = FALSE + } + image + { + function = CHECK + recolorable = TRUE + state = PRELIGHT + shadow = OUT + overlay_file = "Check-Radio/check3.png" + overlay_stretch = FALSE + } + image + { + function = CHECK + recolorable = TRUE + state = ACTIVE + shadow = OUT + overlay_file = "Check-Radio/check3.png" + overlay_stretch = FALSE + } + image + { + function = CHECK + recolorable = TRUE + state = INSENSITIVE + shadow = OUT + overlay_file = "Check-Radio/check1.png" + overlay_stretch = FALSE + } + image + { + function = CHECK + recolorable = TRUE + state = NORMAL + shadow = IN + overlay_file = "Check-Radio/check2.png" + overlay_stretch = FALSE + } + image + { + function = CHECK + recolorable = TRUE + state = PRELIGHT + shadow = IN + overlay_file = "Check-Radio/check4.png" + overlay_stretch = FALSE + } + image + { + function = CHECK + recolorable = TRUE + state = ACTIVE + shadow = IN + overlay_file = "Check-Radio/check4.png" + overlay_stretch = FALSE + } + image + { + function = CHECK + recolorable = TRUE + state = INSENSITIVE + shadow = IN + overlay_file = "Check-Radio/check1.png" + overlay_stretch = FALSE + } + image + { + function = FLAT_BOX + recolorable = TRUE + stretch = TRUE + file = "Check-Radio/checklight.png" + border = { 2, 2, 2, 2 } + } + } +} + + +####################### ENTRY #####################xx + +style "entry" = "default" +{ + + xthickness = 3 + ythickness = 2 + GtkWidget::interior_focus = 0 + + engine "pixmap" + { + image + { + function = FOCUS + recolorable = TRUE + file = "Shadows/entry-shadow-in.png" + border = { 3,3,3,3 } + stretch = TRUE + } + image + { + function = BOX + recolorable = TRUE + shadow = IN + state = NORMAL + file = "Shadows/entry-shadow-in.png" + border = { 3,3,3,3 } + stretch = TRUE + } +image + { + function = BOX + recolorable = TRUE + shadow = OUT + state = NORMAL + file = "Shadows/text-entry.png" + border = { 3,3,3,3 } + stretch = TRUE + } + image + { + function = SHADOW + detail = "entry" + shadow = IN + recolorable = FALSE + file = "Shadows/text-entry.png" + border = { 3,3,3,3 } + stretch = TRUE + } + } +} + +################x SPINBUTTONS ################ + +style "spinbutton" = "default" +{ + + xthickness = 3 + ythickness = 1 + GtkWidget::interior_focus = 0 + + engine "pixmap" + { + image + { + function = ARROW + } + +############################# UP ######################xx + image + { + function = BOX + state = NORMAL + detail = "spinbutton_up" + recolorable = TRUE + file = "Spin/spin-up-bg.png" + border = { 5, 5, 5, 5 } + stretch = TRUE + overlay_file = "Spin/arrow-up.png" + overlay_stretch = FALSE + } + image + { + function = BOX + state = PRELIGHT + detail = "spinbutton_up" + recolorable = TRUE + file = "Spin/spin-up-bg.png" + border = { 5, 5, 5, 5 } + stretch = TRUE + overlay_file = "Spin/arrow-up-prelight.png" + overlay_stretch = FALSE + } + image + { + function = BOX + state = INSENSITIVE + detail = "spinbutton_up" + recolorable = TRUE + file = "Spin/spin-up-bg.png" + border = { 5, 5, 5, 5 } + stretch = TRUE + overlay_file = "Spin/arrow-up-disable.png" + overlay_stretch = FALSE + } + image + { + function = BOX + state = ACTIVE + detail = "spinbutton_up" + recolorable = TRUE + file = "Spin/spin-up-bg.png" + border = { 5, 5, 5, 5 } + stretch = TRUE + } + +########################x DOWN ######################## + image + { + function = BOX + state = NORMAL + detail = "spinbutton_down" + recolorable = TRUE + file = "Spin/spin-down-bg.png" + border = { 5, 5, 5, 5 } + stretch = TRUE + overlay_file = "Spin/arrow-down.png" + overlay_stretch = FALSE + } + image + { + function = BOX + state = PRELIGHT + detail = "spinbutton_down" + recolorable = TRUE + file = "Spin/spin-down-bg.png" + border = { 5, 5, 5, 5 } + stretch = TRUE + overlay_file = "Spin/arrow-down-prelight.png" + overlay_stretch = FALSE + } + image + { + function = BOX + state = INSENSITIVE + detail = "spinbutton_down" + recolorable = TRUE + file = "Spin/spin-down-bg.png" + border = { 5, 5, 5, 5 } + stretch = TRUE + overlay_file = "Spin/arrow-down-disable.png" + overlay_stretch = FALSE + } + image + { + function = BOX + state = ACTIVE + detail = "spinbutton_down" + recolorable = TRUE + file = "Spin/spin-down-bg.png" + border = { 5, 5, 5, 5 } + stretch = TRUE + overlay_file = "Spin/arrow-down-prelight.png" + overlay_stretch = FALSE + } +########################## SPIN ENTRY ########################### + image + { + function = FOCUS + recolorable = TRUE + file = "Spin/text-entry-focus.png" + border = { 3,3,3,3 } + stretch = TRUE + } + image + { + function = SHADOW + detail = "entry" + shadow = IN + recolorable = FALSE + file = "Spin/text-entry.png" + border = { 3,3,3,3 } + stretch = TRUE + } + } +} + + +############################# SCROLLBAR #################### + +style "scrollbar" = "default" +{ + engine "pixmap" + { + image + { + function = BOX + recolorable = TRUE + detail = "trough" + file = "Scrollbars/trough-scrollbar-horiz.png" + border = { 19, 19, 2, 2 } + stretch = TRUE + orientation = HORIZONTAL + } + image + { + function = BOX + recolorable = TRUE + detail = "trough" + file = "Scrollbars/trough-scrollbar-vert.png" + border = { 2, 2, 19, 19 } + stretch = TRUE + orientation = VERTICAL + } + +###########x SLIDERS ##################x + + image + { + function = SLIDER + recolorable = TRUE + state = NORMAL + file = "Scrollbars/slider-horiz.png" + border = { 2, 2, 2, 2 } + stretch = TRUE + orientation = HORIZONTAL + } + image + { + function = SLIDER + recolorable = TRUE + state = ACTIVE + shadow = IN + file = "Scrollbars/slider-horiz.png" + border = { 2, 2, 2, 2 } + stretch = TRUE + orientation = HORIZONTAL + + } + image + { + function = SLIDER + recolorable = TRUE + state = PRELIGHT + file = "Scrollbars/slider-horiz-prelight.png" + border = { 2, 2, 2, 2 } + stretch = TRUE + orientation = HORIZONTAL + + } + image + { + function = SLIDER + recolorable = TRUE + state = INSENSITIVE + file = "Scrollbars/slider-horiz-insens.png" + border = { 2, 2, 2, 2 } + stretch = TRUE + orientation = HORIZONTAL + + } + +#############x verticals################xx + + image + { + function = SLIDER + recolorable = TRUE + state = NORMAL + file = "Scrollbars/slider-vert.png" + border = { 2, 2, 2, 2 } + stretch = TRUE + orientation = VERTICAL + + } + image + { + function = SLIDER + recolorable = TRUE + state = ACTIVE + shadow = IN + file = "Scrollbars/slider-vert.png" + border = { 2, 2, 2, 2 } + stretch = TRUE + orientation = VERTICAL + + } + image + { + function = SLIDER + recolorable = TRUE + state = PRELIGHT + file = "Scrollbars/slider-vert-prelight.png" + border = { 2, 2, 2, 2 } + stretch = TRUE + orientation = VERTICAL + + } + image + { + function = SLIDER + recolorable = TRUE + state = INSENSITIVE + file = "Scrollbars/slider-vert-insens.png" + border = { 2, 2, 2, 2 } + stretch = TRUE + orientation = VERTICAL + + } + +###########x END SLIDERS ##################x + +########### Steppers ###################### +#### UP ####### + image + { + function = STEPPER + recolorable = TRUE + state = NORMAL + file = "Scrollbars/stepper-up.png" + stretch = TRUE + arrow_direction = UP + } + image + { + function = STEPPER + recolorable = TRUE + state = PRELIGHT + file = "Scrollbars/stepper-up-prelight.png" + stretch = TRUE + arrow_direction = UP + } + image + { + function = STEPPER + recolorable = TRUE + state = ACTIVE + file = "Scrollbars/stepper-up-prelight.png" + stretch = TRUE + arrow_direction = UP + } + image + { + function = STEPPER + recolorable = TRUE + state = INSENSITIVE + file = "Scrollbars/stepper-up-insens.png" + stretch = TRUE + arrow_direction = UP + } + + ######### DOWN ############ + + image + { + function = STEPPER + recolorable = TRUE + state = NORMAL + file = "Scrollbars/stepper-down.png" + stretch = TRUE + arrow_direction = DOWN + } + image + { + function = STEPPER + recolorable = TRUE + state = PRELIGHT + file = "Scrollbars/stepper-down-prelight.png" + stretch = TRUE + arrow_direction = DOWN + } + image + { + function = STEPPER + recolorable = TRUE + state = ACTIVE + file = "Scrollbars/stepper-down-prelight.png" + stretch = TRUE + arrow_direction = DOWN + } + image + { + function = STEPPER + recolorable = TRUE + state = INSENSITIVE + file = "Scrollbars/stepper-down-insens.png" + stretch = TRUE + arrow_direction = DOWN + } + +############ RIGHT ################ + + image + { + function = STEPPER + recolorable = TRUE + state = NORMAL + file = "Scrollbars/stepper-right.png" + stretch = TRUE + arrow_direction = RIGHT + } + image + { + function = STEPPER + recolorable = TRUE + state = PRELIGHT + file = "Scrollbars/stepper-right-prelight.png" + stretch = TRUE + arrow_direction = RIGHT + } + image + { + function = STEPPER + recolorable = TRUE + state = ACTIVE + file = "Scrollbars/stepper-right-prelight.png" + stretch = TRUE + arrow_direction = RIGHT + } + image + { + function = STEPPER + recolorable = TRUE + state = INSENSITIVE + file = "Scrollbars/stepper-right-insens.png" + stretch = TRUE + arrow_direction = RIGHT + } + +############### LEFT ################### + + image + { + function = STEPPER + recolorable = TRUE + state = NORMAL + file = "Scrollbars/stepper-left.png" + stretch = TRUE + arrow_direction = LEFT + } + image + { + function = STEPPER + recolorable = TRUE + state = PRELIGHT + file = "Scrollbars/stepper-left-prelight.png" + stretch = TRUE + arrow_direction = LEFT + } + image + { + function = STEPPER + recolorable = TRUE + state = ACTIVE + file = "Scrollbars/stepper-left-prelight.png" + stretch = TRUE + arrow_direction = LEFT + } + image + { + function = STEPPER + recolorable = TRUE + state = INSENSITIVE + file = "Scrollbars/stepper-left-insens.png" + stretch = TRUE + arrow_direction = LEFT + } + } +} + +##################### PROGRESSBAR ###################x + +style "progressbar" { + + fg[PRELIGHT] = "#d7d3c5" + + xthickness = 1 + ythickness = 1 + + engine "pixmap" + { + image + { + function = BOX + detail = "trough" + file = "ProgressBar/trough-progressbar-horiz.png" + border = { 2, 2, 2, 2 } + stretch = TRUE + } + image + { + function = BOX + detail = "bar" + file = "ProgressBar/progressbar-horiz.png" + border = { 2, 2, 2, 2 } + stretch = TRUE + orientation = HORIZONTAL + } + image + { + function = BOX + detail = "bar" + file = "ProgressBar/progressbar-vert.png" + border = { 2, 2, 2, 2 } + stretch = TRUE + orientation = VERTICAL + } + } +} + +############################# RANGE ####################### + +style "range" = "default" +{ + engine "pixmap" + { + image + { + function = BOX + recolorable = TRUE + detail = "trough" + file = "Range/trough-horizontal.png" + border = { 10, 10, 1, 19 } + stretch = TRUE + orientation = HORIZONTAL + } + image + { + function = BOX + recolorable = TRUE + detail = "trough" + file = "Range/trough-vertical.png" + border = { 0, 19, 10, 10 } + stretch = TRUE + orientation = VERTICAL + } + +############### the sliders ############### + + image + { + function = SLIDER + recolorable = TRUE + state = NORMAL + file = "Range/null.png" + border = { 0, 0, 0, 0 } + stretch = TRUE + overlay_file = "Range/slider-horiz.png" + overlay_stretch = FALSE + orientation = HORIZONTAL + } + image + { + function = SLIDER + recolorable = TRUE + state = PRELIGHT + file = "Range/null.png" + border = { 0, 0, 0, 0 } + stretch = TRUE + overlay_file = "Range/slider-horiz-prelight.png" + overlay_stretch = FALSE + orientation = HORIZONTAL + } + image + { + function = SLIDER + recolorable = TRUE + state = INSENSITIVE + file = "Range/null.png" + border = { 0, 0, 0, 0 } + stretch = TRUE + overlay_file = "Range/slider-horiz.png" + overlay_stretch = FALSE + orientation = HORIZONTAL + } + +######################### VERTICAL ########################### + + image + { + function = SLIDER + recolorable = TRUE + state = NORMAL + file = "Range/null.png" + border = { 0, 0, 0, 0 } + stretch = TRUE + overlay_file = "Range/slider-vert.png" + overlay_stretch = FALSE + orientation = VERTICAL + } + image + { + function = SLIDER + recolorable = TRUE + state = PRELIGHT + file = "Range/null.png" + border = { 0, 0, 0, 0 } + stretch = TRUE + overlay_file = "Range/slider-vert-prelight.png" + overlay_stretch = FALSE + orientation = VERTICAL + } + image + { + function = SLIDER + recolorable = TRUE + state = INSENSITIVE + file = "Range/null.png" + border = { 0, 0, 0, 0 } + stretch = TRUE + overlay_file = "Range/slider-vert.png" + overlay_stretch = FALSE + orientation = VERTICAL + } + } +} + +################### TOOLBAR ########################### + +style "toolbar" +{ + engine "pixmap" + { + image + { + function = BOX + file = "Others/null.png" + border = { 4, 4, 4, 4} + stretch = TRUE + } + } +} +widget_class "*BonoboDockItem" style "toolbar" +class "*BonoboDockItem" style "toolbar" + +widget_class "*HandleBox" style "toolbar" +class "*HandleBox" style "toolbar" + +widget_class "*Toolbar" style "toolbar" +class "*Toolbar" style "toolbar" + +##################### TOOLBAR BUTTONS ############################### + +style "toolbuttons" = "default" +{ + xthickness = 1 + ythickness = 1 + GtkWidget::focus_padding = 2 + + engine "pixmap" { + +image + { + function = BOX + recolorable = TRUE + state = NORMAL + file = "Toolbar/toolbutton-normal.png" + border = { 5, 5, 5, 5 } + stretch = TRUE + } +image + { + function = BOX + recolorable = TRUE + state = PRELIGHT + file = "Toolbar/toolbutton-prelight.png" + border = { 5, 5, 5, 5 } + stretch = TRUE + } +image + { + function = BOX + recolorable = TRUE + state = ACTIVE + file = "Toolbar/toolbutton-pressed.png" + border = { 5, 5, 5, 5 } + stretch = TRUE + } +image + { + function = BOX + recolorable = TRUE + state = INSENSITIVE + file = "Toolbar/toolbutton-normal.png" + border = { 5, 5, 5, 5 } + stretch = TRUE + } + } +} +widget_class "*Tool*GtkToggleButton" style "toolbuttons" +widget_class "*Tool*GtkButton" style "toolbuttons" + +################### PANEL GRAPHICS ################################# +################### MENU ################################# + +style "menu" = "default" +{ +xthickness = 3 +ythickness = 1 + + engine "pixmap" + { + image + { + function = BOX + recolorable = TRUE + detail = "menu" + file = "Menu-Menubar/menu.png" + border = { 34, 3, 3, 3 } + stretch = TRUE + } + } +} + +########################### Menuitem ############################# +style "menuitem" = "default" +{ + xthickness = 1 + fg[PRELIGHT] = "#9F907D" + + + engine "pixmap" + { + image + { + function = BOX + recolorable = TRUE + file = "Menu-Menubar/menuitem.png" + border = { 10, 10, 10, 10 } + stretch = TRUE + } + image + { + function = ARROW + recolorable = TRUE + state = NORMAL + overlay_file = "Arrows/arrow-right-norm.png" + overlay_stretch = FALSE + arrow_direction = RIGHT + } + image + { + function = ARROW + recolorable = TRUE + state = PRELIGHT + overlay_file = "Arrows/arrow-right-prelight.png" + overlay_stretch = FALSE + arrow_direction = RIGHT + } + } +} + + +style "tearoffmenuitem" = "menuitem" +{ + engine "pixmap" + { + image + { + function = ARROW + file = "Arrows/arrow-left.png" + stretch = TRUE + arrow_direction = LEFT + } + } +} + +style "notebook" = "default" +{ + + xthickness = 2 + ythickness = 2 + engine "pixmap" + { + image + { + function = EXTENSION + recolorable = TRUE + state = ACTIVE + file = "Tabs/tab-bottom.png" + border = { 4,4,4,4} + stretch = TRUE + gap_side = TOP + } + image + { + function = EXTENSION + recolorable = TRUE + state = ACTIVE + file = "Tabs/tab-top.png" + border = { 4,4,4,4} + stretch = TRUE + gap_side = BOTTOM + } + image + { + function = EXTENSION + recolorable = TRUE + state = ACTIVE + file = "Tabs/tab-left.png" + border = { 4,4,4,4} + stretch = TRUE + gap_side = RIGHT + } + image + { + function = EXTENSION + recolorable = TRUE + state = ACTIVE + file = "Tabs/tab-right.png" + border = { 4,4,4,4} + stretch = TRUE + gap_side = LEFT + } + image + { + function = EXTENSION + recolorable = TRUE + file = "Tabs/tab-top-active.png" + border = { 4,4,4,4} + stretch = TRUE + gap_side = BOTTOM + } + image + { + function = EXTENSION + recolorable = TRUE + file = "Tabs/tab-bottom-active.png" + border = { 4,4,4,4} + stretch = TRUE + gap_side = TOP + } + image + { + function = EXTENSION + recolorable = TRUE + file = "Tabs/tab-left-active.png" + border = { 4,4,4,4} + stretch = TRUE + gap_side = RIGHT + } + image + { + function = EXTENSION + recolorable = TRUE + file = "Tabs/tab-right-active.png" + border = { 4,4,4,4} + stretch = TRUE + gap_side = LEFT + } + +# How to draw boxes with a gap on one side (ie the page of a notebook) + + image + { + function = BOX_GAP + recolorable = TRUE + file = "Tabs/notebook.png" + border = { 5, 5, 5, 5 } + stretch = TRUE + gap_file = "Tabs/gap-top.png" + gap_border = { 5, 5, 5, 5 } + gap_start_file = "Others/null.png" + gap_start_border = { 0, 0, 0, 0 } + gap_end_file = "Others/null.png" + gap_end_border = { 0, 0, 0, 0 } + gap_side = TOP + } + image + { + function = BOX_GAP + recolorable = TRUE + file = "Tabs/notebook.png" + border = { 5, 5, 5, 5 } + stretch = TRUE + gap_file = "Tabs/gap-bottom.png" + gap_border = { 5, 5, 5, 5 } + gap_start_file = "Others/null.png" + gap_start_border = { 0, 0, 0, 0 } + gap_end_file = "Others/null.png" + gap_end_border = { 0, 0, 0, 0 } + gap_side = BOTTOM + } + image + { + function = BOX_GAP + recolorable = TRUE + file = "Tabs/notebook.png" + border = { 5, 5, 5, 5 } + stretch = TRUE + gap_file = "Tabs/gap-left.png" + gap_border = { 5, 5, 5, 5 } + gap_start_file = "Others/null.png" + gap_start_border = { 0, 0, 0, 0 } + gap_end_file = "Others/null.png" + gap_end_border = { 0, 0, 0, 0 } + gap_side = LEFT + } + image + { + function = BOX_GAP + recolorable = TRUE + file = "Tabs/notebook.png" + border = { 5, 5, 5, 5 } + stretch = TRUE + gap_file = "Tabs/gap-right.png" + gap_border = { 5, 5, 5, 5 } + gap_start_file = "Others/null.png" + gap_start_border = { 0, 0, 0, 0 } + gap_end_file = "Others/null.png" + gap_end_border = { 0, 0, 0, 0 } + gap_side = RIGHT + } + +# How to draw the box of a notebook when it isnt attached to a tab + + image + { + function = BOX + recolorable = TRUE + file = "Tabs/notebook.png" + border = { 6,6,6,6 } + stretch = TRUE + } + } +} + +style "tooltips" = "default" +{ + bg[NORMAL] = "#ece9e2" +} + +##################### RULER ################## + +style "ruler" = "default" +{ + engine "pixmap" + { + image + { + function = BOX + recolorable = TRUE + detail = "vruler" + file = "Others/ruler.png" + border = { 2, 2, 2, 2 } + stretch = TRUE + } + image + { + function = BOX + recolorable = TRUE + detail = "hruler" + file = "Others/ruler.png" + border = { 2, 2, 2, 2 } + stretch = TRUE + } + } +} + +################# HANDLES ###################x + + +style "handlebox" = "default" +{ + engine "pixmap" + { + image + { + function = HANDLE + recolorable = TRUE + overlay_file = "Others/null.png" +# overlay_file = "Handles/handle-v.png" + overlay_stretch = FALSE + orientation = VERTICAL + } + image + { + function = HANDLE + overlay_file = "Others/null.png" +# overlay_file = "Handles/handle-h.png" + overlay_stretch = FALSE + orientation = HORIZONTAL + } + } +} + +style "flat" = "default" +{ + engine "pixmap" + { + image + { + function = SHADOW + } + } +} + +style "layout" = "default" +{ + engine "pixmap" + { + image + { + function = SHADOW + detail = "entry" + shadow = IN + recolorable = FALSE + file = "Shadows/text.png" + border = { 1, 1, 1, 1 } + stretch = TRUE + } + image + { + function = BOX + detail = "button" + state = NORMAL + file = "Buttons/button-normal.png" + recolorable = TRUE + border = { 2, 3, 2, 3 } + stretch = TRUE + } + } +} + +##################### STATUSBAR ############################### + +style "statusbar" = "default" +{ + +# xthickness = 1 +# ythickness = 1 + + engine "pixmap" + { + image + { + function = RESIZE_GRIP + recolorable = TRUE + #state = NORMAL + detail = "statusbar" + overlay_file = "Handles/resize-grip.png" + + overlay_border = {0,0,0,0 } + overlay_stretch = FALSE + } + } +} + +# This prevents Sodipodi from crashing while opening the +# Object-Style dialog. + +style "unstyle" +{ + engine "" + { + } +} + +# recognizable pressed toggle buttons +# SPIcons seem to erase the background first. That's why I can't use +# the button style. + +style "SPbutton" +{ + engine "pixmap" + { + image + { + function = BOX + shadow = IN + recolorable = TRUE + file = "Shadows/shadow-out.png" + border = { 2, 2, 2, 2 } + stretch = TRUE + } + image + { + function = BOX + } + } +} + + + + +# widget styles + +class "GtkButton" style "button" +class "GtkRadioButton" style "radiobutton" +class "GtkRadioMenuItem" style "radiobutton" +class "GtkCheckButton" style "checkbutton" +class "GtkCheckMenuItem" style "checkbutton" +class "GtkOptionMenu" style "optionmenu" +class "GtkCombo*" style "optionmenu" +class "*Font*" style "optionmenu" +class "GtkEntry" style "entry" +class "GtkOldEditable" style "entry" +class "GtkSpinButton" style "spinbutton" +class "GtkRuler" style "ruler" +class "GtkScrollbar" style "scrollbar" +class "GtkStatusbar" style "statusbar" +class "GtkProgressBar" style "progressbar" +class "GtkRange" style "range" +class "GtkMenu" style "menu" +class "GtkMenuBar*" style "menubar" +widget_class "*MenuBar.*" style "menubar" +widget_class "*.<MenuItem>." style "menuitem" +class "GtkMenuItem" style "menuitem" +class "GtkTearoffMenuItem" style "menuitem" +class "GtkNotebook" style "notebook" +class "GtkToolbar" style "flat" +class "GtkHandleBox" style "handlebox" +class "GtkEventBox" style "flat" +class "GtkPaned" style "handlebox" +class "GtkLayout" style "layout" +class "SPButton" style "SPbutton" +widget "gtk-tooltips" style "tooltips" + +# prevent Sodipodi from crashing +class "SPColorSlider" style "unstyle" + diff --git a/.themes/Fawn/gtk-2.0/menubar.rc b/.themes/Fawn/gtk-2.0/menubar.rc @@ -0,0 +1,52 @@ +#################### MENUBAR ################### + + +style "menubar" + +{ + xthickness = 1 + ythickness = 2 + + engine "pixmap" + { + image + { + function = BOX + state = NORMAL + file = "Others/null.png" + border = { 2, 2, 2, 2 } + stretch = TRUE + } + + image + { + function = BOX + state = ACTIVE + file = "Others/null.png" + border = { 2, 2, 2, 2 } + stretch = TRUE + } + + image + { + function = BOX + state = INSENSITIVE + file = "Others/null.png" + border = { 2, 2, 2, 2 } + stretch = TRUE + } + + image + { + function = BOX + recolorable = TRUE + state = PRELIGHT + file = "Menu-Menubar/menubar-item.png" + + border = { 10, 10, 10, 10 } + stretch = TRUE + } + + } +} + diff --git a/.themes/Fawn/gtk-2.0/panel.rc b/.themes/Fawn/gtk-2.0/panel.rc @@ -0,0 +1,225 @@ +style "panel" +{ + +xthickness = 0 +ythickness = 0 + + fg[NORMAL] = "#D7D3C5" # very dark brown + fg[PRELIGHT] = "#9F907D" # text on buttons (hover) + fg[ACTIVE] = "#D7CEB9" # text on unfocused tabs + + + bg_pixmap[NORMAL] = "Panel/panel-bg.png" +# bg_pixmap[ACTIVE] = "Panel/panel-bg.png" +# bg_pixmap[SELECTED] = "Panel/panel-bg.png" +# bg_pixmap[INSENSITIVE] = "Panel/panel-bg.png" +# bg_pixmap[PRELIGHT] = "Panel/panel-bg.png" +} + +############################################################# + + +style "panelbar" +{ +engine "pixmap" +{ + image + { + function = BOX + state = NORMAL + file = "Panel/panel-bg.png" + border = { 0 , 0 , 0 , 0} + stretch = FALSE + } + + + image + { + function = BOX + state = ACTIVE + file = "Panel/panel-bg.png" + border = { 0 , 0 , 0 , 0} + stretch = FALSE + } + + + image + { + function = BOX + state = INSENSITIVE + file = "Panel/panel-bg.png" + border = { 0 , 0 , 0 , 0} + stretch = FALSE + } + + + image + { + function = BOX + state = PRELIGHT + recolorable = TRUE + file = "Menu-Menubar/menubar-item.png" + border = { 4 , 4 , 4 , 4} + stretch = TRUE + } + +} + +} + +widget_class "*Panel*MenuBar*" style "panelbar" + +############################################################# + +style "panelbuttons" +{ + + xthickness = 2 + ythickness = 1 + + GtkWidget::focus_padding = 2 + + engine "pixmap" { + + image + { + function = BOX + recolorable = TRUE + state = NORMAL + file = "Panel/panelbutton1.png" + border = { 4, 4, 4, 4 } + stretch = TRUE + } + + image + { + function = BOX + recolorable = TRUE + state = PRELIGHT + file = "Panel/panelbutton1.png" + border = { 4, 4, 4, 4 } + stretch = TRUE + } + + image + { + function = BOX + recolorable = TRUE + shadow = OUT + state = PRELIGHT + file = "Panel/panelbutton1.png" + border = { 4, 4, 4, 4 } + stretch = TRUE + #overlay_file = "panelbutton1.png" + #overlay_border = { 4, 4, 4, 4 } + #overlay_stretch = TRUE + } + + image + { + function = BOX + recolorable = TRUE + shadow = IN + state = PRELIGHT + file = "Panel/panelbutton1.png" + border = { 4, 4, 4, 4 } + stretch = TRUE + #overlay_file = "panelbutton1.png" + #overlay_border = { 4, 4, 4, 4 } + #overlay_stretch = TRUE + } + + image + { + function = BOX + recolorable = TRUE + state = ACTIVE + file = "Panel/panelbutton1.png" + border = { 4, 4, 4, 4 } + stretch = TRUE + } + image + { + function = BOX + recolorable = TRUE + state = INSENSITIVE + file = "Panel/panelbutton1.png" + border = { 4, 4, 4, 4 } + stretch = TRUE + } + image + { + function = HANDLE + recolorable = TRUE + overlay_file = "Panel/handle-v.png" + overlay_stretch = FALSE + orientation = VERTICAL + } + image + { + function = HANDLE + overlay_file = "Panel/handle-h.png" + overlay_stretch = FALSE + orientation = HORIZONTAL + } + + } + +} + + +############################################################# + +class "*Mail*" style "panel" +class "*notif*" style "panel" +class "*Notif*" style "panel" +class "*Tray*" style "panel" +class "*tray*" style "panel" +widget_class "*Mail*" style "panel" +widget_class "*notif*" style "panel" +widget_class "*Notif*" style "panel" +widget_class "*Tray*" style "panel" +widget_class "*tray*" style "panel" +widget "*TrayIcon*" style "panel" +class "*Panel*Applet*" style "panel" +widget_class "*Panel*GtkToggleButton" style "panel" +widget_class "*Panel*GtkButton" style "panel" +widget_class "*.Panel*Button*GtkLabel" style "panel" +widget_class "*.Panel*GtkLabel" style "panel" +widget "*PanelWidget*" style "panel" +widget "*PanelApplet*" style "panel" + + + +widget_class "*Netstatus*" style "panel" +widget_class "*Tomboy*Tray*" style "panel" +widget "*fast-user-switch*" style "panel" +widget_class "*PanelToplevel*" style "panel" +class "Xfce*Panel*" style "panel" +widget_class "*Xfce*Panel*" style "panel" +widget_class "*PanelApplet*" style "panel" +widget_class "*PanelWidget*" style "panel" + + +widget_class "*Panel*GtkToggleButton" style "panelbuttons" +widget "*.tasklist-button" style "panelbuttons" + +widget_class "*PanelToplevel*Button" style "panelbuttons" +widget_class "*Xfce*Panel*.GtkToggleButton" style "panelbuttons" +widget_class "*Xfce*NetkTasklist*GtkToggleButton" style "panelbuttons" + +############################################################# +#FIXES THE STANDARD SHUTDOWN-DIALOG ON GNOME +############################################################# + +style "fix" +{ +xthickness = 0 +ythickness = 0 + + bg[NORMAL] = "#ECE9E2" +} + +class "*Panel*" style "fix" + +#############################################################+ \ No newline at end of file diff --git a/.themes/Orange/gtk-2.0/Arrows/arrow-down-insens.png b/.themes/Orange/gtk-2.0/Arrows/arrow-down-insens.png Binary files differ. diff --git a/.themes/Orange/gtk-2.0/Arrows/arrow-down-prelight.png b/.themes/Orange/gtk-2.0/Arrows/arrow-down-prelight.png Binary files differ. diff --git a/.themes/Orange/gtk-2.0/Arrows/arrow-down-pressed.png b/.themes/Orange/gtk-2.0/Arrows/arrow-down-pressed.png Binary files differ. diff --git a/.themes/Orange/gtk-2.0/Arrows/arrow-down.png b/.themes/Orange/gtk-2.0/Arrows/arrow-down.png Binary files differ. diff --git a/.themes/Orange/gtk-2.0/Arrows/arrow-left.png b/.themes/Orange/gtk-2.0/Arrows/arrow-left.png Binary files differ. diff --git a/.themes/Orange/gtk-2.0/Arrows/arrow-right-norm.png b/.themes/Orange/gtk-2.0/Arrows/arrow-right-norm.png Binary files differ. diff --git a/.themes/Orange/gtk-2.0/Arrows/arrow-right-prelight.png b/.themes/Orange/gtk-2.0/Arrows/arrow-right-prelight.png Binary files differ. diff --git a/.themes/Orange/gtk-2.0/Arrows/arrow-right.png b/.themes/Orange/gtk-2.0/Arrows/arrow-right.png Binary files differ. diff --git a/.themes/Orange/gtk-2.0/Arrows/arrow-up.png b/.themes/Orange/gtk-2.0/Arrows/arrow-up.png Binary files differ. diff --git a/.themes/Orange/gtk-2.0/Buttons/button-default.png b/.themes/Orange/gtk-2.0/Buttons/button-default.png Binary files differ. diff --git a/.themes/Orange/gtk-2.0/Buttons/button-insensitive.png b/.themes/Orange/gtk-2.0/Buttons/button-insensitive.png Binary files differ. diff --git a/.themes/Orange/gtk-2.0/Buttons/button-normal.png b/.themes/Orange/gtk-2.0/Buttons/button-normal.png Binary files differ. diff --git a/.themes/Orange/gtk-2.0/Buttons/button-prelight.png b/.themes/Orange/gtk-2.0/Buttons/button-prelight.png Binary files differ. diff --git a/.themes/Orange/gtk-2.0/Buttons/button-pressed.png b/.themes/Orange/gtk-2.0/Buttons/button-pressed.png Binary files differ. diff --git a/.themes/Orange/gtk-2.0/Check-Radio/check1.png b/.themes/Orange/gtk-2.0/Check-Radio/check1.png Binary files differ. diff --git a/.themes/Orange/gtk-2.0/Check-Radio/check2.png b/.themes/Orange/gtk-2.0/Check-Radio/check2.png Binary files differ. diff --git a/.themes/Orange/gtk-2.0/Check-Radio/check3.png b/.themes/Orange/gtk-2.0/Check-Radio/check3.png Binary files differ. diff --git a/.themes/Orange/gtk-2.0/Check-Radio/check4.png b/.themes/Orange/gtk-2.0/Check-Radio/check4.png Binary files differ. diff --git a/.themes/Orange/gtk-2.0/Check-Radio/checklight.png b/.themes/Orange/gtk-2.0/Check-Radio/checklight.png Binary files differ. diff --git a/.themes/Orange/gtk-2.0/Check-Radio/highlight.png b/.themes/Orange/gtk-2.0/Check-Radio/highlight.png Binary files differ. diff --git a/.themes/Orange/gtk-2.0/Check-Radio/option1.png b/.themes/Orange/gtk-2.0/Check-Radio/option1.png Binary files differ. diff --git a/.themes/Orange/gtk-2.0/Check-Radio/option2.png b/.themes/Orange/gtk-2.0/Check-Radio/option2.png Binary files differ. diff --git a/.themes/Orange/gtk-2.0/Check-Radio/option3.png b/.themes/Orange/gtk-2.0/Check-Radio/option3.png Binary files differ. diff --git a/.themes/Orange/gtk-2.0/Check-Radio/option4.png b/.themes/Orange/gtk-2.0/Check-Radio/option4.png Binary files differ. diff --git a/.themes/Orange/gtk-2.0/Combo/combo-active.png b/.themes/Orange/gtk-2.0/Combo/combo-active.png Binary files differ. diff --git a/.themes/Orange/gtk-2.0/Combo/combo-arrow-insens.png b/.themes/Orange/gtk-2.0/Combo/combo-arrow-insens.png Binary files differ. diff --git a/.themes/Orange/gtk-2.0/Combo/combo-arrow-prelight.png b/.themes/Orange/gtk-2.0/Combo/combo-arrow-prelight.png Binary files differ. diff --git a/.themes/Orange/gtk-2.0/Combo/combo-arrow.png b/.themes/Orange/gtk-2.0/Combo/combo-arrow.png Binary files differ. diff --git a/.themes/Orange/gtk-2.0/Combo/combo-inactive.png b/.themes/Orange/gtk-2.0/Combo/combo-inactive.png Binary files differ. diff --git a/.themes/Orange/gtk-2.0/Combo/combo-normal.png b/.themes/Orange/gtk-2.0/Combo/combo-normal.png Binary files differ. diff --git a/.themes/Orange/gtk-2.0/Combo/combo-prelight.png b/.themes/Orange/gtk-2.0/Combo/combo-prelight.png Binary files differ. diff --git a/.themes/Orange/gtk-2.0/Combo/combo-pressed.png b/.themes/Orange/gtk-2.0/Combo/combo-pressed.png Binary files differ. diff --git a/.themes/Orange/gtk-2.0/Combo/text-entry.png b/.themes/Orange/gtk-2.0/Combo/text-entry.png Binary files differ. diff --git a/.themes/Orange/gtk-2.0/Frame-Gap/frame-gap-end.png b/.themes/Orange/gtk-2.0/Frame-Gap/frame-gap-end.png Binary files differ. diff --git a/.themes/Orange/gtk-2.0/Frame-Gap/frame-gap-start.png b/.themes/Orange/gtk-2.0/Frame-Gap/frame-gap-start.png Binary files differ. diff --git a/.themes/Orange/gtk-2.0/Frame-Gap/frame1.png b/.themes/Orange/gtk-2.0/Frame-Gap/frame1.png Binary files differ. diff --git a/.themes/Orange/gtk-2.0/Frame-Gap/frame2.png b/.themes/Orange/gtk-2.0/Frame-Gap/frame2.png Binary files differ. diff --git a/.themes/Orange/gtk-2.0/Handles/handle-h.png b/.themes/Orange/gtk-2.0/Handles/handle-h.png Binary files differ. diff --git a/.themes/Orange/gtk-2.0/Handles/handle-v.png b/.themes/Orange/gtk-2.0/Handles/handle-v.png Binary files differ. diff --git a/.themes/Orange/gtk-2.0/Handles/resize-grip.png b/.themes/Orange/gtk-2.0/Handles/resize-grip.png Binary files differ. diff --git a/.themes/Orange/gtk-2.0/Lines/line-h.png b/.themes/Orange/gtk-2.0/Lines/line-h.png Binary files differ. diff --git a/.themes/Orange/gtk-2.0/Lines/line-v.png b/.themes/Orange/gtk-2.0/Lines/line-v.png Binary files differ. diff --git a/.themes/Orange/gtk-2.0/Menu-Menubar/menu.png b/.themes/Orange/gtk-2.0/Menu-Menubar/menu.png Binary files differ. diff --git a/.themes/Orange/gtk-2.0/Menu-Menubar/menubar-item.png b/.themes/Orange/gtk-2.0/Menu-Menubar/menubar-item.png Binary files differ. diff --git a/.themes/Orange/gtk-2.0/Menu-Menubar/menuitem.png b/.themes/Orange/gtk-2.0/Menu-Menubar/menuitem.png Binary files differ. diff --git a/.themes/Orange/gtk-2.0/Menu-Menubar/menuline.png b/.themes/Orange/gtk-2.0/Menu-Menubar/menuline.png Binary files differ. diff --git a/.themes/Orange/gtk-2.0/Others/focus.png b/.themes/Orange/gtk-2.0/Others/focus.png Binary files differ. diff --git a/.themes/Orange/gtk-2.0/Others/null.png b/.themes/Orange/gtk-2.0/Others/null.png Binary files differ. diff --git a/.themes/Orange/gtk-2.0/Others/ruler.png b/.themes/Orange/gtk-2.0/Others/ruler.png Binary files differ. diff --git a/.themes/Orange/gtk-2.0/Panel/handle-h.png b/.themes/Orange/gtk-2.0/Panel/handle-h.png Binary files differ. diff --git a/.themes/Orange/gtk-2.0/Panel/handle-v.png b/.themes/Orange/gtk-2.0/Panel/handle-v.png Binary files differ. diff --git a/.themes/Orange/gtk-2.0/Panel/panel-bg-active.png b/.themes/Orange/gtk-2.0/Panel/panel-bg-active.png Binary files differ. diff --git a/.themes/Orange/gtk-2.0/Panel/panel-bg.png b/.themes/Orange/gtk-2.0/Panel/panel-bg.png Binary files differ. diff --git a/.themes/Orange/gtk-2.0/Panel/panelbutton1.png b/.themes/Orange/gtk-2.0/Panel/panelbutton1.png Binary files differ. diff --git a/.themes/Orange/gtk-2.0/ProgressBar/progressbar-horiz.png b/.themes/Orange/gtk-2.0/ProgressBar/progressbar-horiz.png Binary files differ. diff --git a/.themes/Orange/gtk-2.0/ProgressBar/progressbar-vert.png b/.themes/Orange/gtk-2.0/ProgressBar/progressbar-vert.png Binary files differ. diff --git a/.themes/Orange/gtk-2.0/ProgressBar/trough-progressbar-horiz.png b/.themes/Orange/gtk-2.0/ProgressBar/trough-progressbar-horiz.png Binary files differ. diff --git a/.themes/Orange/gtk-2.0/ProgressBar/trough-progressbar-vert.png b/.themes/Orange/gtk-2.0/ProgressBar/trough-progressbar-vert.png Binary files differ. diff --git a/.themes/Orange/gtk-2.0/Range/null.png b/.themes/Orange/gtk-2.0/Range/null.png Binary files differ. diff --git a/.themes/Orange/gtk-2.0/Range/slider-horiz-pre.png b/.themes/Orange/gtk-2.0/Range/slider-horiz-pre.png Binary files differ. diff --git a/.themes/Orange/gtk-2.0/Range/slider-horiz.png b/.themes/Orange/gtk-2.0/Range/slider-horiz.png Binary files differ. diff --git a/.themes/Orange/gtk-2.0/Range/slider-vert-pre.png b/.themes/Orange/gtk-2.0/Range/slider-vert-pre.png Binary files differ. diff --git a/.themes/Orange/gtk-2.0/Range/slider-vert.png b/.themes/Orange/gtk-2.0/Range/slider-vert.png Binary files differ. diff --git a/.themes/Orange/gtk-2.0/Range/trough-horizontal.png b/.themes/Orange/gtk-2.0/Range/trough-horizontal.png Binary files differ. diff --git a/.themes/Orange/gtk-2.0/Range/trough-vertical.png b/.themes/Orange/gtk-2.0/Range/trough-vertical.png Binary files differ. diff --git a/.themes/Orange/gtk-2.0/Scrollbars/slider-horiz-insens.png b/.themes/Orange/gtk-2.0/Scrollbars/slider-horiz-insens.png Binary files differ. diff --git a/.themes/Orange/gtk-2.0/Scrollbars/slider-horiz-prelight.png b/.themes/Orange/gtk-2.0/Scrollbars/slider-horiz-prelight.png Binary files differ. diff --git a/.themes/Orange/gtk-2.0/Scrollbars/slider-horiz.png b/.themes/Orange/gtk-2.0/Scrollbars/slider-horiz.png Binary files differ. diff --git a/.themes/Orange/gtk-2.0/Scrollbars/slider-vert-insens.png b/.themes/Orange/gtk-2.0/Scrollbars/slider-vert-insens.png Binary files differ. diff --git a/.themes/Orange/gtk-2.0/Scrollbars/slider-vert-prelight.png b/.themes/Orange/gtk-2.0/Scrollbars/slider-vert-prelight.png Binary files differ. diff --git a/.themes/Orange/gtk-2.0/Scrollbars/slider-vert.png b/.themes/Orange/gtk-2.0/Scrollbars/slider-vert.png Binary files differ. diff --git a/.themes/Orange/gtk-2.0/Scrollbars/stepper-down-insens.png b/.themes/Orange/gtk-2.0/Scrollbars/stepper-down-insens.png Binary files differ. diff --git a/.themes/Orange/gtk-2.0/Scrollbars/stepper-down-prelight.png b/.themes/Orange/gtk-2.0/Scrollbars/stepper-down-prelight.png Binary files differ. diff --git a/.themes/Orange/gtk-2.0/Scrollbars/stepper-down.png b/.themes/Orange/gtk-2.0/Scrollbars/stepper-down.png Binary files differ. diff --git a/.themes/Orange/gtk-2.0/Scrollbars/stepper-left-insens.png b/.themes/Orange/gtk-2.0/Scrollbars/stepper-left-insens.png Binary files differ. diff --git a/.themes/Orange/gtk-2.0/Scrollbars/stepper-left-prelight.png b/.themes/Orange/gtk-2.0/Scrollbars/stepper-left-prelight.png Binary files differ. diff --git a/.themes/Orange/gtk-2.0/Scrollbars/stepper-left.png b/.themes/Orange/gtk-2.0/Scrollbars/stepper-left.png Binary files differ. diff --git a/.themes/Orange/gtk-2.0/Scrollbars/stepper-right-insens.png b/.themes/Orange/gtk-2.0/Scrollbars/stepper-right-insens.png Binary files differ. diff --git a/.themes/Orange/gtk-2.0/Scrollbars/stepper-right-prelight.png b/.themes/Orange/gtk-2.0/Scrollbars/stepper-right-prelight.png Binary files differ. diff --git a/.themes/Orange/gtk-2.0/Scrollbars/stepper-right.png b/.themes/Orange/gtk-2.0/Scrollbars/stepper-right.png Binary files differ. diff --git a/.themes/Orange/gtk-2.0/Scrollbars/stepper-up-insens.png b/.themes/Orange/gtk-2.0/Scrollbars/stepper-up-insens.png Binary files differ. diff --git a/.themes/Orange/gtk-2.0/Scrollbars/stepper-up-prelight.png b/.themes/Orange/gtk-2.0/Scrollbars/stepper-up-prelight.png Binary files differ. diff --git a/.themes/Orange/gtk-2.0/Scrollbars/stepper-up.png b/.themes/Orange/gtk-2.0/Scrollbars/stepper-up.png Binary files differ. diff --git a/.themes/Orange/gtk-2.0/Scrollbars/trough-scrollbar-horiz.png b/.themes/Orange/gtk-2.0/Scrollbars/trough-scrollbar-horiz.png Binary files differ. diff --git a/.themes/Orange/gtk-2.0/Scrollbars/trough-scrollbar-vert.png b/.themes/Orange/gtk-2.0/Scrollbars/trough-scrollbar-vert.png Binary files differ. diff --git a/.themes/Orange/gtk-2.0/Shadows/entry-shadow-in.png b/.themes/Orange/gtk-2.0/Shadows/entry-shadow-in.png Binary files differ. diff --git a/.themes/Orange/gtk-2.0/Shadows/shadow-etched-out.png b/.themes/Orange/gtk-2.0/Shadows/shadow-etched-out.png Binary files differ. diff --git a/.themes/Orange/gtk-2.0/Shadows/shadow-in.png b/.themes/Orange/gtk-2.0/Shadows/shadow-in.png Binary files differ. diff --git a/.themes/Orange/gtk-2.0/Shadows/shadow-none.png b/.themes/Orange/gtk-2.0/Shadows/shadow-none.png Binary files differ. diff --git a/.themes/Orange/gtk-2.0/Shadows/shadow-out.png b/.themes/Orange/gtk-2.0/Shadows/shadow-out.png Binary files differ. diff --git a/.themes/Orange/gtk-2.0/Shadows/text-entry.png b/.themes/Orange/gtk-2.0/Shadows/text-entry.png Binary files differ. diff --git a/.themes/Orange/gtk-2.0/Shadows/text.png b/.themes/Orange/gtk-2.0/Shadows/text.png Binary files differ. diff --git a/.themes/Orange/gtk-2.0/Spin/arrow-down-disable.png b/.themes/Orange/gtk-2.0/Spin/arrow-down-disable.png Binary files differ. diff --git a/.themes/Orange/gtk-2.0/Spin/arrow-down-prelight.png b/.themes/Orange/gtk-2.0/Spin/arrow-down-prelight.png Binary files differ. diff --git a/.themes/Orange/gtk-2.0/Spin/arrow-down.png b/.themes/Orange/gtk-2.0/Spin/arrow-down.png Binary files differ. diff --git a/.themes/Orange/gtk-2.0/Spin/arrow-up-disable.png b/.themes/Orange/gtk-2.0/Spin/arrow-up-disable.png Binary files differ. diff --git a/.themes/Orange/gtk-2.0/Spin/arrow-up-prelight.png b/.themes/Orange/gtk-2.0/Spin/arrow-up-prelight.png Binary files differ. diff --git a/.themes/Orange/gtk-2.0/Spin/arrow-up.png b/.themes/Orange/gtk-2.0/Spin/arrow-up.png Binary files differ. diff --git a/.themes/Orange/gtk-2.0/Spin/entry-shadow-in.png b/.themes/Orange/gtk-2.0/Spin/entry-shadow-in.png Binary files differ. diff --git a/.themes/Orange/gtk-2.0/Spin/spin-down-bg.png b/.themes/Orange/gtk-2.0/Spin/spin-down-bg.png Binary files differ. diff --git a/.themes/Orange/gtk-2.0/Spin/spin-up-bg.png b/.themes/Orange/gtk-2.0/Spin/spin-up-bg.png Binary files differ. diff --git a/.themes/Orange/gtk-2.0/Spin/text-entry-focus.png b/.themes/Orange/gtk-2.0/Spin/text-entry-focus.png Binary files differ. diff --git a/.themes/Orange/gtk-2.0/Spin/text-entry.png b/.themes/Orange/gtk-2.0/Spin/text-entry.png Binary files differ. diff --git a/.themes/Orange/gtk-2.0/Tabs/gap-bottom.png b/.themes/Orange/gtk-2.0/Tabs/gap-bottom.png Binary files differ. diff --git a/.themes/Orange/gtk-2.0/Tabs/gap-left.png b/.themes/Orange/gtk-2.0/Tabs/gap-left.png Binary files differ. diff --git a/.themes/Orange/gtk-2.0/Tabs/gap-right.png b/.themes/Orange/gtk-2.0/Tabs/gap-right.png Binary files differ. diff --git a/.themes/Orange/gtk-2.0/Tabs/gap-top.png b/.themes/Orange/gtk-2.0/Tabs/gap-top.png Binary files differ. diff --git a/.themes/Orange/gtk-2.0/Tabs/notebook.png b/.themes/Orange/gtk-2.0/Tabs/notebook.png Binary files differ. diff --git a/.themes/Orange/gtk-2.0/Tabs/null.png b/.themes/Orange/gtk-2.0/Tabs/null.png Binary files differ. diff --git a/.themes/Orange/gtk-2.0/Tabs/tab-bottom-active.png b/.themes/Orange/gtk-2.0/Tabs/tab-bottom-active.png Binary files differ. diff --git a/.themes/Orange/gtk-2.0/Tabs/tab-bottom.png b/.themes/Orange/gtk-2.0/Tabs/tab-bottom.png Binary files differ. diff --git a/.themes/Orange/gtk-2.0/Tabs/tab-left-active.png b/.themes/Orange/gtk-2.0/Tabs/tab-left-active.png Binary files differ. diff --git a/.themes/Orange/gtk-2.0/Tabs/tab-left.png b/.themes/Orange/gtk-2.0/Tabs/tab-left.png Binary files differ. diff --git a/.themes/Orange/gtk-2.0/Tabs/tab-right-active.png b/.themes/Orange/gtk-2.0/Tabs/tab-right-active.png Binary files differ. diff --git a/.themes/Orange/gtk-2.0/Tabs/tab-right.png b/.themes/Orange/gtk-2.0/Tabs/tab-right.png Binary files differ. diff --git a/.themes/Orange/gtk-2.0/Tabs/tab-top-active.png b/.themes/Orange/gtk-2.0/Tabs/tab-top-active.png Binary files differ. diff --git a/.themes/Orange/gtk-2.0/Tabs/tab-top.png b/.themes/Orange/gtk-2.0/Tabs/tab-top.png Binary files differ. diff --git a/.themes/Orange/gtk-2.0/Toolbar/toolbutton-normal.png b/.themes/Orange/gtk-2.0/Toolbar/toolbutton-normal.png Binary files differ. diff --git a/.themes/Orange/gtk-2.0/Toolbar/toolbutton-prelight.png b/.themes/Orange/gtk-2.0/Toolbar/toolbutton-prelight.png Binary files differ. diff --git a/.themes/Orange/gtk-2.0/Toolbar/toolbutton-pressed.png b/.themes/Orange/gtk-2.0/Toolbar/toolbutton-pressed.png Binary files differ. diff --git a/.themes/Orange/gtk-2.0/Toolbar/toolbutton-toggled.png b/.themes/Orange/gtk-2.0/Toolbar/toolbutton-toggled.png Binary files differ. diff --git a/.themes/Orange/gtk-2.0/gtkrc b/.themes/Orange/gtk-2.0/gtkrc @@ -0,0 +1,1750 @@ +#Orange by Kalushary +#include "panel.rc" +include "menubar.rc" + +gtk-icon-sizes = "panel-menu=14,14:panel=14,14:gtk-button=14,14:gtk-small-toolbar=14,14:gtk-large-toolbar=14,14" +gtk-button-images = 0 +gtk-menu-images = 0 +#gtk-icon-theme-name = "ALLBLACK" +#gtk-font-name = "droid sans 9.5" + + + +style "default" +{ + GtkWidget::interior_focus = 7 + GtkWidget::focus_padding = 0 + + GtkWidget::link_color = "#F55730" + GtkWidget::visited_link_color = "#4C4C4C" + + + + GtkButton::default_border = { 0, 0, 0, 0 } + GtkButton::default_outside_border = { 0, 0, 0, 0 } + + GtkRange::trough_border = 0 + GtkRange::slider_width = 15 + GtkRange::stepper_size = 15 + + GtkVScale::slider_length = 11 + GtkVScale::slider_width = 21 + GtkHScale::slider_length = 11 + GtkHScale::slider_width = 21 + + GtkPaned::handle_size = 4 + + GtkScrollbar::min_slider_length = 20 + GtkScrollbar::has_backward_stepper = 0 + GtkScrollbar::has_secondary_forward_stepper = 0 + GtkScrollbar::has_secondary_backward_stepper = 0 + GtkScrollbar::has_forward_stepper = 0 + + GtkCheckButton::indicator_size = 12 + GtkCheckButton::indicator_spacing = 3 + GtkMenuBar::internal_padding = 1 + GtkMenuItem::horizontal_padding = 4 + GtkMenuItem::arrow_spacing = 6 + GtkMenuItem::toggle_spacing = 6 + + GtkTreeView::vertical_separator = 2 + GtkTreeView::horizontal_separator = 2 + GtkTreeView::tree_view_separator_area = 2 + GtkTreeView::focus_padding = 0 + GtkTreeView::row_ending_details = 0 + GtkTreeView::allow_rules = 1 + GtkTreeView::expander_size = 4 + + GtkExpander::expander_size = 4 + GtkExpander::expander_spacing = 4 + + GtkOptionMenu::indicator_size = { 15, 8 } + GtkOptionMenu::indicator_spacing = { 8, 2, 0, 0 } + GtkStatusbar::shadow_type = GTK_SHADOW_NONE + GtkSpinButton::shadow_type = GTK_SHADOW_NONE + + xthickness = 2 + ythickness = 2 + + fg[NORMAL] = "#696969" # Metacity and mouseover, Most text + fg[ACTIVE] = "#696969" # Text when mouseclicking button, Tabs, Active window list + fg[PRELIGHT] = "#696969" # Text when mouseover + fg[SELECTED] = "#f55730" # Metacity X when window selected + fg[INSENSITIVE] = "#c3c3c3" # Insensitive Text + + bg[NORMAL] = "#ffffff" # Normal Background + bg[ACTIVE] = "#ffffff" # Mouseclicking, Tabs, active window list + bg[PRELIGHT] = "#f55730" # Expand prelight bg + bg[SELECTED] = "#f55730" # Metacity Bar + bg[INSENSITIVE] = "#cbcbcb" # Insensitive buttons + + base[NORMAL] = "#ffffff" # Background, most + base[ACTIVE] = "#cbcbcb" # Menu active item in inactive window + base[PRELIGHT] = "#cbcbcb" # Mouseover menu + base[INSENSITIVE] = "#ffffff" # Inactive Entry bg + base[SELECTED] = "#f55730" # Menu active item in active window + + text[NORMAL] = "#696969" # Text in window, arrows + text[INSENSITIVE] = "#cbcbcb" # Insensitive arrows + text[SELECTED] = "#ffffff" # Active text in active window + text[ACTIVE] = "#696969" # Active text in inactive window + text[PRELIGHT] = "#696969" # Text on Mouseover + + + engine "pixmap" + { + image + { + function = HANDLE + recolorable = TRUE + overlay_file = "Panel/handle-v.png" + overlay_stretch = FALSE + orientation = HORIZONTAL + } + image + { + function = HANDLE + recolorable = TRUE + overlay_file = "Panel/handle-h.png" + overlay_stretch = FALSE + orientation = VERTICAL + } + +####################### SHADOWS ############################x + + image + { + function = SHADOW + shadow = IN + recolorable = FALSE + file = "Shadows/shadow-in.png" + border = { 3, 3, 2, 2 } + stretch = TRUE + } + image + { + function = SHADOW + shadow = OUT + recolorable = TRUE + file = "Shadows/shadow-out.png" + stretch = TRUE + } + + image + { + function = SHADOW + shadow = ETCHED_IN + recolorable = TRUE + file = "Frame-Gap/frame1.png" + border = { 2, 2, 2, 2 } + stretch = TRUE + } + image + { + function = SHADOW + shadow = ETCHED_OUT + recolorable = TRUE + file = "Shadows/shadow-none.png" + border = { 2, 2, 2, 2 } + stretch = TRUE + } + image + { + function = SHADOW_GAP + recolorable = TRUE + file = "Frame-Gap/frame1.png" + border = { 2, 2, 2, 2 } + stretch = TRUE + gap_start_file = "Frame-Gap/frame-gap-start.png" + gap_start_border = { 2, 0, 2, 0 } + gap_end_file = "Frame-Gap/frame-gap-end.png" + gap_end_border = { 0, 2, 2, 0 } + gap_side = TOP + } + + image + { + function = VLINE + recolorable = TRUE + file = "Lines/line-v.png" + border = { 1, 1, 0, 0 } + stretch = TRUE + } + image + { + function = HLINE + recolorable = TRUE + file = "Lines/line-h.png" + border = { 0, 0, 1, 1 } + stretch = TRUE + } + + # focus + + image + { + function = FOCUS + recolorable = TRUE + file = "Others/focus.png" + border = { 6, 0, 6, 0 } + stretch = TRUE + } + + # arrows + + image + { + function = ARROW + recolorable = TRUE + overlay_file = "Arrows/arrow-up.png" + overlay_border = { 0, 0, 0, 0 } + overlay_stretch = FALSE + arrow_direction = UP + } + image + { + function = ARROW + state = NORMAL + recolorable = TRUE + overlay_file = "Arrows/arrow-down.png" + overlay_border = { 0, 0, 0, 0 } + overlay_stretch = FALSE + arrow_direction = DOWN + } + image + { + function = ARROW + state = PRELIGHT + recolorable = TRUE + overlay_file = "Arrows/arrow-down-prelight.png" + overlay_border = { 0, 0, 0, 0 } + overlay_stretch = FALSE + arrow_direction = DOWN + } + image + { + function = ARROW + state = ACTIVE + recolorable = TRUE + overlay_file = "Arrows/arrow-down-pressed.png" + overlay_border = { 0, 0, 0, 0 } + overlay_stretch = FALSE + arrow_direction = DOWN + } + + image + { + function = ARROW + state = INSENSITIVE + recolorable = TRUE + overlay_file = "Arrows/arrow-down-insens.png" + overlay_border = { 0, 0, 0, 0 } + overlay_stretch = FALSE + arrow_direction = DOWN + } + + image + { + function = ARROW + recolorable = TRUE + overlay_file = "Arrows/arrow-left.png" + overlay_border = { 0, 0, 0, 0 } + overlay_stretch = FALSE + arrow_direction = LEFT + } + image + { + function = ARROW + recolorable = TRUE + overlay_file = "Arrows/arrow-right.png" + overlay_border = { 0, 0, 0, 0 } + overlay_stretch = FALSE + arrow_direction = RIGHT + } + image + { + function = BOX + recolorable = TRUE + file = "Others/null.png" + border = { 3, 3, 3, 3 } + stretch = TRUE + } + } + +} + +class "GtkWidget" style "default" + +style "inactivetext" +{ + +#engine "mist" +# { +# } +} + +widget_class "*.<GtkLabel>" style "inactivetext" +widget_class "*.<GtkCellLayout>" style "inactivetext" +#widget_class "*.<Combo>" style "inactivetext" + +style "inactivetext2" +{ + + + fg[PRELIGHT] = "#f55730" + text[PRELIGHT] = "#f55730" + +#engine "mist" +# { +# } +} + +widget_class "*.<GtkMenuItem>.*" style "inactivetext2" + + +#################### BUTTONS ####################### + +style "button" = "default" +{ + + engine "pixmap" + { + image + { + function = BOX + detail = "buttondefault" + recolorable = TRUE + file = "Buttons/button-default.png" + border = {4, 4, 4, 4} + stretch = TRUE + } + image + { + function = BOX + state = PRELIGHT + recolorable = TRUE + file = "Buttons/button-prelight.png" + border = { 4, 4, 4, 4 } + stretch = TRUE + } + image + { + function = BOX + state = ACTIVE + file = "Buttons/button-pressed.png" + border = { 4, 4, 4, 4 } + stretch = TRUE + } + image + { + function = BOX + state = INSENSITIVE + file = "Buttons/button-insensitive.png" + border = { 4, 4, 4, 4 } + stretch = TRUE + } + image + { + function = BOX + file = "Buttons/button-normal.png" + border = { 4, 4, 4, 4 } + stretch = TRUE + } + } +} + + + + +style "checkradiobutton" { + engine "pixmap" { + image + { + function = FLAT_BOX + recolorable = TRUE + file = "Check-Radio/highlight.png" + border = { 2, 5, 2, 5 } + stretch = TRUE + } + } +} + +class "GtkRadioButton" style "checkradiobutton" +class "GtkCheckButton" style "checkradiobutton" + +style "optionmenu" = "default" + +{ + engine "pixmap" + { + image + { + function = BOX + recolorable = TRUE + state = PRELIGHT + file = "Combo/combo-prelight.png" + border = { 5, 5, 5, 5} + stretch = TRUE + } + image + { + function = BOX + recolorable = TRUE + state = NORMAL + file = "Combo/combo-normal.png" + border = { 5, 5, 5, 5} + stretch = TRUE + } + + image + { + function = BOX + recolorable = TRUE + state = ACTIVE + file = "Combo/combo-pressed.png" + border = { 5, 5, 5, 5} + stretch = TRUE + } + image + { + function = BOX + recolorable = TRUE + state = INSENSITIVE + file = "Combo/combo-inactive.png" + border = { 5, 5, 5, 5} + stretch = TRUE + } + image + { + function = TAB + state = INSENSITIVE + recolorable = TRUE + overlay_file = "Combo/combo-arrow-insens.png" + overlay_stretch = FALSE + } + image + { + function = TAB + recolorable = TRUE + state = NORMAL + overlay_file = "Combo/combo-arrow.png" + overlay_border = { 0, 0, 0, 0 } + overlay_stretch = FALSE + } + image + { + function = TAB + recolorable = TRUE + state = PRELIGHT + overlay_file = "Combo/combo-arrow-prelight.png" + overlay_border = { 0, 0, 0, 0 } + overlay_stretch = FALSE + } + } +} + +widget_class "*Combo*" style "optionmenu" + +style "radiobutton" = "default" +{ + engine "pixmap" + { + image + { + function = OPTION + recolorable = TRUE + state = NORMAL + shadow = OUT + overlay_file = "Check-Radio/option1.png" + overlay_stretch = FALSE + } + image + { + function = OPTION + recolorable = TRUE + state = PRELIGHT + shadow = OUT + overlay_file = "Check-Radio/option3.png" + overlay_stretch = FALSE + } + image + { + function = OPTION + recolorable = TRUE + state = ACTIVE + shadow = OUT + overlay_file = "Check-Radio/option3.png" + overlay_stretch = FALSE + } + image + { + function = OPTION + recolorable = TRUE + state = INSENSITIVE + shadow = OUT + overlay_file = "Check-Radio/option1.png" + overlay_stretch = FALSE + } + image + { + function = OPTION + recolorable = TRUE + state = NORMAL + shadow = IN + overlay_file = "Check-Radio/option2.png" + overlay_stretch = FALSE + } + image + { + function = OPTION + recolorable = TRUE + state = PRELIGHT + shadow = IN + overlay_file = "Check-Radio/option4.png" + overlay_stretch = FALSE + } + image + { + function = OPTION + recolorable = TRUE + state = ACTIVE + shadow = IN + overlay_file = "Check-Radio/option4.png" + overlay_stretch = FALSE + } + image + { + function = OPTION + recolorable = TRUE + state = INSENSITIVE + shadow = IN + overlay_file = "Check-Radio/option1.png" + overlay_stretch = FALSE + } + image + { + function = FLAT_BOX + recolorable = TRUE + stretch = TRUE + file = "Check-Radio/checklight.png" + border = { 2, 2, 2, 2 } + } + } +} + + +style "checkbutton" = "default" +{ + engine "pixmap" + { + image + { + function = CHECK + recolorable = TRUE + state = NORMAL + shadow = OUT + overlay_file = "Check-Radio/check1.png" + overlay_stretch = FALSE + } + image + { + function = CHECK + recolorable = TRUE + state = PRELIGHT + shadow = OUT + overlay_file = "Check-Radio/check3.png" + overlay_stretch = FALSE + } + image + { + function = CHECK + recolorable = TRUE + state = ACTIVE + shadow = OUT + overlay_file = "Check-Radio/check3.png" + overlay_stretch = FALSE + } + image + { + function = CHECK + recolorable = TRUE + state = INSENSITIVE + shadow = OUT + overlay_file = "Check-Radio/check1.png" + overlay_stretch = FALSE + } + image + { + function = CHECK + recolorable = TRUE + state = NORMAL + shadow = IN + overlay_file = "Check-Radio/check2.png" + overlay_stretch = FALSE + } + image + { + function = CHECK + recolorable = TRUE + state = PRELIGHT + shadow = IN + overlay_file = "Check-Radio/check4.png" + overlay_stretch = FALSE + } + image + { + function = CHECK + recolorable = TRUE + state = ACTIVE + shadow = IN + overlay_file = "Check-Radio/check4.png" + overlay_stretch = FALSE + } + image + { + function = CHECK + recolorable = TRUE + state = INSENSITIVE + shadow = IN + overlay_file = "Check-Radio/check1.png" + overlay_stretch = FALSE + } + image + { + function = FLAT_BOX + recolorable = TRUE + stretch = TRUE + file = "Check-Radio/checklight.png" + border = { 2, 2, 2, 2 } + } + } +} + + +####################### ENTRY #####################xx + +style "entry" = "default" +{ + + xthickness = 3 + ythickness = 2 + GtkWidget::interior_focus = 0 + + engine "pixmap" + { + image + { + function = FOCUS + recolorable = TRUE + file = "Shadows/entry-shadow-in.png" + border = { 3,3,3,3 } + stretch = TRUE + } + image + { + function = BOX + recolorable = TRUE + shadow = IN + state = NORMAL + file = "Shadows/entry-shadow-in.png" + border = { 3,3,3,3 } + stretch = TRUE + } +image + { + function = BOX + recolorable = TRUE + shadow = OUT + state = NORMAL + file = "Shadows/text-entry.png" + border = { 3,3,3,3 } + stretch = TRUE + } + image + { + function = SHADOW + detail = "entry" + shadow = IN + recolorable = FALSE + file = "Shadows/text-entry.png" + border = { 3,3,3,3 } + stretch = TRUE + } + } +} + +################x SPINBUTTONS ################ + +style "spinbutton" = "default" +{ + + xthickness = 3 + ythickness = 1 + GtkWidget::interior_focus = 0 + + engine "pixmap" + { + image + { + function = ARROW + } + +############################# UP ######################xx + image + { + function = BOX + state = NORMAL + detail = "spinbutton_up" + recolorable = TRUE + file = "Spin/spin-up-bg.png" + border = { 5, 5, 5, 5 } + stretch = TRUE + overlay_file = "Spin/arrow-up.png" + overlay_stretch = FALSE + } + image + { + function = BOX + state = PRELIGHT + detail = "spinbutton_up" + recolorable = TRUE + file = "Spin/spin-up-bg.png" + border = { 5, 5, 5, 5 } + stretch = TRUE + overlay_file = "Spin/arrow-up-prelight.png" + overlay_stretch = FALSE + } + image + { + function = BOX + state = INSENSITIVE + detail = "spinbutton_up" + recolorable = TRUE + file = "Spin/spin-up-bg.png" + border = { 5, 5, 5, 5 } + stretch = TRUE + overlay_file = "Spin/arrow-up-disable.png" + overlay_stretch = FALSE + } + image + { + function = BOX + state = ACTIVE + detail = "spinbutton_up" + recolorable = TRUE + file = "Spin/spin-up-bg.png" + border = { 5, 5, 5, 5 } + stretch = TRUE + } + +########################x DOWN ######################## + image + { + function = BOX + state = NORMAL + detail = "spinbutton_down" + recolorable = TRUE + file = "Spin/spin-down-bg.png" + border = { 5, 5, 5, 5 } + stretch = TRUE + overlay_file = "Spin/arrow-down.png" + overlay_stretch = FALSE + } + image + { + function = BOX + state = PRELIGHT + detail = "spinbutton_down" + recolorable = TRUE + file = "Spin/spin-down-bg.png" + border = { 5, 5, 5, 5 } + stretch = TRUE + overlay_file = "Spin/arrow-down-prelight.png" + overlay_stretch = FALSE + } + image + { + function = BOX + state = INSENSITIVE + detail = "spinbutton_down" + recolorable = TRUE + file = "Spin/spin-down-bg.png" + border = { 5, 5, 5, 5 } + stretch = TRUE + overlay_file = "Spin/arrow-down-disable.png" + overlay_stretch = FALSE + } + image + { + function = BOX + state = ACTIVE + detail = "spinbutton_down" + recolorable = TRUE + file = "Spin/spin-down-bg.png" + border = { 5, 5, 5, 5 } + stretch = TRUE + overlay_file = "Spin/arrow-down-prelight.png" + overlay_stretch = FALSE + } +########################## SPIN ENTRY ########################### + image + { + function = FOCUS + recolorable = TRUE + file = "Spin/text-entry-focus.png" + border = { 3,3,3,3 } + stretch = TRUE + } + image + { + function = SHADOW + detail = "entry" + shadow = IN + recolorable = FALSE + file = "Spin/text-entry.png" + border = { 3,3,3,3 } + stretch = TRUE + } + } +} + + +############################# SCROLLBAR #################### + +style "scrollbar" = "default" +{ + engine "pixmap" + { + image + { + function = BOX + recolorable = TRUE + detail = "trough" + file = "Scrollbars/trough-scrollbar-horiz.png" + border = { 19, 19, 2, 2 } + stretch = TRUE + orientation = HORIZONTAL + } + image + { + function = BOX + recolorable = TRUE + detail = "trough" + file = "Scrollbars/trough-scrollbar-vert.png" + border = { 2, 2, 19, 19 } + stretch = TRUE + orientation = VERTICAL + } + +###########x SLIDERS ##################x + + image + { + function = SLIDER + recolorable = TRUE + state = NORMAL + file = "Scrollbars/slider-horiz.png" + border = { 2, 2, 2, 2 } + stretch = TRUE + orientation = HORIZONTAL + } + image + { + function = SLIDER + recolorable = TRUE + state = ACTIVE + shadow = IN + file = "Scrollbars/slider-horiz.png" + border = { 2, 2, 2, 2 } + stretch = TRUE + orientation = HORIZONTAL + + } + image + { + function = SLIDER + recolorable = TRUE + state = PRELIGHT + file = "Scrollbars/slider-horiz-prelight.png" + border = { 2, 2, 2, 2 } + stretch = TRUE + orientation = HORIZONTAL + + } + image + { + function = SLIDER + recolorable = TRUE + state = INSENSITIVE + file = "Scrollbars/slider-horiz-insens.png" + border = { 2, 2, 2, 2 } + stretch = TRUE + orientation = HORIZONTAL + + } + +#############x verticals################xx + + image + { + function = SLIDER + recolorable = TRUE + state = NORMAL + file = "Scrollbars/slider-vert.png" + border = { 2, 2, 2, 2 } + stretch = TRUE + orientation = VERTICAL + + } + image + { + function = SLIDER + recolorable = TRUE + state = ACTIVE + shadow = IN + file = "Scrollbars/slider-vert.png" + border = { 2, 2, 2, 2 } + stretch = TRUE + orientation = VERTICAL + + } + image + { + function = SLIDER + recolorable = TRUE + state = PRELIGHT + file = "Scrollbars/slider-vert-prelight.png" + border = { 2, 2, 2, 2 } + stretch = TRUE + orientation = VERTICAL + + } + image + { + function = SLIDER + recolorable = TRUE + state = INSENSITIVE + file = "Scrollbars/slider-vert-insens.png" + border = { 2, 2, 2, 2 } + stretch = TRUE + orientation = VERTICAL + + } + +###########x END SLIDERS ##################x + +########### Steppers ###################### +#### UP ####### + image + { + function = STEPPER + recolorable = TRUE + state = NORMAL + file = "Scrollbars/stepper-up.png" + stretch = TRUE + arrow_direction = UP + } + image + { + function = STEPPER + recolorable = TRUE + state = PRELIGHT + file = "Scrollbars/stepper-up-prelight.png" + stretch = TRUE + arrow_direction = UP + } + image + { + function = STEPPER + recolorable = TRUE + state = ACTIVE + file = "Scrollbars/stepper-up-prelight.png" + stretch = TRUE + arrow_direction = UP + } + image + { + function = STEPPER + recolorable = TRUE + state = INSENSITIVE + file = "Scrollbars/stepper-up-insens.png" + stretch = TRUE + arrow_direction = UP + } + + ######### DOWN ############ + + image + { + function = STEPPER + recolorable = TRUE + state = NORMAL + file = "Scrollbars/stepper-down.png" + stretch = TRUE + arrow_direction = DOWN + } + image + { + function = STEPPER + recolorable = TRUE + state = PRELIGHT + file = "Scrollbars/stepper-down-prelight.png" + stretch = TRUE + arrow_direction = DOWN + } + image + { + function = STEPPER + recolorable = TRUE + state = ACTIVE + file = "Scrollbars/stepper-down-prelight.png" + stretch = TRUE + arrow_direction = DOWN + } + image + { + function = STEPPER + recolorable = TRUE + state = INSENSITIVE + file = "Scrollbars/stepper-down-insens.png" + stretch = TRUE + arrow_direction = DOWN + } + +############ RIGHT ################ + + image + { + function = STEPPER + recolorable = TRUE + state = NORMAL + file = "Scrollbars/stepper-right.png" + stretch = TRUE + arrow_direction = RIGHT + } + image + { + function = STEPPER + recolorable = TRUE + state = PRELIGHT + file = "Scrollbars/stepper-right-prelight.png" + stretch = TRUE + arrow_direction = RIGHT + } + image + { + function = STEPPER + recolorable = TRUE + state = ACTIVE + file = "Scrollbars/stepper-right-prelight.png" + stretch = TRUE + arrow_direction = RIGHT + } + image + { + function = STEPPER + recolorable = TRUE + state = INSENSITIVE + file = "Scrollbars/stepper-right-insens.png" + stretch = TRUE + arrow_direction = RIGHT + } + +############### LEFT ################### + + image + { + function = STEPPER + recolorable = TRUE + state = NORMAL + file = "Scrollbars/stepper-left.png" + stretch = TRUE + arrow_direction = LEFT + } + image + { + function = STEPPER + recolorable = TRUE + state = PRELIGHT + file = "Scrollbars/stepper-left-prelight.png" + stretch = TRUE + arrow_direction = LEFT + } + image + { + function = STEPPER + recolorable = TRUE + state = ACTIVE + file = "Scrollbars/stepper-left-prelight.png" + stretch = TRUE + arrow_direction = LEFT + } + image + { + function = STEPPER + recolorable = TRUE + state = INSENSITIVE + file = "Scrollbars/stepper-left-insens.png" + stretch = TRUE + arrow_direction = LEFT + } + } +} + +##################### PROGRESSBAR ###################x + +style "progressbar" { + + fg[PRELIGHT] = "#222222" + + xthickness = 4 + ythickness = 4 + + engine "pixmap" + { + image + { + function = BOX + detail = "trough" + file = "ProgressBar/trough-progressbar-horiz.png" + border = { 8, 8, 4, 4 } + stretch = TRUE + orientation = HORIZONTAL + } + image + { + function = BOX + detail = "trough" + file = "ProgressBar/trough-progressbar-vert.png" + border = { 4, 4, 8, 8 } + stretch = TRUE + orientation = VERTICAL + } + image + { + function = BOX + detail = "bar" + file = "ProgressBar/progressbar-horiz.png" + border = { 2, 2, 2, 2 } + stretch = FALSE + orientation = HORIZONTAL + } + image + { + function = BOX + detail = "bar" + file = "ProgressBar/progressbar-vert.png" + border = { 2, 2, 2, 2 } + stretch = FALSE + orientation = VERTICAL + } + } +} + + + +############################# RANGE ####################### + +style "range" = "default" +{ + engine "pixmap" + { + image + { + function = BOX + recolorable = FALSE + detail = "trough" + file = "Range/trough-horizontal.png" + border = { 10, 10, 1, 19 } + stretch = TRUE + orientation = HORIZONTAL + } + image + { + function = BOX + recolorable = FALSE + detail = "trough" + file = "Range/trough-vertical.png" + border = { 0, 19, 10, 10 } + stretch = TRUE + orientation = VERTICAL + } + + image + { + function = SLIDER + recolorable = FALSE + state = NORMAL + file = "Range/null.png" + border = { 0, 0, 0, 0 } + stretch = TRUE + overlay_file = "Range/slider-horiz.png" + overlay_stretch = FALSE + orientation = HORIZONTAL + } + image + { + function = SLIDER + recolorable = FALSE + state = PRELIGHT + file = "Range/null.png" + border = { 0, 0, 0, 0 } + stretch = TRUE + overlay_file = "Range/slider-horiz-pre.png" + overlay_stretch = FALSE + orientation = HORIZONTAL + } + image + { + function = SLIDER + recolorable = FALSE + state = INSENSITIVE + file = "Range/null.png" + border = { 0, 0, 0, 0 } + stretch = TRUE + overlay_file = "Range/slider-horiz.png" + overlay_stretch = FALSE + orientation = HORIZONTAL + } + + image + { + function = SLIDER + recolorable = FALSE + state = NORMAL + file = "Range/null.png" + border = { 0, 0, 0, 0 } + stretch = TRUE + overlay_file = "Range/slider-vert.png" + overlay_stretch = FALSE + orientation = VERTICAL + } + image + { + function = SLIDER + recolorable = FALSE + state = PRELIGHT + file = "Range/null.png" + border = { 0, 0, 0, 0 } + stretch = TRUE + overlay_file = "Range/slider-vert-pre.png" + overlay_stretch = FALSE + orientation = VERTICAL + } + image + { + function = SLIDER + recolorable = FALSE + state = INSENSITIVE + file = "Range/null.png" + border = { 0, 0, 0, 0 } + stretch = TRUE + overlay_file = "Range/slider-vert.png" + overlay_stretch = FALSE + orientation = VERTICAL + } + } +} + +################### TOOLBAR ########################### + +style "toolbar" +{ + engine "pixmap" + { + image + { + function = BOX + file = "Others/null.png" + border = { 4, 4, 4, 4} + stretch = TRUE + } + } +} +widget_class "*BonoboDockItem" style "toolbar" +class "*BonoboDockItem" style "toolbar" + +widget_class "*HandleBox" style "toolbar" +class "*HandleBox" style "toolbar" + +widget_class "*Toolbar" style "toolbar" +class "*Toolbar" style "toolbar" + +##################### TOOLBAR BUTTONS ############################### + +style "toolbuttons" = "default" +{ + xthickness = 1 + ythickness = 1 + GtkWidget::focus_padding = 2 + + engine "pixmap" { + +image + { + function = BOX + recolorable = TRUE + state = NORMAL + file = "Toolbar/toolbutton-normal.png" + border = { 5, 5, 5, 5 } + stretch = TRUE + } +image + { + function = BOX + recolorable = TRUE + state = PRELIGHT + file = "Toolbar/toolbutton-prelight.png" + border = { 5, 5, 5, 5 } + stretch = TRUE + } +image + { + function = BOX + recolorable = TRUE + state = ACTIVE + file = "Toolbar/toolbutton-pressed.png" + border = { 5, 5, 5, 5 } + stretch = TRUE + } +image + { + function = BOX + recolorable = TRUE + state = INSENSITIVE + file = "Toolbar/toolbutton-normal.png" + border = { 5, 5, 5, 5 } + stretch = TRUE + } + } +} +widget_class "*Tool*GtkToggleButton" style "toolbuttons" +widget_class "*Tool*GtkButton" style "toolbuttons" + +################### PANEL GRAPHICS ################################# +################### MENU ################################# + +style "menu" = "default" +{ +xthickness = 3 +ythickness = 1 + + engine "pixmap" + { + image + { + function = BOX + recolorable = TRUE + detail = "menu" + file = "Menu-Menubar/menu.png" + border = { 34, 3, 3, 3 } + stretch = TRUE + } + } +} + +########################### Menuitem ############################# +style "menuitem" = "default" +{ + xthickness = 1 + fg[PRELIGHT] = "#272727" + + + engine "pixmap" + { + image + { + function = BOX + recolorable = TRUE + file = "Menu-Menubar/menuitem.png" + border = { 10, 10, 10, 10 } + stretch = TRUE + } + image + { + function = ARROW + recolorable = TRUE + state = NORMAL + overlay_file = "Arrows/arrow-right-norm.png" + overlay_stretch = FALSE + arrow_direction = RIGHT + } + image + { + function = ARROW + recolorable = TRUE + state = PRELIGHT + overlay_file = "Arrows/arrow-right-prelight.png" + overlay_stretch = FALSE + arrow_direction = RIGHT + } + } +} + + +style "tearoffmenuitem" = "menuitem" +{ + engine "pixmap" + { + image + { + function = ARROW + file = "Arrows/arrow-left.png" + stretch = TRUE + arrow_direction = LEFT + } + } +} + +style "notebook" = "default" +{ + + xthickness = 2 + ythickness = 2 + engine "pixmap" + { + image + { + function = EXTENSION + recolorable = TRUE + state = ACTIVE + file = "Tabs/tab-bottom.png" + border = { 4,4,4,4} + stretch = TRUE + gap_side = TOP + } + image + { + function = EXTENSION + recolorable = TRUE + state = ACTIVE + file = "Tabs/tab-top.png" + border = { 4,4,4,4} + stretch = TRUE + gap_side = BOTTOM + } + image + { + function = EXTENSION + recolorable = TRUE + state = ACTIVE + file = "Tabs/tab-left.png" + border = { 4,4,4,4} + stretch = TRUE + gap_side = RIGHT + } + image + { + function = EXTENSION + recolorable = TRUE + state = ACTIVE + file = "Tabs/tab-right.png" + border = { 4,4,4,4} + stretch = TRUE + gap_side = LEFT + } + image + { + function = EXTENSION + recolorable = TRUE + file = "Tabs/tab-top-active.png" + border = { 4,4,4,4} + stretch = TRUE + gap_side = BOTTOM + } + image + { + function = EXTENSION + recolorable = TRUE + file = "Tabs/tab-bottom-active.png" + border = { 4,4,4,4} + stretch = TRUE + gap_side = TOP + } + image + { + function = EXTENSION + recolorable = TRUE + file = "Tabs/tab-left-active.png" + border = { 4,4,4,4} + stretch = TRUE + gap_side = RIGHT + } + image + { + function = EXTENSION + recolorable = TRUE + file = "Tabs/tab-right-active.png" + border = { 4,4,4,4} + stretch = TRUE + gap_side = LEFT + } + +# How to draw boxes with a gap on one side (ie the page of a notebook) + + image + { + function = BOX_GAP + recolorable = TRUE + file = "Tabs/notebook.png" + border = { 5, 5, 5, 5 } + stretch = TRUE + gap_file = "Tabs/gap-top.png" + gap_border = { 5, 5, 5, 5 } + gap_start_file = "Others/null.png" + gap_start_border = { 0, 0, 0, 0 } + gap_end_file = "Others/null.png" + gap_end_border = { 0, 0, 0, 0 } + gap_side = TOP + } + image + { + function = BOX_GAP + recolorable = TRUE + file = "Tabs/notebook.png" + border = { 5, 5, 5, 5 } + stretch = TRUE + gap_file = "Tabs/gap-bottom.png" + gap_border = { 5, 5, 5, 5 } + gap_start_file = "Others/null.png" + gap_start_border = { 0, 0, 0, 0 } + gap_end_file = "Others/null.png" + gap_end_border = { 0, 0, 0, 0 } + gap_side = BOTTOM + } + image + { + function = BOX_GAP + recolorable = TRUE + file = "Tabs/notebook.png" + border = { 5, 5, 5, 5 } + stretch = TRUE + gap_file = "Tabs/gap-left.png" + gap_border = { 5, 5, 5, 5 } + gap_start_file = "Others/null.png" + gap_start_border = { 0, 0, 0, 0 } + gap_end_file = "Others/null.png" + gap_end_border = { 0, 0, 0, 0 } + gap_side = LEFT + } + image + { + function = BOX_GAP + recolorable = TRUE + file = "Tabs/notebook.png" + border = { 5, 5, 5, 5 } + stretch = TRUE + gap_file = "Tabs/gap-right.png" + gap_border = { 5, 5, 5, 5 } + gap_start_file = "Others/null.png" + gap_start_border = { 0, 0, 0, 0 } + gap_end_file = "Others/null.png" + gap_end_border = { 0, 0, 0, 0 } + gap_side = RIGHT + } + +# How to draw the box of a notebook when it isnt attached to a tab + + image + { + function = BOX + recolorable = TRUE + file = "Tabs/notebook.png" + border = { 6,6,6,6 } + stretch = TRUE + } + } +} + +style "tooltips" = "default" +{ + bg[NORMAL] = "#ffffff" +} + +##################### RULER ################## + +style "ruler" = "default" +{ + engine "pixmap" + { + image + { + function = BOX + recolorable = TRUE + detail = "vruler" + file = "Others/ruler.png" + border = { 2, 2, 2, 2 } + stretch = TRUE + } + image + { + function = BOX + recolorable = TRUE + detail = "hruler" + file = "Others/ruler.png" + border = { 2, 2, 2, 2 } + stretch = TRUE + } + } +} + +################# HANDLES ###################x + + +style "handlebox" = "default" +{ + engine "pixmap" + { + image + { + function = HANDLE + recolorable = TRUE + overlay_file = "Others/null.png" +# overlay_file = "Handles/handle-v.png" + overlay_stretch = FALSE + orientation = VERTICAL + } + image + { + function = HANDLE + overlay_file = "Others/null.png" +# overlay_file = "Handles/handle-h.png" + overlay_stretch = FALSE + orientation = HORIZONTAL + } + } +} + +style "flat" = "default" +{ + engine "pixmap" + { + image + { + function = SHADOW + } + } +} + +style "layout" = "default" +{ + engine "pixmap" + { + image + { + function = SHADOW + detail = "entry" + shadow = IN + recolorable = FALSE + file = "Shadows/text.png" + border = { 1, 1, 1, 1 } + stretch = TRUE + } + image + { + function = BOX + detail = "button" + state = NORMAL + file = "Buttons/button-normal.png" + recolorable = TRUE + border = { 2, 3, 2, 3 } + stretch = TRUE + } + } +} + +##################### STATUSBAR ############################### + +style "statusbar" = "default" +{ + +# xthickness = 1 +# ythickness = 1 + + engine "pixmap" + { + image + { + function = RESIZE_GRIP + recolorable = TRUE + #state = NORMAL + detail = "statusbar" + overlay_file = "Handles/resize-grip.png" + + overlay_border = {0,0,0,0 } + overlay_stretch = FALSE + } + } +} + +# This prevents Sodipodi from crashing while opening the +# Object-Style dialog. + +style "unstyle" +{ + engine "" + { + } +} + +# recognizable pressed toggle buttons +# SPIcons seem to erase the background first. That's why I can't use +# the button style. + +style "SPbutton" +{ + engine "pixmap" + { + image + { + function = BOX + shadow = IN + recolorable = TRUE + file = "Shadows/shadow-out.png" + border = { 2, 2, 2, 2 } + stretch = TRUE + } + image + { + function = BOX + } + } +} + + +# widget styles + +class "GtkButton" style "button" +class "GtkRadioButton" style "radiobutton" +class "GtkRadioMenuItem" style "radiobutton" +class "GtkCheckButton" style "checkbutton" +class "GtkCheckMenuItem" style "checkbutton" +class "GtkOptionMenu" style "optionmenu" +class "GtkCombo*" style "optionmenu" +class "*Font*" style "optionmenu" +class "GtkEntry" style "entry" +class "GtkOldEditable" style "entry" +class "GtkSpinButton" style "spinbutton" +class "GtkRuler" style "ruler" +class "GtkScrollbar" style "scrollbar" +class "GtkStatusbar" style "statusbar" +class "GtkProgressBar" style "progressbar" +class "GtkRange" style "range" +class "GtkMenu" style "menu" +class "GtkMenuBar*" style "menubar" +widget_class "*MenuBar.*" style "menubar" +widget_class "*.<MenuItem>." style "menuitem" +class "GtkMenuItem" style "menuitem" +class "GtkTearoffMenuItem" style "menuitem" +class "GtkNotebook" style "notebook" +class "GtkToolbar" style "flat" +class "GtkHandleBox" style "handlebox" +class "GtkEventBox" style "flat" +class "GtkPaned" style "handlebox" +class "GtkLayout" style "layout" +class "SPButton" style "SPbutton" +widget "gtk-tooltips" style "tooltips" + +# prevent Sodipodi from crashing +class "SPColorSlider" style "unstyle" + diff --git a/.themes/Orange/gtk-2.0/menubar.rc b/.themes/Orange/gtk-2.0/menubar.rc @@ -0,0 +1,52 @@ +#################### MENUBAR ################### + + +style "menubar" + +{ + xthickness = 1 + ythickness = 2 + + engine "pixmap" + { + image + { + function = BOX + state = NORMAL + file = "Others/null.png" + border = { 2, 2, 2, 2 } + stretch = TRUE + } + + image + { + function = BOX + state = ACTIVE + file = "Others/null.png" + border = { 2, 2, 2, 2 } + stretch = TRUE + } + + image + { + function = BOX + state = INSENSITIVE + file = "Others/null.png" + border = { 2, 2, 2, 2 } + stretch = TRUE + } + + image + { + function = BOX + recolorable = TRUE + state = PRELIGHT + file = "Menu-Menubar/menubar-item.png" + + border = { 10, 10, 10, 10 } + stretch = TRUE + } + + } +} + diff --git a/.themes/Orange/gtk-2.0/panel.rc b/.themes/Orange/gtk-2.0/panel.rc @@ -0,0 +1,240 @@ + +style "panel" +{ + +xthickness = 0 +ythickness = 0 + + + fg[NORMAL] = "#cbcbcb" # Metacity and mouseover, Most text + fg[ACTIVE] = "#f55730" # Text when mouseclicking button, Tabs, Active window list + fg[PRELIGHT] = "#c9e77e" # Text when mouseover + fg[SELECTED] = "#f55730" # Metacity X when window selected + fg[INSENSITIVE] = "#cbcbcb # Insensitive Text + + + bg_pixmap[NORMAL] = "Panel/panel-bg.png" +# bg_pixmap[ACTIVE] = "Panel/panel-bg-active.png" +# bg_pixmap[SELECTED] = "Panel/panel-bg-active.png" +# bg_pixmap[INSENSITIVE] = "Panel/panel-bg.png" +# bg_pixmap[PRELIGHT] = "Panel/panel-bg.png" +} + +widget_class "*Panel*" style "panel" +widget_class "*notif*" style "panel" +widget_class "*Notif*" style "panel" +widget_class "*Tray*" style "panel" +widget_class "*tray*" style "panel" + + +############################################################# + + +style "panelbar" +{ +engine "pixmap" +{ + image + { + function = BOX + state = NORMAL + file = "Panel/panel-bg.png" + border = { 0 , 0 , 0 , 0} + stretch = TRUE + } + + + image + { + function = BOX + state = ACTIVE + file = "Panel/panel-bg.png" + border = { 0 , 0 , 0 , 0} + stretch = TRUE + } + + image + { + function = BOX + state = SELECTED + file = "Panel/panel-bg.png" + border = { 0 , 0 , 0 , 0} + stretch = TRUE + } + + + image + { + function = BOX + state = INSENSITIVE + file = "Panel/panel-bg.png" + border = { 0 , 0 , 0 , 0} + stretch = FALSE + } + + + image + { + function = BOX + state = PRELIGHT + recolorable = TRUE + file = "Menu-Menubar/menubar-item.png" + border = { 4 , 4 , 4 , 4} + stretch = TRUE + } + +} + +} + +widget_class "*Panel*MenuBar*" style "panelbar" + +############################################################# + +style "panelbuttons" +{ + + xthickness = 2 + ythickness = 1 + + GtkWidget::focus_padding = 2 + + engine "pixmap" { + + image + { + function = BOX + recolorable = TRUE + state = NORMAL + file = "Panel/panelbutton1.png" + border = { 4, 4, 4, 4 } + stretch = TRUE + } + + image + { + function = BOX + recolorable = TRUE + state = PRELIGHT + file = "Panel/panelbutton1.png" + border = { 4, 4, 4, 4 } + stretch = TRUE + } + + image + { + function = BOX + recolorable = TRUE + shadow = OUT + state = PRELIGHT + file = "Panel/panelbutton1.png" + border = { 4, 4, 4, 4 } + stretch = TRUE + #overlay_file = "panelbutton1.png" + #overlay_border = { 4, 4, 4, 4 } + #overlay_stretch = TRUE + } + + image + { + function = BOX + recolorable = TRUE + shadow = IN + state = PRELIGHT + file = "Panel/panelbutton1.png" + border = { 4, 4, 4, 4 } + stretch = TRUE + #overlay_file = "panelbutton1.png" + #overlay_border = { 4, 4, 4, 4 } + #overlay_stretch = TRUE + } + + image + { + function = BOX + recolorable = TRUE + state = ACTIVE + file = "Panel/panel-bg-active.png" + border = { 4, 4, 4, 4 } + stretch = TRUE + } + image + { + function = BOX + recolorable = TRUE + state = INSENSITIVE + file = "Panel/panelbutton1.png" + border = { 4, 4, 4, 4 } + stretch = TRUE + } + image + { + function = HANDLE + recolorable = TRUE + overlay_file = "Panel/handle-v.png" + overlay_stretch = FALSE + orientation = VERTICAL + } + image + { + function = HANDLE + overlay_file = "Panel/handle-h.png" + overlay_stretch = FALSE + orientation = HORIZONTAL + } + + } + +} + + +############################################################# + +widget_class "*Mail*" style "panel" +widget_class "*notif*" style "panel" +widget_class "*Notif*" style "panel" +widget_class "*Tray*" style "panel" +widget_class "*tray*" style "panel" +widget "*TrayIcon*" style "panel" + +widget_class "*Panel*GtkToggleButton" style "panel" +widget_class "*Panel*GtkButton" style "panel" +widget_class "*.Panel*Button*GtkLabel" style "panel" +widget_class "*.Panel*GtkLabel" style "panel" +widget "*PanelWidget*" style "panel" +widget "*PanelApplet*" style "panel" + + + +widget_class "*Netstatus*" style "panel" +widget_class "*Tomboy*Tray*" style "panel" +widget "*fast-user-switch*" style "panel" +widget_class "*PanelToplevel*" style "panel" +class "Xfce*Panel*" style "panel" +widget_class "*Xfce*Panel*" style "panel" +widget_class "*PanelApplet*" style "panel" +widget_class "*PanelWidget*" style "panel" + + +widget_class "*Panel*GtkToggleButton" style "panelbuttons" +widget "*.tasklist-button" style "panelbuttons" + +widget_class "*PanelToplevel*Button" style "panelbuttons" +widget_class "*Xfce*Panel*.GtkToggleButton" style "panelbuttons" +widget_class "*Xfce*NetkTasklist*GtkToggleButton" style "panelbuttons" + +############################################################# +#FIXES THE STANDARD SHUTDOWN-DIALOG ON GNOME +############################################################# + +style "fix" +{ +xthickness = 0 +ythickness = 0 + + bg[NORMAL] = "#ffffff" +} + +class "*Panel*" style "fix" + +############################################################# diff --git a/.tmux.conf b/.tmux.conf @@ -0,0 +1,104 @@ +# +# author : Xu Xiaodong <[email protected]> +# modified : 2012 May 18 +# + +#-- base --# +set -g default-terminal "screen-256color" +set -g display-time 3000 +set -g history-limit 65535 +set -g base-index 1 +set -g pane-base-index 1 +set -s escape-time 0 + +#-- bindkeys --# +set -g prefix ^a +unbind ^b +bind a send-prefix + +unbind '"' +bind - splitw -v +unbind % +bind | splitw -h + +bind k selectp -U +bind j selectp -D +bind h selectp -L +bind l selectp -R + +bind ^k resizep -U 10 +bind ^j resizep -D 10 +bind ^h resizep -L 10 +bind ^l resizep -R 10 + +bind ^u swapp -U +bind ^d swapp -D + +bind ^e last +bind q killp + +bind ! splitw htop +bind m command-prompt "splitw 'exec man %%'" +bind @ command-prompt "splitw 'exec perldoc -t -f %%'" +bind * command-prompt "splitw 'exec perldoc -t -v %%'" +bind % command-prompt "splitw 'exec perldoc -t %%'" +bind / command-prompt "splitw 'exec ri -T %% | less'" + +#-- statusbar --# +set -g status-utf8 on +set -g status-interval 1 +set -g status-keys vi + +setw -g mode-keys vi +setw -g automatic-rename off + +#-- colorscheme --# +# see also: https://github.com/daethorian/conf-tmux/blob/master/colors/zenburn.conf + +# modes +setw -g clock-mode-colour colour223 +setw -g mode-attr bold +setw -g mode-fg colour223 +setw -g mode-bg colour235 + +# panes +set -g pane-border-bg colour234 +set -g pane-border-fg colour234 +set -g pane-active-border-bg colour232 +set -g pane-active-border-fg colour232 + +# statusbar +set -g status-justify centre +set -g status-bg colour235 +set -g status-fg colour248 +set -g status-attr dim +set -g status-left "#[fg=colour187]#S #[default]• #[fg=colour187]w#I.p#P#[default]" +set -g status-left-attr bright +set -g status-left-length 20 +set -g status-right "#[fg=colour174]#(/home/xiaodong/bin/uptime) #[default]• #[fg=colour174]#(cut -d ' ' -f 1-3 /proc/loadavg)" +set -g status-right-attr bright +set -g status-right-length 80 + +setw -g window-status-current-fg colour223 +setw -g window-status-current-bg colour237 +setw -g window-status-current-attr bold +setw -g window-status-current-format '#I:#W#F' + +#setw -g window-status-alert-attr bold +#setw -g window-status-alert-fg colour255 +#setw -g window-status-alert-bg colour160 + +# messages +set -g message-attr bold +set -g message-fg colour223 +set -g message-bg colour235 + +#-- apps --# +new -s codefun vim + +neww -n mutt mutt +neww -n irssi irssi +neww -n cmus cmus +neww -n zsh zsh + +selectw -t 5 diff --git a/.xinitrc b/.xinitrc @@ -0,0 +1,25 @@ +#!/bin/sh +# +# author : Xu Xiaodong <[email protected]> +# modified : 2012 May 18 +# + +#-- powersave --# +xset +dpms +xset dpms 0 0 300 + +#-- ime --# +export XMODIFIERS="@im=fcitx" +export GTK_IM_MODULE=xim +fcitx & + +#-- app --# +unclutter -idle 5 & # hide mouse cursor +syndaemon -t -k -i 2 -d & # disable trackpad while typing +urxvtd -q -f -o # urxvt daemon +(sleep 2 && bar) & # status bar +eval $(cat ~/.fehbg) # set wallpaper +urxvtc -e tmux att & # start tmux + +#-- wm --# +exec dwm diff --git a/.xmodmaprc b/.xmodmaprc @@ -0,0 +1,13 @@ +! +! author: Xu Xiaodong <[email protected]> +! modified: 2012 May 13 +! + +!-- swap Caps_Lock and Control_L¬--! + +clear Lock +remove Control = Control_L +keycode 0x37 = Caps_Lock +keycode 0x66 = Control_L +add Lock = Caps_Lock +add Control = Control_L diff --git a/.zathurarc b/.zathurarc @@ -0,0 +1,12 @@ +# +# author: Xu Xiaodong <[email protected]> +# modified: 2011 Apr 14 +# + +#-- hide inputbar --# + +set show_inputbar 0 + +#-- bindkey --# + +map q quit diff --git a/.zprofile b/.zprofile @@ -0,0 +1,15 @@ +# +# author: Xu Xiaodong <[email protected]> +# modified: 2011 Apr 17 +# + +#-- source --# + +. $HOME/.zshrc + +#-- auto start x --# + +if [[ -z "$DISPLAY" ]] && [[ $(tty) = /dev/tty1 ]]; then + startx + logout +fi diff --git a/.zsh/alias.zsh b/.zsh/alias.zsh @@ -0,0 +1,41 @@ +# +# author: Xu Xiaodong <[email protected]> +# modified: 2012 Mar 19 +# + +#-- base --# + +alias cp='cp -v' +alias mv='mv -v' +alias rm='rm -v' +alias ls='ls -F --color=auto' +alias lh='ls -lsh' +alias lo="ls -a | grep '^\.'" +alias df='df -h' +alias du='du -h' + +alias less=$PAGER +alias grep='grep --color=auto' +alias smtp='/usr/sbin/ssmtp -C.ssmtp/ssmtp.conf -oA.ssmtp/revaliases' + +#-- perl --# + +alias pd='perldoc -t' +alias pf='perldoc -t -f' +alias pv='perldoc -t -v' +alias pw="perl -le 'print map { chr rand(94) + 33 } 1..5'" + +#-- mplayer --# + +alias cam='mplayer tv:// -tv driver=v4l2:width=640:height=480:outfmt=rgb24:device=/dev/video0' +alias rca='mencoder tv:// -tv driver=v4l2:width=320:height=240:device=/dev/video0 -nosound -ovc lavc -o demo.avi' + +#-- vbox --# + +alias vu='VBoxManage startvm Ubuntu --type sdl' +alias vw='VBoxManage startvm WinXP --type sdl' + +#-- octopress --# +alias pn='new() { bundle exec rake new_post\["$1"\] }; new' +alias pc='commit() { git add .; git commit -m "$1"; git push origin source }; commit' +alias pg='bundle exec rake generate; bundle exec rake deploy' diff --git a/.zsh/base.zsh b/.zsh/base.zsh @@ -0,0 +1,8 @@ +# +# author: Xu Xiaodong <[email protected]> +# modified: 2012 Jan 09 +# + +#-- base --# + +setopt nocorrectall diff --git a/.zsh/colorscheme.zsh b/.zsh/colorscheme.zsh @@ -0,0 +1,28 @@ +# +# author: Xu Xiaodong <[email protected]> +# modified: 2011 Apr 13 +# + +#-- zenburn for the Linux console --# + +if [ "$TERM" = "linux" ]; then + #3f3f3f is problematic on a non-256color terminal + echo -en "\e]P01e2320" #zen-black (norm. black) + echo -en "\e]P8709080" #zen-bright-black (norm. darkgrey) + echo -en "\e]P1705050" #zen-red (norm. darkred) + echo -en "\e]P9dca3a3" #zen-bright-red (norm. red) + echo -en "\e]P260b48a" #zen-green (norm. darkgreen) + echo -en "\e]PAc3bf9f" #zen-bright-green (norm. green) + echo -en "\e]P3dfaf8f" #zen-yellow (norm. brown) + echo -en "\e]PBf0dfaf" #zen-bright-yellow (norm. yellow) + echo -en "\e]P4506070" #zen-blue (norm. darkblue) + echo -en "\e]PC94bff3" #zen-bright-blue (norm. blue) + echo -en "\e]P5dc8cc3" #zen-purple (norm. darkmagenta) + echo -en "\e]PDec93d3" #zen-bright-purple (norm. magenta) + echo -en "\e]P68cd0d3" #zen-cyan (norm. darkcyan) + echo -en "\e]PE93e0e3" #zen-bright-cyan (norm. cyan) + echo -en "\e]P7dcdccc" #zen-white (norm. lightgrey) + echo -en "\e]PFffffff" #zen-bright-white (norm. white) + # avoid artefacts + clear +fi diff --git a/.zsh/export.zsh b/.zsh/export.zsh @@ -0,0 +1,21 @@ +# +# author: Xu Xiaodong <[email protected]> +# modified: 2011 Apr 18 +# + +#-- path --# + +export PATH=/usr/libexec/cw:$PATH:$HOME/bin:$HOME/.vim/bundle/perlomni/bin + +#-- pager --# + +export PAGER=vimpager + +#-- fx --# + +export MOZ_DISABLE_PANGO=1 + +#-- java --# + +export AWT_TOOLKIT=MToolkit +export LIBXCB_ALLOW_SLOPPY_LOCK=1 diff --git a/.zsh/history.zsh b/.zsh/history.zsh @@ -0,0 +1,15 @@ +# +# author: Xu Xiaodong <[email protected]> +# modified: 2011 Apr 13 +# + +#-- export --# + +export HISTSIZE=10000 +export SAVEHIST=10000 +export HISTFILE=~/.zhistory + +#-- option --# + +setopt INC_APPEND_HISTORY +setopt hist_ignore_space diff --git a/.zsh/key.zsh b/.zsh/key.zsh @@ -0,0 +1,14 @@ +# +# author: Xu Xiaodong <[email protected]> +# modified: 2011 Apr 13 +# + +#-- mode --# + +set -o emacs + +#-- bind --# + +bindkey "\e[3~" delete-char +bindkey '\C-w' kill-region +bindkey -s '\C-xp' 'mplayer ' diff --git a/.zshrc b/.zshrc @@ -0,0 +1,28 @@ +# +# author: Xu Xiaodong <[email protected]> +# modified: 2012 May 19 +# + +#-- path --# + +export ZSH=$HOME/code/oh-my-zsh + +#-- theme --# + +export ZSH_THEME="prose" + +#-- plugin --# + +plugins=(git) + +#-- title --# + +export DISABLE_AUTO_TITLE="true" + +#-- update --# + +export DISABLE_AUTO_UPDATE="true" + +#-- source --# + +source $ZSH/oh-my-zsh.sh diff --git a/README.md b/README.md @@ -0,0 +1,13 @@ +About +----- + +A simple dotfile manager. + +Installation +------------ + + git clone git://github.com/xuxiaodong/dotman.git + +Usage +----- + diff --git a/dotman b/dotman @@ -0,0 +1,102 @@ +#!/usr/bin/env perl +# +# name : dotman, a simple dotfile manager +# author : Xu Xiaodong <[email protected]> +# license : GPL +# created : 2011 Apr 14 +# modified : 2012 May 19 +# + +use strict; +use warnings; +use feature qw(say); +use FindBin qw($Bin); +use File::Copy::Recursive qw(rmove); +use Getopt::Long; + +# Command line options +my ( $add, $setup, $help ) = (0) x 3; + +GetOptions( + 'a|add' => \$add, + 's|setup' => \$setup, + 'h|help' => \$help, +); + +# Dot files +my @dots = qw( + bashrc + conkyrc + dico + fonts.conf + gtkrc-2.0 + gtkrc.mine + irbrc + mplayer + pentadactyl + pentadactylrc + perltidyrc + rtorrent.rc + themes + tmux.conf + Xdefaults + Xdefaults.d + xinitrc + xmodmaprc + zathurarc + zprofile + zshrc +); + +# Process options +if ($add) { + for my $dot (@dots) { + my $orig_file = "$ENV{HOME}/.$dot"; + add($orig_file) unless -l $orig_file; + } +} + +if ($setup) { + for my $dot (@dots) { + my $new_file = ".$dot"; + setup($new_file); + } +} + +if ( $help || @ARGV == 0 ) { + say <<"USAGE"; +Usage: $0 -a [-s] [-h] + +Options: + -a, --add add dot files + -s, --setup setup dot files + -h, --help show help +USAGE +} + +# Add dot files +sub add { + my ($file) = @_; + my $desc = $Bin; + + local $File::Copy::Recursive::CPRFComp = 1; + + say "Moving $file to $desc"; + rmove( $file, $desc ); +} + +# Setup dot files +sub setup { + my ($file) = @_; + my $path = "$Bin/$file"; + + chdir $ENV{HOME}; + + my $symlink_exist = eval { symlink $path, $file }; + + if ($symlink_exist) { + say "Symlinking $path to $file"; + } +} + +# vim: ai:et:ts=2:sw=2:tw=78:ft=perl