public
Last active

Darken

  • Download Gist
.Xdefaults
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62
urxvt.termName: rxvt
urxvt.loginShell: true
urxvt*urlLauncher: /usr/bin/chromium
urxvt*perl-lib: /usr/lib/urxvt/perl/
urxvt*perl-ext-common: default,matcher,searchable-scrollback
urxvt*font: xft:DejaVu Sans Mono:pixelsize=10
urxvt*boldFont: xft:DejaVu Sans Mono:pixelsize=10
urxvt.scrollBar: false
urxvt.saveLines: 65535
urxvt.secondaryScroll: true
urxvt.urgentOnBell: false
urxvt.visualBell: false
urxvt*geometry: 95x25
urxvt*cutchars: `"()'*<>[]{|}
urxvt*matcher.button: 1
urxvt*depth: 24
urxvt*shading: 0
urxvt*transparent: false
urxvt.cursorColor: #dcdcdc
urxvt.cursorBlink: true
 
! Reset
*foreground: #d0d0d0
*background: #030303
*highlightColor: #870000
 
! Black + DarkGrey
*color0: #000000
*color8: #454545
 
! DarkRed + Red
*color1: #870000
*color9: #de0000
 
! DarkGreen + Green
*color2: #91ab3a
*color10: #9ab53d
 
! DarkYellow + Yellow
*color3: #969696
*color11: #e5e5e5
 
! DarkBlue + Blue
*color4: #656565
*color12: #656565
 
! DarkMangenta + Mangenta
*color5: #707070
*color13: #747474
 
!DarkCyan + Cyan
*color6: #a9a9a9
*color14: #c4c4c4
 
! LightGrey + White
*color7: #d0d0d0
*color15: #dedede
 
xrenoise.use_xcursors: 1
xrenoise.display: :0
xrenoise.display_resource: 0x00,0x09,0x32,0x4C,0x2F,0xED,0xB4,0x57
xrenoise.executable_path: /usr/bin/renoise
.i3config
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172
# i3 config file (v4)
 
# fix for nvidia twinview
force_xinerama yes
 
# font for window titles. ISO 10646 = Unicode
font -misc-dejavu sans mono-medium-r-normal--10-*-*-*-m-*-iso10646-1
 
# use Mouse+Mod1 to drag floating windows to their wanted position
floating_modifier Mod1
 
#neverball
for_window [class="neverball"] floating enable
 
# gimp
assign [class="Gimp"] gimp
bindsym Mod1+g workspace gimp
for_window [title="GIMP Startup"] move workspace gimp
for_window [window_role="gimp-toolbox"] floating disable; layout stacking; move left; resize shrink right 31px or 31 ppt
 
# steam
for_window [instance="hl2"] floating enable
for_window [instance="popcapgame1.exe"] floating enable
for_window [instance="Steam.exe"] floating enable
for_window [title="Steam - Update News"] kill
 
# auto floats
for_window [class="Gcolor2"] float enable
 
# class border backgr. text
client.focused #91ab34 #91ab34 #000000
client.focused_inactive #000000 #000000 #91ab34
client.unfocused #000000 #000000 #aaaaaa
client.urgent #870000 #870000 #ffffff
 
# start a terminal
bindsym Mod1+Shift+Return exec i3-sensible-terminal
 
# kill focused window
bindsym Mod1+Shift+c kill
 
# start dmenu (a program launcher)
bindsym Mod1+grave exec dmenu_red
 
# change focus
bindsym Mod1+j focus left
bindsym Mod1+k focus down
bindsym Mod1+l focus up
bindsym Mod1+semicolon focus right
 
# alternatively, you can use the cursor keys:
bindsym Mod1+Left focus left
bindsym Mod1+Down focus down
bindsym Mod1+Up focus up
bindsym Mod1+Right focus right
 
# move focused window
bindsym Mod1+Shift+j move left
bindsym Mod1+Shift+k move down
bindsym Mod1+Shift+l move up
bindsym Mod1+Shift+semicolon move right
 
# alternatively, you can use the cursor keys:
bindsym Mod1+Shift+Left move left
bindsym Mod1+Shift+Down move down
bindsym Mod1+Shift+Up move up
bindsym Mod1+Shift+Right move right
 
# split in horizontal orientation
bindsym Mod1+h split h
 
# split in vertical orientation
bindsym Mod1+v split v
 
# enter fullscreen mode for the focused container
bindsym Mod1+f fullscreen
 
# change container layout (stacked, tabbed, default)
bindsym Mod1+s layout stacking
bindsym Mod1+w layout tabbed
bindsym Mod1+e layout default
 
# toggle tiling / floating
bindsym Mod1+Shift+f floating toggle
 
# change focus between tiling / floating windows
bindsym Mod1+space focus mode_toggle
 
# focus the parent container
bindsym Mod1+a focus parent
 
# focus the child container
#bindsym Mod1+d focus child
 
# switch to workspace
bindsym Mod1+1 workspace 1
bindsym Mod1+2 workspace 2
bindsym Mod1+3 workspace 3
bindsym Mod1+4 workspace 4
bindsym Mod1+5 workspace 5
bindsym Mod1+6 workspace 6
bindsym Mod1+7 workspace 7
bindsym Mod1+8 workspace 8
bindsym Mod1+9 workspace 9
bindsym Mod1+0 workspace 10
 
# move focused container to workspace
bindsym Mod1+Shift+1 move workspace 1
bindsym Mod1+Shift+2 move workspace 2
bindsym Mod1+Shift+3 move workspace 3
bindsym Mod1+Shift+4 move workspace 4
bindsym Mod1+Shift+5 move workspace 5
bindsym Mod1+Shift+6 move workspace 6
bindsym Mod1+Shift+7 move workspace 7
bindsym Mod1+Shift+8 move workspace 8
bindsym Mod1+Shift+9 move workspace 9
bindsym Mod1+Shift+0 move workspace 10
 
# reload the configuration file
bindsym Mod1+Shift+q reload
# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
bindsym Mod1+Shift+r restart
# exit i3 (logs you out of your X session)
bindsym Mod1+Shift+e exit
 
# resize window (you can also use the mouse for that)
mode "resize" {
bindsym Left resize grow left 10 px or 10 ppt
bindsym Shift+Left resize shrink left 10 px or 10 ppt
bindsym Down resize grow down 10 px or 10 ppt
bindsym Shift+Down resize shrink down 10 px or 10 ppt
bindsym Up resize grow up 10 px or 10 ppt
bindsym Shift+Up resize shrink up 10 px or 10 ppt
bindsym Right resize grow right 10 px or 10 ppt
bindsym Shift+Right resize shrink right 10 px or 10 ppt
 
# back to normal: Enter or Escape
bindsym Return mode "default"
bindsym Escape mode "default"
}
 
bindsym Mod1+r mode "resize"
 
bar {
position top
tray_output xinerama-0
output xinerama-0
font -misc-dejavu sans mono-medium-r-normal--10-*-*-*-m-*-iso10646-1
colors {
focused_workspace #000000 #9ab53d
active_workspace #9ab53d #080808
inactive_workspace #e0e0e0 #080808
urgent_workspace #ffffff #870000
statusline #9ab53d
background #080808
}
}
 
bar {
position top
output xinerama-1
status_command i3status
font -misc-dejavu sans mono-medium-r-normal--10-*-*-*-m-*-iso10646-1
colors {
focused_workspace #000000 #9ab53d
active_workspace #9ab53d #080808
inactive_workspace #e0e0e0 #080808
urgent_workspace #ffffff #870000
statusline #9ab53d
background #080808
}
}
.i3status.conf
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
general {
colors = true
interval = 5
}
 
order += "ethernet eth0"
order += "time"
 
ethernet eth0 {
format_up = "eth0: %ip (%speed)"
format_down = "eth0: down"
}
 
time {
format = "%Y-%m-%d %I:%M%P "
}
.vimrc
VimL
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
" Colors ------------------------------------------
 
set t_Co=256
colorscheme darken
syntax on
 
" General -----------------------------------------
 
set mouse=a
set nocompatible
set nowrap
set ruler
set number
set history=1000
set sidescroll=1
set sidescrolloff=3
set scrolloff=3
set visualbell
set noerrorbells
set printoptions=paper:letter
set tabstop=2
set softtabstop=2
set shiftwidth=2
set expandtab
 
" HotKeys -----------------------------------------
 
map <silent><F2> :tabp<CR>
map <silent><F3> :tabn<CR>
map <F4> :tabnew
 
map <silent><F5> :PREVCOLOR<cr>
map <silent><F6> :NEXTCOLOR<cr>
 
" Completion --------------------------------------
 
set wildmenu
set wildmode=list:longest
set wildignore=*.o,*.fasl
darken
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
background = default default
frame = black default
window_title = green default
directory = blue default
selected_directory = black green
playlist = blue default
selected_playlist = black green
file = blue default
selected_file = black green
marked_file = green default bold
marked_selected_file = black green
info = blue default
selected_info = white default bold
marked_info = green default
marked_selected_info = black green
title = green default bold
state = white black bold
current_time = green default bold
time_left = green default
total_time = white default bold
time_total_frames = blue default
sound_parameters = green default bold
legend = blue default
disabled = blue default bold
enabled = blue default
empty_mixer_bar = blue default
filled_mixer_bar = black green
empty_time_bar = blue default
filled_time_bar = black green
entry = green default bold
entry_title = green default
status = green default
error = blue default bold
message = green default bold
plist_time = blue default
darken.py
Python
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103
from ranger.gui.colorscheme import ColorScheme
from ranger.gui.color import *
 
class Default(ColorScheme):
def use(self, context):
fg, bg, attr = default_colors
 
if context.reset:
return default_colors
 
elif context.in_browser:
if context.selected:
attr = reverse
else:
attr = normal
if context.empty or context.error:
fg = black
bg = green
if context.border:
fg = default
if context.media:
if context.image:
fg = yellow
else:
fg = magenta
if context.container:
fg = green
if context.directory:
attr |= bold
fg = blue
elif context.executable and not \
any((context.media, context.container,
context.fifo, context.socket)):
attr |= bold
fg = green
if context.socket:
fg = magenta
attr |= bold
if context.fifo or context.device:
fg = yellow
if context.device:
attr |= bold
if context.link:
fg = context.good and cyan or magenta
if context.tag_marker and not context.selected:
attr |= bold
if fg in (green, magenta):
fg = white
else:
fg = green
if not context.selected and (context.cut or context.copied):
fg = black
attr |= bold
if context.main_column:
if context.selected:
attr |= bold
if context.marked:
attr |= bold
fg = red
if context.badinfo:
if attr & reverse:
bg = magenta
else:
fg = magenta
 
elif context.in_titlebar:
attr |= bold
if context.hostname:
fg = context.bad and green or green
elif context.directory:
fg = blue
elif context.tab:
if context.good:
bg = green
elif context.link:
fg = cyan
 
elif context.in_statusbar:
if context.permissions:
if context.good:
fg = cyan
elif context.bad:
fg = magenta
if context.marked:
attr |= bold | reverse
fg = red
if context.message:
if context.bad:
attr |= bold
fg = green
 
if context.text:
if context.highlight:
attr |= reverse
 
if context.in_taskview:
if context.title:
fg = blue
 
if context.selected:
attr |= reverse
 
return fg, bg, attr
darken.theme
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244
#################################################################
# aka theme (v1.1 - DARKEN EDITION) #
# by curson [navaeg@gmail.com] - http://www.the-shrike.net #
#################################################################
 
# these characters are automatically replaced with specified color
# (dark grey by default)
replaces = { "°°=" = "%g$0-%n"; };
 
abstracts = {
##
## generic
##
 
# text to insert at the beginning of each non-message line
#line_start = "%w.%g.%w.%n ";
line_start = "%n";
 
# timestamp styling, nothing by default
timestamp = "%B$0-%n";
 
# any kind of text that needs hilighting, default is to bold
hilight = "%_$0-%_";
 
# any kind of error message, default is bright red
error = "%g$0-%n";
 
# channel name is printed
channel = "%g$0-%n";
 
# nick is printed
nick = "%g%_$0-%_";
 
# nick host is printed
nickhost = "%w:%g$0-%w:%n";
 
# server name is printed
server = "%_$0-%_";
 
# some kind of comment is printed
comment = "($0-)";
 
# reason for something is printed (part, quit, kick, ..)
reason = "{comment $0-}";
 
# mode change is printed ([+o nick])
mode = "{comment $0-}";
 
##
## channel specific messages
##
 
# highlighted nick/host is printed (joins)
channick_hilight = "%g$0-%n";
chanhost_hilight = "{nickhost %g$0-%n}";
 
# nick/host is printed (parts, quits, etc.)
channick = "%g$0-%n";
chanhost = "{nickhost $0-}";
 
# highlighted channel name is printed
channelhilight = "%g$0-%n";
 
# ban/ban exception/invite list mask is printed
ban = "%g$0-%n";
 
##
## messages
##
 
# the basic styling of how to print message, $0 = nick mode, $1 = nick
msgnick = "%_$0%_$1- %|";
 
# $0 = nick mode, $1 = nick
ownmsgnick = "{msgnick %B<%_$0%_ $1-%B>}%n";
ownnick = "%w$0-%n";
 
# public message in channel, $0 = nick mode, $1 = nick
pubmsgnick = "{msgnick %B<%_$0%_ %w$1-%B>%n}";
pubnick = "$0-%w";
 
# public message in channel meant for me, $0 = nick mode, $1 = nick
pubmsgmenick = "{msgnick %B<%_$0%_ %w$1-%g%B>}%n";
menick = "%g$0-%n";
 
# public message highlighted
pubmsghinick = "{msgnick %B<%w$1 %w$2-%w%B>}%g";
 
# channel name is printed with message
msgchannel = "%g~%c$0-%n";
 
# private message, $0 = nick, $1 = host
privmsg = "%g<%w$0%w(%g$1-%B)%g>%n ";
 
# private message from you, $0 = "msg", $1 = target nick
ownprivmsg = "%g<$0%w(%w$1-%c)%g>%w ";
 
# own private message in query
ownprivmsgnick = "{msgnick $0-}";
ownprivnick = "%g<$0-%g>%w";
 
# private message in query
privmsgnick = "{msgnick %B<%w$0-%B>%n}";
 
##
## Actions (/ME stuff)
##
 
# used internally by this theme
action_core = "%g** %n$0- $1-";
 
# generic one that's used by most actions
action = "%g** %n$0- $1-";
 
# own action, both private/public
ownaction = "%g** %n$0- $1-";
 
# own action with target, both private/public
ownaction_target = "%g** %n$0- $1-";
 
# private action sent by others
pvtaction = "%g** %n$0- $1-";
pvtaction_query = "%g** %n$0- $1-";
 
# public action sent by others
pubaction = "%g** %n$0- $1-";
 
 
##
## other IRC events
##
 
# notices
ownnotice = "%g$0%B(%W$1-%B)%n ";
notice = "%B-%g$0-%B-%n ";
pubnotice_channel = "%B:%g$0-";
pvtnotice_host = "%B(%g$0-%B)";
servernotice = "%w!$0-%n ";
 
# CTCPs
ownctcp = "%g$0%B(%g$1-%B) ";
ctcp = "%g$0-%n";
 
# wallops
wallop = "%W$0-%n: ";
wallop_nick = "%n$0-";
wallop_action = "%W * $0-%n ";
 
# netsplits
netsplit = "%g$0-%n";
netjoin = "%g$0-%n";
 
# /names list
names_nick = "%B[$0%g$1-%B]%n ";
names_users = "%B[%w$0-%B]%n";
names_channel = "%w$0-%n";
 
# DCC
dcc = "~%g$0-%n~";
dccfile = "%_$0-%_";
 
# DCC chat, own msg/action
dccownmsg = "-%w$0%w($1-%B)%n- ";
dccownnick = "%g$0-%n";
dccownaction = "{action $0-}";
dccownaction_target = "{action_core $0}%B:%g$1%n ";
 
# DCC chat, others
dccmsg = "-%W$1-%B(%c$0%B)%n- ";
dccquerynick = "~%g$0-%n~";
dccaction = " %g.%w°%w.%n %g$0-%n %|";
 
##
## statusbar
##
 
# background of statusbar
#sb_background = "%N"; #this is transparent
sb_background = "%N";
#this is black
 
# background for prompt / input line
sb_prompt_bg = "%n";
sb_info_bg = "%2";
 
# default statusbar item style
sb = "%B-[%n$0-%B]-%n";
 
sbmode = "%n%_%g %w(%g+$0-%w)%n";
sbaway = " (%gAWAY%n)";
sbservertag = ":$0 (change with ^X)";
sbmore = "%_-- more --%_";
sblag = "{sb Lag: $0-}";
sbmail = "{sb Mail: $0-}";
 
# usercount
sb_usercount = "{sb users: %g$0%n %n$1-%n}";
sb_uc_ircops = "%g*%w$*";
sb_uc_ops = "%g@%W%_$*";
sb_uc_halfops = "%_%g%%%W%_$*";
sb_uc_voices = "%_%g+%W%_$*";
sb_uc_normal = "%w$*";
sb_uc_space = " ";
 
 
# text at the beginning of statusbars. sb-item already puts
# space there,so we don't use anything by default.
sbstart = "";
# text at the end of statusbars. Use space so that it's never
# used for anything.
sbend = " ";
 
prompt = "%B[%W$*%B]%W> ";
 
topicsbstart = "%Y[%n{sbstart $*}";
topicsbend = "{sbend $*} %Y]";
 
# activity in statusbar
 
# ',' separator
sb_act_sep = "%g$*";
# normal text
sb_act_text = "%w$*";
# public message
sb_act_msg = "%W$*";
# hilight
sb_act_hilight = "%g$*";
# hilight with specified color, $0 = color, $1 = text
sb_act_hilight_color = "$0$1-%n";
 
# activity. Det is used for hilights when display doesn't support colors
sbact = "{sb {sbact_act $0}{sbact_det $1}}";
sbact_act = " Act: $0-";
sbact_det = " Det: $0-";
};
formats = {
"fe-common/core" = {
pubmsg = "{pubmsgnick $2 {pubnick $0}}$1";
join = "%g>> %W$0 %g>>%n {chanhost $1} %whas joined %g$2";
part = "%g< %W$0 %g<%n {chanhost $1} %whas left %g$2 %g[%w$3%g]";
quit = "%g<< %W$0 %g<<%n {chanhost $1} %whas quit %g[%w$2%g]";
kick = "%g<<%W!%g<< %g$0%n has been kicked from {channel $1} by {nick $2} %g[%w$3%g]";
};
};
darken.vim
VimL
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58
" Vim color file
" Maintainer: Matthew Simpson
 
set background=dark
hi clear
if exists("syntax_on")
syntax reset
endif
 
let colors_name = "darken"
 
hi TabLineFill ctermfg=black ctermbg=none cterm=none
hi TabLineSel ctermfg=black ctermbg=green cterm=none
hi TabLine ctermfg=green ctermbg=none cterm=none
 
hi Normal ctermfg=white ctermbg=black
hi ErrorMsg ctermfg=white ctermbg=darkred
hi Visual ctermfg=white ctermbg=darkred
hi VisualNOS ctermfg=white ctermbg=darkred cterm=underline
hi Search ctermfg=white ctermbg=darkred cterm=underline term=underline
hi IncSearch ctermfg=white ctermbg=darkred
hi SpecialKey ctermfg=white
hi Directory ctermfg=green
hi Title ctermfg=black
hi WarningMsg ctermfg=red
hi WildMenu ctermfg=red ctermbg=black cterm=none term=none
hi ModeMsg ctermfg=green
hi MoreMsg ctermfg=green
hi MatchParen ctermfg=black ctermbg=green cterm=none
hi Question ctermfg=red cterm=none
hi NonText ctermfg=white ctermbg=black
hi StatusLine ctermfg=green ctermbg=black term=none cterm=none
hi StatusLineNC ctermfg=white ctermbg=black term=none cterm=none
hi VertSplit ctermfg=green ctermbg=black term=none cterm=none
hi Folded ctermfg=darkgrey ctermbg=black cterm=bold term=bold
hi FoldColumn ctermfg=darkgrey ctermbg=black cterm=bold term=bold
hi LineNr ctermfg=black cterm=bold
hi DiffAdd ctermfg=black ctermbg=green term=none cterm=none
hi DiffChange ctermfg=red cterm=none
hi DiffDelete ctermfg=white ctermbg=darkred
hi DiffText ctermfg=green
hi Cursor ctermfg=bg ctermbg=white
hi lCursor ctermfg=bg ctermbg=green
 
hi Todo ctermfg=black ctermbg=green
hi Comment ctermfg=darkgrey
hi Constant ctermfg=grey cterm=none
hi Special ctermfg=white cterm=none
hi Identifier ctermfg=green cterm=none
hi Statement ctermfg=green cterm=none
hi PreProc ctermfg=darkgrey cterm=none
hi Type ctermfg=green cterm=none
hi Underlined ctermfg=white cterm=underline
hi Ignore ctermfg=bg
hi Number ctermfg=green
 
hi link javaScriptValue Number
hi link javaScriptRegexpString Number

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.