finally fix dircolors
This commit is contained in:
parent
f00e227fd8
commit
ac005e5431
135
.Xresources
135
.Xresources
|
@ -1,6 +1,9 @@
|
|||
!!URxvt.perl-ext-common: selection-to-clipboard, font-size
|
||||
!!URxvt.background: black
|
||||
!!URxvt.secondaryScroll: true
|
||||
! -- Fonts -- !
|
||||
!!URxvt.font:xft:Inconsolata:pixelsize=27,style=Medium, xft:Symbola:pixelsize=19,style=Regular
|
||||
!!URxvt.boldFont:xft:Inconsolata:style=Bold,pixelsize=27, xft:Symbola:pixelsize=19,style=Regular
|
||||
URxvt.font: xft:Bitstream Vera Sans Mono:pixelsize=12
|
||||
URxvt.perl-ext-common: default,matcher,font-size
|
||||
|
||||
|
@ -9,6 +12,7 @@ URxvt.keysym.C-Down: font-size:decrease
|
|||
URxvt.keysym.C-S-Up: font-size:incglobal
|
||||
URxvt.keysym.C-S-Down: font-size:decglobal
|
||||
|
||||
!! https://github.com/seebi/dircolors-solarized#the-solarized-color-values
|
||||
!! drop in Solarized colorscheme for Xresources/Xdefaults
|
||||
|
||||
!!SOLARIZED HEX 16/8 TERMCOL XTERM/HEX L*A*B RGB HSB
|
||||
|
@ -30,15 +34,8 @@ URxvt.keysym.C-S-Down: font-size:decglobal
|
|||
!!cyan #2aa198 6/6 cyan 37 #00afaf 60 -35 -05 42 161 152 175 74 63
|
||||
!!green #859900 2/2 green 64 #5f8700 60 -20 65 133 153 0 68 100 60
|
||||
|
||||
#define S_base03 #002b36
|
||||
#define S_base04 #00171d
|
||||
#define S_base02 #073642
|
||||
#define S_base01 #586e75
|
||||
#define S_base00 #c1cacd
|
||||
#define S_base0 #839496
|
||||
#define S_base1 #93a1a1
|
||||
#define S_base2 #eee8d5
|
||||
#define S_base3 #fdf6e3
|
||||
! http://ethanschoonover.com/solarized
|
||||
! Common
|
||||
#define S_yellow #b58900
|
||||
#define S_orange #cb4b16
|
||||
#define S_red #dc322f
|
||||
|
@ -48,89 +45,45 @@ URxvt.keysym.C-S-Down: font-size:decglobal
|
|||
#define S_cyan #2aa198
|
||||
#define S_green #859900
|
||||
|
||||
*background: S_base04
|
||||
URxvt*background: [88]S_base04
|
||||
*foreground: S_base00
|
||||
*depth: 32
|
||||
!!*fading: 40
|
||||
!!*fadeColor: S_base03
|
||||
*cursorColor: S_base1
|
||||
*pointerColorBackground:S_base01
|
||||
*pointerColorForeground:S_base1
|
||||
! Dark
|
||||
#define S_base03 #002b36
|
||||
#define S_base02 #073642
|
||||
#define S_base01 #586e75
|
||||
#define S_base00 #657b83
|
||||
#define S_base0 #839496
|
||||
#define S_base1 #93a1a1
|
||||
#define S_base2 #eee8d5
|
||||
#define S_base3 #fdf6e3
|
||||
|
||||
! !! black dark/light
|
||||
! *color0: S_base02
|
||||
! *color8: S_base03
|
||||
! To only apply colors to your terminal, for example, prefix
|
||||
! the color assignment statement with its name. Example:
|
||||
!
|
||||
! URxvt*background: S_base03
|
||||
|
||||
! !! red dark/light
|
||||
! *color1: S_red
|
||||
! *color9: S_orange
|
||||
*background: S_base03
|
||||
*foreground: S_base0
|
||||
*fading: 40
|
||||
*fadeColor: S_base03
|
||||
*cursorColor: S_base1
|
||||
*pointerColorBackground: S_base01
|
||||
*pointerColorForeground: S_base1
|
||||
|
||||
! !! green dark/light
|
||||
! *color2: S_green
|
||||
! *color10: S_base01
|
||||
|
||||
! !! yellow dark/light
|
||||
! *color3: S_yellow
|
||||
! *color11: S_base00
|
||||
|
||||
! !! blue dark/light
|
||||
! *color4: S_blue
|
||||
! *color12: S_base0
|
||||
|
||||
! !! magenta dark/light
|
||||
! *color5: S_magenta
|
||||
! *color13: S_violet
|
||||
|
||||
! !! cyan dark/light
|
||||
! *color6: S_cyan
|
||||
! *color14: S_base1
|
||||
|
||||
! !! white dark/light
|
||||
! *color7: S_base2
|
||||
! *color15: S_base3
|
||||
|
||||
! from: https://gist.github.com/yevgenko/1167205
|
||||
|
||||
*background: #001b26
|
||||
!!*foreground: #657b83
|
||||
!!*fading: 40
|
||||
*fadeColor: #002b36
|
||||
!*cursorColor: #93a1a1
|
||||
!*pointerColorBackground: #586e75
|
||||
!*pointerColorForeground: #93a1a1
|
||||
|
||||
!! black dark/light
|
||||
*color0: #073642
|
||||
*color8: #002b36
|
||||
|
||||
!! red dark/light
|
||||
*color1: #dc322f
|
||||
*color9: #cb4b16
|
||||
|
||||
!! green dark/light
|
||||
*color2: #859900
|
||||
*color10: #586e75
|
||||
|
||||
!! yellow dark/light
|
||||
*color3: #b58900
|
||||
*color11: #657b83
|
||||
|
||||
!! blue dark/light
|
||||
*color4: #268bd2
|
||||
*color12: #839496
|
||||
|
||||
!! magenta dark/light
|
||||
*color5: #d33682
|
||||
*color13: #6c71c4
|
||||
|
||||
!! cyan dark/light
|
||||
*color6: #2aa198
|
||||
*color14: #93a1a1
|
||||
|
||||
!! white dark/light
|
||||
*color7: #eee8d5
|
||||
*color15: #fdf6e3
|
||||
*color0: S_base02
|
||||
*color1: S_red
|
||||
*color2: S_green
|
||||
*color3: S_yellow
|
||||
*color4: S_blue
|
||||
*color5: S_magenta
|
||||
*color6: S_cyan
|
||||
*color7: S_base2
|
||||
*color9: S_orange
|
||||
*color8: S_base03
|
||||
*color10: S_base01
|
||||
*color11: S_base00
|
||||
*color12: S_base0
|
||||
*color13: S_violet
|
||||
*color14: S_base1
|
||||
*color15: S_base3
|
||||
|
||||
*utf8: 1
|
||||
*saveLines: 999999
|
||||
|
@ -144,10 +97,6 @@ Xft.hintstyle: hintfull
|
|||
Xft.hinting: 1
|
||||
Xft.antialias: 1
|
||||
|
||||
! -- Fonts -- !
|
||||
!!URxvt.font:xft:Inconsolata:pixelsize=27,style=Medium, xft:Symbola:pixelsize=19,style=Regular
|
||||
!!URxvt.boldFont:xft:Inconsolata:style=Bold,pixelsize=27, xft:Symbola:pixelsize=19,style=Regular
|
||||
|
||||
!!*faceSize: 10
|
||||
*bellIsUrgent: true
|
||||
|
||||
|
|
7
.bashrc
7
.bashrc
|
@ -35,9 +35,8 @@ shopt -s histappend
|
|||
HISTSIZE=1000000
|
||||
HISTFILESIZE=20000000
|
||||
|
||||
#export EDITOR=/usr/bin/emacs;
|
||||
#export TERM="urxvt";
|
||||
#export TERMINAL="urxvt";
|
||||
export TERMINAL="rxvt-unicode-256color";
|
||||
export TERM="rxvt-unicode-256color";
|
||||
|
||||
# check the window size after each command and, if necessary,
|
||||
# update the values of LINES and COLUMNS.
|
||||
|
@ -94,7 +93,7 @@ esac
|
|||
|
||||
# enable color support of ls and also add handy aliases
|
||||
if [ -x /usr/bin/dircolors ]; then
|
||||
# test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)"
|
||||
eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)"
|
||||
alias ls='ls --color=auto'
|
||||
alias grep='grep --color=auto'
|
||||
alias fgrep='fgrep --color=auto'
|
||||
|
|
|
@ -0,0 +1,207 @@
|
|||
# Dark 256 color solarized theme for the color GNU ls utility.
|
||||
# Used and tested with dircolors (GNU coreutils) 8.5
|
||||
#
|
||||
# @author {@link http://sebastian.tramp.name Sebastian Tramp}
|
||||
# @license http://sam.zoy.org/wtfpl/ Do What The Fuck You Want To Public License (WTFPL)
|
||||
#
|
||||
# More Information at
|
||||
# https://github.com/seebi/dircolors-solarized
|
||||
|
||||
## Special files
|
||||
|
||||
NORMAL 00;38;5;244 # no color code at all
|
||||
#FILE 00 # regular file: use no color at all
|
||||
RESET 0 # reset to "normal" color
|
||||
DIR 00;38;5;33 # directory 01;34
|
||||
LINK 00;38;5;37 # symbolic link. (If you set this to 'target' instead of a
|
||||
# numerical value, the color is as for the file pointed to.)
|
||||
MULTIHARDLINK 00 # regular file with more than one link
|
||||
FIFO 48;5;230;38;5;136;01 # pipe
|
||||
SOCK 48;5;230;38;5;136;01 # socket
|
||||
DOOR 48;5;230;38;5;136;01 # door
|
||||
BLK 48;5;230;38;5;244;01 # block device driver
|
||||
CHR 48;5;230;38;5;244;01 # character device driver
|
||||
ORPHAN 48;5;235;38;5;160 # symlink to nonexistent file, or non-stat'able file
|
||||
SETUID 48;5;160;38;5;230 # file that is setuid (u+s)
|
||||
SETGID 48;5;136;38;5;230 # file that is setgid (g+s)
|
||||
CAPABILITY 30;41 # file with capability
|
||||
STICKY_OTHER_WRITABLE 48;5;64;38;5;230 # dir that is sticky and other-writable (+t,o+w)
|
||||
OTHER_WRITABLE 48;5;235;38;5;33 # dir that is other-writable (o+w) and not sticky
|
||||
STICKY 48;5;33;38;5;230 # dir with the sticky bit set (+t) and not other-writable
|
||||
# This is for files with execute permission:
|
||||
EXEC 00;38;5;64
|
||||
|
||||
## Archives or compressed (violet + bold for compression)
|
||||
.tar 00;38;5;61
|
||||
.tgz 00;38;5;61
|
||||
.arj 00;38;5;61
|
||||
.taz 00;38;5;61
|
||||
.lzh 00;38;5;61
|
||||
.lzma 00;38;5;61
|
||||
.tlz 00;38;5;61
|
||||
.txz 00;38;5;61
|
||||
.zip 00;38;5;61
|
||||
.z 00;38;5;61
|
||||
.Z 00;38;5;61
|
||||
.dz 00;38;5;61
|
||||
.gz 00;38;5;61
|
||||
.lz 00;38;5;61
|
||||
.xz 00;38;5;61
|
||||
.bz2 00;38;5;61
|
||||
.bz 00;38;5;61
|
||||
.tbz 00;38;5;61
|
||||
.tbz2 00;38;5;61
|
||||
.tz 00;38;5;61
|
||||
.deb 00;38;5;61
|
||||
.rpm 00;38;5;61
|
||||
.jar 00;38;5;61
|
||||
.rar 00;38;5;61
|
||||
.ace 00;38;5;61
|
||||
.zoo 00;38;5;61
|
||||
.cpio 00;38;5;61
|
||||
.7z 00;38;5;61
|
||||
.rz 00;38;5;61
|
||||
.apk 00;38;5;61
|
||||
.gem 00;38;5;61
|
||||
|
||||
# Image formats (yellow)
|
||||
.jpg 00;38;5;136
|
||||
.JPG 00;38;5;136 #stupid but needed
|
||||
.jpeg 00;38;5;136
|
||||
.gif 00;38;5;136
|
||||
.bmp 00;38;5;136
|
||||
.pbm 00;38;5;136
|
||||
.pgm 00;38;5;136
|
||||
.ppm 00;38;5;136
|
||||
.tga 00;38;5;136
|
||||
.xbm 00;38;5;136
|
||||
.xpm 00;38;5;136
|
||||
.tif 00;38;5;136
|
||||
.tiff 00;38;5;136
|
||||
.png 00;38;5;136
|
||||
.PNG 00;38;5;136
|
||||
.svg 00;38;5;136
|
||||
.svgz 00;38;5;136
|
||||
.mng 00;38;5;136
|
||||
.pcx 00;38;5;136
|
||||
.dl 00;38;5;136
|
||||
.xcf 00;38;5;136
|
||||
.xwd 00;38;5;136
|
||||
.yuv 00;38;5;136
|
||||
.cgm 00;38;5;136
|
||||
.emf 00;38;5;136
|
||||
.eps 00;38;5;136
|
||||
.CR2 00;38;5;136
|
||||
.ico 00;38;5;136
|
||||
|
||||
# Files of special interest (base1)
|
||||
.tex 00;38;5;245
|
||||
.rdf 00;38;5;245
|
||||
.owl 00;38;5;245
|
||||
.n3 00;38;5;245
|
||||
.ttl 00;38;5;245
|
||||
.nt 00;38;5;245
|
||||
.torrent 00;38;5;245
|
||||
.xml 00;38;5;245
|
||||
*Makefile 00;38;5;245
|
||||
*Rakefile 00;38;5;245
|
||||
*Dockerfile 00;38;5;245
|
||||
*build.xml 00;38;5;245
|
||||
*rc 00;38;5;245
|
||||
*1 00;38;5;245
|
||||
.nfo 00;38;5;245
|
||||
*README 00;38;5;245
|
||||
*README.txt 00;38;5;245
|
||||
*readme.txt 00;38;5;245
|
||||
.md 00;38;5;245
|
||||
*README.markdown 00;38;5;245
|
||||
.ini 00;38;5;245
|
||||
.yml 00;38;5;245
|
||||
.cfg 00;38;5;245
|
||||
.conf 00;38;5;245
|
||||
.h 00;38;5;245
|
||||
.hpp 00;38;5;245
|
||||
.c 00;38;5;245
|
||||
.cpp 00;38;5;245
|
||||
.cxx 00;38;5;245
|
||||
.cc 00;38;5;245
|
||||
.objc 00;38;5;245
|
||||
.sqlite 00;38;5;245
|
||||
.go 00;38;5;245
|
||||
.sql 00;38;5;245
|
||||
.csv 00;38;5;245
|
||||
|
||||
# "unimportant" files as logs and backups (base01)
|
||||
.log 00;38;5;240
|
||||
.bak 00;38;5;240
|
||||
.aux 00;38;5;240
|
||||
.lof 00;38;5;240
|
||||
.lol 00;38;5;240
|
||||
.lot 00;38;5;240
|
||||
.out 00;38;5;240
|
||||
.toc 00;38;5;240
|
||||
.bbl 00;38;5;240
|
||||
.blg 00;38;5;240
|
||||
*~ 00;38;5;240
|
||||
*# 00;38;5;240
|
||||
.part 00;38;5;240
|
||||
.incomplete 00;38;5;240
|
||||
.swp 00;38;5;240
|
||||
.tmp 00;38;5;240
|
||||
.temp 00;38;5;240
|
||||
.o 00;38;5;240
|
||||
.pyc 00;38;5;240
|
||||
.class 00;38;5;240
|
||||
.cache 00;38;5;240
|
||||
|
||||
# Audio formats (orange)
|
||||
.aac 00;38;5;166
|
||||
.au 00;38;5;166
|
||||
.flac 00;38;5;166
|
||||
.mid 00;38;5;166
|
||||
.midi 00;38;5;166
|
||||
.mka 00;38;5;166
|
||||
.mp3 00;38;5;166
|
||||
.mpc 00;38;5;166
|
||||
.ogg 00;38;5;166
|
||||
.opus 00;38;5;166
|
||||
.ra 00;38;5;166
|
||||
.wav 00;38;5;166
|
||||
.m4a 00;38;5;166
|
||||
# http://wiki.xiph.org/index.php/MIME_Types_and_File_Extensions
|
||||
.axa 00;38;5;166
|
||||
.oga 00;38;5;166
|
||||
.spx 00;38;5;166
|
||||
.xspf 00;38;5;166
|
||||
|
||||
# Video formats (as audio + bold)
|
||||
.mov 00;38;5;166
|
||||
.MOV 00;38;5;166
|
||||
.mpg 00;38;5;166
|
||||
.mpeg 00;38;5;166
|
||||
.m2v 00;38;5;166
|
||||
.mkv 00;38;5;166
|
||||
.ogm 00;38;5;166
|
||||
.mp4 00;38;5;166
|
||||
.m4v 00;38;5;166
|
||||
.mp4v 00;38;5;166
|
||||
.vob 00;38;5;166
|
||||
.qt 00;38;5;166
|
||||
.nuv 00;38;5;166
|
||||
.wmv 00;38;5;166
|
||||
.asf 00;38;5;166
|
||||
.rm 00;38;5;166
|
||||
.rmvb 00;38;5;166
|
||||
.flc 00;38;5;166
|
||||
.avi 00;38;5;166
|
||||
.fli 00;38;5;166
|
||||
.flv 00;38;5;166
|
||||
.gl 00;38;5;166
|
||||
.m2ts 00;38;5;166
|
||||
.divx 00;38;5;166
|
||||
.webm 00;38;5;166
|
||||
# http://wiki.xiph.org/index.php/MIME_Types_and_File_Extensions
|
||||
.axv 00;38;5;166
|
||||
.anx 00;38;5;166
|
||||
.ogv 00;38;5;166
|
||||
.ogx 00;38;5;166
|
Loading…
Reference in New Issue