diff --git a/README.md b/README.md index d4a6e1d..84e50ba 100644 --- a/README.md +++ b/README.md @@ -5,12 +5,14 @@ Some of using configuration files Description ----------- -* `Bespin` (directory) - settings for [BESpin](http://kde-look.org/content/show.php/Bespin?content=63928). It is stored in `$HOME/.config/`. * `arch_install.sh` - simple script for automatic installation +* `Bespin` (directory) - settings for [BESpin](http://kde-look.org/content/show.php/Bespin?content=63928). It is stored in `$HOME/.config/`. * `awesome` (directory) - settings for Awesome-WM. It is stored in `$HOME/.config/`. * `festival` (directory tree) - settings for festival Russian speaking. * `kbdlayout` (files) - settings for Russian language with layout switching on CapsLock. `20-keyboard.conf` (X11 settings) is stored in `/etc/X11/xorg.conf.d/`. `my.map.gz` (keymap) is stored in `/usr/share/kbd/keymaps/i386/qwerty`. * `kdmrc` - settings for KDM. It is stored as `/usr/share/config/kdm/kdmrc`. +* `local.conf` - custom settings for fontconfig. It is stored as `/etc/fonts/local.conf` +* `qtcurve` (directory) - custom settings for QtCurve (including colors). * `sakura.conf` - settings for [Sakura terminal](https://launchpad.net/sakura). It is stored in `$HOME/.config/sakura/`. * `vimrc` - settings for VIM. It is stored as `$HOME/.vimrc`. * `Xresources` - settings for some Xorg applications (for example, urxvt). It is stored as `$HOME/.Xresources` diff --git a/qtcurve/My.colors b/qtcurve/My.colors new file mode 100644 index 0000000..e5406ef --- /dev/null +++ b/qtcurve/My.colors @@ -0,0 +1,105 @@ +[ColorEffects:Disabled] +Color=56,56,56 +ColorAmount=0 +ColorEffect=0 +ContrastAmount=0.65 +ContrastEffect=1 +IntensityAmount=0.1 +IntensityEffect=2 + +[ColorEffects:Inactive] +ChangeSelectionColor=true +Color=112,111,110 +ColorAmount=0.025 +ColorEffect=2 +ContrastAmount=0.1 +ContrastEffect=2 +Enable=false +IntensityAmount=0 +IntensityEffect=0 + +[Colors:Button] +BackgroundAlternate=229,229,229 +BackgroundNormal=230,230,223 +DecorationFocus=64,115,154 +DecorationHover=85,137,179 +ForegroundActive=239,154,242 +ForegroundInactive=137,136,135 +ForegroundLink=0,87,174 +ForegroundNegative=191,3,3 +ForegroundNeutral=235,129,53 +ForegroundNormal=39,39,39 +ForegroundPositive=0,110,40 +ForegroundVisited=100,74,155 + +[Colors:Selection] +BackgroundAlternate=91,127,204 +BackgroundNormal=215,255,255 +DecorationFocus=82,111,255 +DecorationHover=83,135,255 +ForegroundActive=239,154,242 +ForegroundInactive=37,68,109 +ForegroundLink=0,49,110 +ForegroundNegative=156,14,14 +ForegroundNeutral=255,221,0 +ForegroundNormal=0,0,0 +ForegroundPositive=128,255,128 +ForegroundVisited=69,40,134 + +[Colors:Tooltip] +BackgroundAlternate=255,255,255 +BackgroundNormal=225,225,225 +DecorationFocus=64,115,154 +DecorationHover=85,137,179 +ForegroundActive=239,154,242 +ForegroundInactive=137,136,135 +ForegroundLink=0,87,174 +ForegroundNegative=191,3,3 +ForegroundNeutral=235,129,53 +ForegroundNormal=39,39,39 +ForegroundPositive=32,110,64 +ForegroundVisited=100,74,155 + +[Colors:View] +BackgroundAlternate=239,239,233 +BackgroundNormal=255,255,255 +DecorationFocus=64,115,154 +DecorationHover=85,137,179 +ForegroundActive=239,154,242 +ForegroundInactive=137,136,135 +ForegroundLink=0,87,174 +ForegroundNegative=191,3,3 +ForegroundNeutral=235,129,53 +ForegroundNormal=39,39,39 +ForegroundPositive=0,110,40 +ForegroundVisited=100,74,155 + +[Colors:Window] +BackgroundAlternate=212,212,212 +BackgroundNormal=230,230,223 +DecorationFocus=64,115,154 +DecorationHover=85,137,179 +ForegroundActive=239,154,242 +ForegroundInactive=137,136,135 +ForegroundLink=0,87,174 +ForegroundNegative=191,3,3 +ForegroundNeutral=235,129,53 +ForegroundNormal=39,39,39 +ForegroundPositive=0,110,40 +ForegroundVisited=100,74,155 + +[General] +ColorScheme=my +Name=my +shadeSortColumn=true + +[KDE] +contrast=7 + +[WM] +activeBackground=230,230,223 +activeBlend=242,242,242 +activeForeground=0,0,0 +inactiveBackground=230,230,223 +inactiveBlend=242,242,242 +inactiveForeground=230,230,223 diff --git a/qtcurve/my.qtcurve b/qtcurve/my.qtcurve new file mode 100644 index 0000000..f83466e --- /dev/null +++ b/qtcurve/my.qtcurve @@ -0,0 +1,172 @@ +[ActiveShadows] +ColorType=4 +Size=25 + +[InactiveShadows] +Size=10 +VOffset=0 + +[KWin] +BorderSize=2 +CustomShadows=true +InnerBorder=0 +OpaqueBorder=false +OuterBorder=0 +TitleBarPad=1 + +[Settings] +activeTabAppearance=soft +animatedProgress=false +appearance=agua +bgndAppearance=flat +bgndGrad=horiz +bgndImage=none +bgndOpacity=100 +boldProgress=true +borderInactiveTab=false +borderMenuitems=false +borderProgress=true +borderSbarGroove=true +borderSelection=false +borderTab=true +buttonEffect=shadow +centerTabText=true +colorMenubarMouseOver=true +colorSelTab=0 +colorSliderMouseOver=false +coloredMouseOver=glow +coloredTbarMo=false +comboBtn=selected +comboSplitter=false +crButton=true +crColor=selected +crHighlight=3 +crSize=13 +customAlphas=0 +customMenuNormTextColor=#000000 +customMenuSelTextColor=#000000 +customMenuTextColor=false +customShades=0 +customgradient1=3d,0,1.2,0.5,1,1,1 +customgradient2=3d,0,0.9,0.5,1,1,1 +darkerBorders=false +defBtnIndicator=tint +dlgOpacity=100 +doubleGtkComboArrow=false +drawStatusBarFrames=false +dwtAppearance=customgradient1 +dwtSettings=33 +embolden=false +etchEntry=false +expanderHighlight=3 +fadeLines=true +fillProgress=true +fillSlider=true +flatSbarButtons=true +focus=line +forceAlternateLvCols=false +gbFactor=-3 +gbLabel=1 +glowProgress=none +grooveAppearance=inverted +groupBox=line +gtkButtonOrder=true +gtkComboMenus=false +gtkScrollViews=true +handles=1dot +hideShortcutUnderline=false +highlightFactor=7 +highlightScrollViews=false +highlightTab=false +inactiveTitlebarAppearance=customgradient1 +invertBotTab=true +lighterPopupMenuBgnd=2 +lvAppearance=agua +lvButton=false +lvLines=false +mapKdeIcons=true +menuBgndAppearance=flat +menuBgndGrad=horiz +menuBgndImage=none +menuBgndOpacity=100 +menuDelay=225 +menuIcons=true +menuStripe=none +menuStripeAppearance=darkinverted +menubarAppearance=flat +menubarApps=VirtualBox,smplayer +menubarHiding=0 +menubarMouseOver=true +menuitemAppearance=harsh +noBgndGradientApps= +noBgndImageApps= +noBgndOpacityApps=smplayer,vmplayer,vmware,totem,sonata +noMenuBgndOpacityApps=vmplayer,vmware,gtk,totem,sonata +noMenuStripeApps=soffice.bin,gtk +passwordChar=9679 +popupBorder=true +progressAppearance=agua +progressColor=origselected +progressGrooveAppearance=inverted +progressGrooveColor=dark +reorderGtkButtons=false +round=extra +roundAllTabs=false +roundMbTopOnly=true +sbarBgndAppearance=flat +scrollbarType=kde +selectionAppearance=harsh +shadeCheckRadio=none +shadeMenubarOnlyWhenActive=false +shadeMenubars=none +shadePopupMenu=false +shadeSliders=selected +shading=hsl +sliderAppearance=agua +sliderFill=true +sliderStyle=circular +sliderThumbs=none +sliderWidth=15 +smallRadio=false +sortedLv=none +splitterHighlight=3 +splitters=1dot +square=1536 +statusbarApps=kde +statusbarHiding=0 +stdBtnSizes=true +stdSidebarButtons=false +stripedProgress=diagonal +stripedSbar=false +sunkenAppearance=inverted +tabAppearance=soft +tabBgnd=0 +tabMouseOver=glow +tbarBtnAppearance=none +tbarBtnEffect=none +tbarBtns=standard +thin=1 +thinSbarGroove=true +titlebarAlignment=center-full +titlebarAppearance=customgradient1 +titlebarButtonAppearance=agua +titlebarButtonColors=#D6D5D1,#D6D5D1,#D6D5D1,#D6D5D1,#D6D5D1,#D6D5D1,#D6D5D1,#D6D5D1,#D6D5D1 +titlebarButtons=5717 +titlebarEffect=none +titlebarIcon=none +toolbarAppearance=flat +toolbarBorders=none +toolbarSeparators=sunken +toolbarTabs=false +tooltipAppearance=flat +unifyCombo=true +unifySpin=false +unifySpinBtns=false +useHighlightForMenu=true +useQtFileDialogApps= +vArrows=true +version=1.8.18 +windowBorder=32 +windowDrag=0 +xCheck=true +xbar=false diff --git a/zshrc b/zshrc index 4a198e0..7ec36c2 100644 --- a/zshrc +++ b/zshrc @@ -294,7 +294,7 @@ pack () { # function to contorl xrandr # EXAMPLE: projctl 1024x768 projctl () { - if [ $1 ] ; then + if [ $1 ]; then if [ $1 = "-h" ]; then echo "Usage: projctl [ off/resolution ]" return @@ -313,6 +313,18 @@ projctl () { fi } +twinmon () { + FIRSTMON="LVDS1" + FIRSTMONRESOL="1366x768" + SECONDMON="VGA1" + SECONDMONRESOL="1280x1024" + if [[ $1 == "off" ]]; then + xrandr --output $FIRSTMON --mode $FIRSTMONRESOL --primary --output $SECONDMON --off + else + xrandr --output $FIRSTMON --mode $FIRSTMONRESOL --primary --output $SECONDMON --mode $SECONDMONRESOL --left-of $FIRSTMON + fi +} + # sudo alias if [[ $EUID == 0 ]]; then alias fat32mnt='show_which fat32mnt && mount -t vfat -o codepage=866,iocharset=utf8,umask=000' @@ -332,7 +344,6 @@ else alias synctime='show_which synctime && { sudo ntpd -qg; sudo hwclock -w; date; }' alias wifi-menu='show_which wifi-menu && sudo wifi-menu' alias dhcpcd='show_which dhcpcd && sudo dhcpcd' - alias journalctl='show_which journalctl && sudo journalctl' alias systemctl='show_which systemctl && sudo systemctl' alias modprobe='show_which modprobe && sudo modprobe' alias rmmod='show_which rmmod && sudo rmmod'