Commit 0b372e76 authored by Oscar Brink's avatar Oscar Brink
Browse files

init dotfiles

URxvt.transparent: true
! Included this so you know how to make your foreground not match the color of your background
! URxvt.foreground: #eeeeee
! Colors:
! URxvt.background: rgb:00/00/00
URxvt.depth: 32
URxvt.background: rgba:0000/0000/0000/ee00
URxvt.foreground: rgb:c6/c6/c6
URxvt.color4: rgb:5f/87/d7
! High-intensity colors:
URxvt.color12: rgb:5f/87/d7
URxvt.scrollBar: false
URxvt.font: xft:DejaVu Sans Mono:pixelsize=9
URxvt.boldFont: xft:DejaVu Sans Mono:pixelsize=13:weight=bold
# This file has been auto-generated by i3-config-wizard(1).
# It will not be overwritten, so edit it as you like.
# Should you change your keyboard layout some time, delete
# this file and re-run i3-config-wizard(1).
# i3 config file (v4)
# Please see for a complete reference!
set $mod Mod1
# Font for window titles. Will also be used by the bar unless a different font
# is used in the bar {} block below.
font pango:monospace 8
# This font is widely installed, provides lots of unicode glyphs, right-to-left
# text rendering and scalability on retina/hidpi displays (thanks to pango).
#font pango:DejaVu Sans Mono 8
# Before i3 v4.8, we used to recommend this one as the default:
# font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
# The font above is very space-efficient, that is, it looks good, sharp and
# clear in small sizes. However, its unicode glyph coverage is limited, the old
# X core fonts rendering does not support right-to-left and this being a bitmap
# font, it doesn’t scale on retina/hidpi displays.
# Use Mouse+$mod to drag floating windows to their wanted position
floating_modifier $mod
# start a terminal
# bindsym $mod+Return exec i3-sensible-terminal
bindsym $mod+Return exec --no-startup-id urxvt
# kill focused window
bindsym $mod+Shift+q kill
# start dmenu (a program launcher)
bindsym $mod+d exec dmenu_run
# There also is the (new) i3-dmenu-desktop which only displays applications
# shipping a .desktop file. It is a wrapper around dmenu, so you need that
# installed.
# bindsym $mod+d exec --no-startup-id i3-dmenu-desktop
# change focus
bindsym $mod+h focus left
bindsym $mod+j focus down
bindsym $mod+k focus up
bindsym $mod+l focus right
# alternatively, you can use the cursor keys:
bindsym $mod+Left focus left
bindsym $mod+Down focus down
bindsym $mod+Up focus up
bindsym $mod+Right focus right
# move focused window
bindsym $mod+Shift+j move left
bindsym $mod+Shift+k move down
bindsym $mod+Shift+l move up
bindsym $mod+Shift+odiaeresis move right
# alternatively, you can use the cursor keys:
bindsym $mod+Shift+Left move left
bindsym $mod+Shift+Down move down
bindsym $mod+Shift+Up move up
bindsym $mod+Shift+Right move right
# split in horizontal orientation
bindsym $mod+g split h
# split in vertical orientation
bindsym $mod+v split v
# enter fullscreen mode for the focused container
bindsym $mod+f fullscreen toggle
# change container layout (stacked, tabbed, toggle split)
bindsym $mod+s layout stacking
bindsym $mod+w layout tabbed
bindsym $mod+e layout toggle split
# toggle tiling / floating
bindsym $mod+Shift+space floating toggle
# change focus between tiling / floating windows
bindsym $mod+space focus mode_toggle
# focus the parent container
bindsym $mod+a focus parent
# focus the child container
#bindsym $mod+d focus child
# switch to workspace
bindsym $mod+1 workspace 1
bindsym $mod+2 workspace 2
bindsym $mod+3 workspace 3
bindsym $mod+4 workspace 4
bindsym $mod+5 workspace 5
bindsym $mod+6 workspace 6
bindsym $mod+7 workspace 7
bindsym $mod+8 workspace 8
bindsym $mod+9 workspace 9
bindsym $mod+0 workspace 10
# move focused container to workspace
bindsym $mod+Shift+1 move container to workspace 1
bindsym $mod+Shift+2 move container to workspace 2
bindsym $mod+Shift+3 move container to workspace 3
bindsym $mod+Shift+4 move container to workspace 4
bindsym $mod+Shift+5 move container to workspace 5
bindsym $mod+Shift+6 move container to workspace 6
bindsym $mod+Shift+7 move container to workspace 7
bindsym $mod+Shift+8 move container to workspace 8
bindsym $mod+Shift+9 move container to workspace 9
bindsym $mod+Shift+0 move container to workspace 10
# reload the configuration file
bindsym $mod+Shift+c reload
# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
bindsym $mod+Shift+r restart
# exit i3 (logs you out of your X session)
bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -b 'Yes, exit i3' 'i3-msg exit'"
# resize window (you can also use the mouse for that)
mode "resize" {
# These bindings trigger as soon as you enter the resize mode
# Pressing left will shrink the window’s width.
# Pressing right will grow the window’s width.
# Pressing up will shrink the window’s height.
# Pressing down will grow the window’s height.
bindsym j resize shrink width 10 px or 10 ppt
bindsym k resize grow height 10 px or 10 ppt
bindsym l resize shrink height 10 px or 10 ppt
bindsym odiaeresis resize grow width 10 px or 10 ppt
# same bindings, but for the arrow keys
bindsym Left resize shrink width 10 px or 10 ppt
bindsym Down resize grow height 10 px or 10 ppt
bindsym Up resize shrink height 10 px or 10 ppt
bindsym Right resize grow width 10 px or 10 ppt
# back to normal: Enter or Escape
bindsym Return mode "default"
bindsym Escape mode "default"
bindsym $mod+r mode "resize"
# Start i3bar to display a workspace bar (plus the system information i3status
# finds out, if available)
bar {
status_command i3status
" Vim color file
" Maintainer: Oscar Brink <>
" Last Change: 2018 10 23
" This is the main file that calls the different lang files for the colors.
" File contains some general defaults.
set bg=dark
hi clear
if exists("syntax_on")
syntax reset
let colors_name = "brink"
source ~/.vim/colors/lang/python.vim
source ~/.vim/colors/lang/vim.vim
source ~/.vim/colors/lang/mips.vim
source ~/.vim/colors/lang/java.vim
source ~/.vim/colors/lang/c.vim
source ~/.vim/colors/lang/cobol.vim
source ~/.vim/colors/lang/rust.vim
hi colorcolumn ctermbg=234
hi signcolumn ctermbg=232
" Normal
" Color: Grey78
hi Normal ctermfg=251
" Error message
" Color: Red1
" BgColor: Grey39
hi ErrorMsg ctermfg=203 ctermbg=241
hi Error ctermfg=203 ctermbg=232 cterm=none
" Visual
" BgColor: Grey35
hi visual ctermfg=240 ctermbg=fg cterm=reverse
hi visualnos ctermfg=240 ctermbg=fg cterm=reverse,underline
" Todo
" Color: Yellow1
hi Todo ctermfg=226 ctermbg=none cterm=italic
" Search
" Color: Grey0
" BgColor: Grey74
hi Search ctermfg=16 ctermbg=250 cterm=underline
hi IncSearch ctermfg=16 ctermbg=250 cterm=none
" Special keys
"hi SpecialKey ctermfg=darkcyan
" Directory
"hi Directory ctermfg=cyan
" Title in vimdocs (or something)
" AND --more-- message
" Color: Chartreuse2
hi Title ctermfg=82 cterm=bold
hi MoreMsg ctermfg=82
" Warning messages
"hi WarningMsg ctermfg=196 ctermbg=241
" WildMenu completion
"hi WildMenu ctermfg=yellow ctermbg=black cterm=none term=none
" Mode message
" Color: Khaki1
hi ModeMsg ctermfg=228
" Question (yes/no)
hi Question ctermfg=green cterm=none
" NonText
hi NonText ctermfg=darkblue
" Status line
" Color: Grey50
" BgColor: Grey3
hi StatusLine ctermfg=244 ctermbg=232 cterm=none
hi StatusLineNC ctermfg=244 ctermbg=232 cterm=none
hi LineNr ctermfg=244 ctermbg=232 cterm=none
" Vertical Delimiter
" Color: Grey27
hi VertSplit ctermfg=238 ctermbg=232 cterm=none
" Vim Folds
" Color: Grey78
" BgColor: Grey23
hi Folded ctermfg=251 ctermbg=237 cterm=bold
hi FoldColumn ctermfg=251 ctermbg=237 cterm=bold
" Diff
"hi DiffAdd ctermbg=darkblue term=none cterm=none
"hi DiffChange ctermbg=magenta cterm=none
"hi DiffDelete ctermfg=blue ctermbg=cyan
"hi DiffText cterm=bold ctermbg=red
" Cursor
" TODO maybe?
"hi Cursor ctermfg=black ctermbg=yellow
"hi lCursor ctermfg=black ctermbg=white
" Comments
" Color: Grey50
hi Comment ctermfg=244 cterm=none
" Constants (numbers)
" Color: MediumOrchid3
hi Constant ctermfg=98 cterm=none
" Escape sequences
" Color: LightGoldenrod3
hi Special ctermfg=179 cterm=none
" Identifier
hi Identifier ctermfg=131 cterm=none
" Preprocessor Define
" Color: Grey78
hi Define ctermfg=251 cterm=none
" Function
" Color: DarkSlateGray2 (Actually cyan but w/e)
hi Function ctermfg=87 cterm=none
" Keywords
" Color: Orange1
hi Statement ctermfg=214 cterm=none
hi type ctermfg=214 cterm=none
hi Keywords ctermfg=214 cterm=none
" Generic preprocessor
" Color: DodgerBlue1
hi PreProc ctermfg=33 cterm=none
" Underline
" TODO ?
hi Underlined cterm=underline
" Ignore
"hi Ignore ctermfg=bg
" Strings
" Color: Chartreuse4
hi String ctermfg=64
" YCM highlighting stuff
hi YcmErrorSection ctermfg=203 cterm=underline
" Vim color file
" Maintainer: Oscar Brink <>
" Last Change: 2018 10 19
" This is the main file that calls the different lang files for the colors.
" File contains some general defaults.
hi cComment ctermfg=34 cterm=none
hi link cType cKeywords
hi link cStatement cKeywords
hi link cConditional cKeywords
hi link cRepeat cKeywords
hi link cLabel cKeywords
hi link cStorageClass cKeywords
hi link cOperator cKeywords
hi link cStructure cKeywords
hi cKeywords ctermfg=32 cterm=none
hi cString ctermfg=214 cterm=none
hi cSpecial ctermfg=150 cterm=none
hi cCharacter ctermfg=209 cterm=none
" Vim color file
" Maintainer: Oscar Brink <>
" Last Change: 2018 10 23
hi cobolReserved ctermfg=2
hi link cobolDivision cobolLabels
hi link cobolSection cobolLabels
hi link cobolParagraph cobolLabels
hi link cobolDivisionName cobolLabels
hi cobolLabels ctermfg=220
hi link cobolConstant cobolConstants
hi link cobolNumber cobolConstants
hi link cobolPic cobolConstants
hi link cobolString cobolConstants
hi cobolConstants ctermfg=111
" Vim color file
" Maintainer: Oscar Brink <>
" Last Change: 2018 10 08
" TODO sort shit out and comment
hi javaExternal ctermfg=214
hi javaDocComment ctermfg=112 cterm=none
hi javaDocTags ctermfg=112 cterm=underline
"hi javadocparam ctermfg=122 cterm=underline
hi javaCommentTitle ctermfg=112 cterm=none
hi javaFuncDef ctermfg=222
hi javaBraces ctermfg=251
hi javaAnnotation ctermfg=184
" Vim color file
" Maintainer: Oscar Brink <>
" Last Change: 2018 10 07
" MIPS-Registers
" Color: SteelBlue1
hi mipsRegister ctermfg=178
" MIPS-Registers
" Color: SteelBlue1
hi mipsRegisterToken ctermfg=251
" MIPS-Instructions
" Color: DarkSlateGray2
hi mipsInstruction ctermfg=228
" MIPS-Labels
" Color: Grey78
hi mipsLabel ctermfg=117
" MIPS-Directives (mem-vars or w/e)
" Color: Grey78
hi mipsDirective ctermfg=124
" Vim color file
" Maintainer: Oscar Brink <>
" Last Change: 2018 10 07
" The lines that are commented are not in use. These colors are 'inherited'
" from the main file. To override, simply uncomment them.
" Python class methods
hi pythonBuiltinMethods ctermfg=90
" TODO temp:
hi pythonSelf ctermfg=132
" All Python keywords
" Color: Orange1
hi link pythonStatement pythonAllKeywords
hi link pythonConditional pythonAllKeywords
hi link pythonRepeat pythonAllKeywords
hi link pythonOperator pythonAllKeywords
hi link pythonException pythonAllKeywords
hi link pythonInclude pythonAllKeywords
hi link pythonAsync pythonAllKeywords
hi pythonAllKeywords ctermfg=214 cterm=none
" Python builtin functions
" Color: SkyBlue2
hi link pythonBuiltin pythonAllBuiltins
hi link pythonExceptions pythonAllBuiltins
hi pythonAllBuiltins ctermfg=111 cterm=none
" Python decorators (@ sign normal color)
" Color: Yellow3
"hi pythonDecorator ctermfg=75 cterm=none
hi pythonDecoratorName ctermfg=184 cterm=none
" Python function names
" Color: LightGoldenRod2
hi pythonFunction ctermfg=222 cterm=none
" Python comments
" Color: Grey50
"hi pythonComment ctermfg=244 cterm=none
" Python todo TODO
" Color: Yellow1
"hi pythonTodo ctermfg=226 cterm=italic
" Python numbers (constants)
" Color: MediumOrchid3
"hi pythonNumber ctermfg=133 cterm=none
" Python Strings
" Color: Green4
"hi link pythonString pythonStringGroup
"hi link pythonRawString pythonStringGroup
"hi link pythonQuotes pythonStringGroup
"hi link pythonTripleQuotes pythonStringGroup
"hi pythonStringGroup ctermfg=64 cterm=none
" Python escape sequences
" Color: LightGoldenrod3
"hi pythonEscape ctermfg=179 cterm=none
" Vim color file
" Maintainer: Oscar Brink <>
" Last Change: 2019 01 12
hi link rustStorage rustKeyword
hi link rustType rustKeyword
hi link rustRepeat rustKeyword
hi link rustConditional rustKeyword
hi link rustEnumVariant rustKeyword
hi rustKeyword ctermfg=124
hi rustString ctermfg=208
hi rustModPath ctermfg=65
hi link rustOperator Normal
" Function names and macros
hi link rustFunction rustFunctionGroup
hi link rustFuncName rustFunctionGroup
hi link rustFuncCall rustFunctionGroup
hi link rustMacro rustFunctionGroup
hi rustFunctionGroup ctermfg=222
hi link rustCommentLine rustCommentGroup
hi link rustCommentLineDoc rustCommentGroup
hi rustCommentGroup ctermfg=34
" Vim color file
" Maintainer: Oscar Brink <>
" Last Change: 2018 10 07
" Vim Commands
" Color: Orange1
"hi vimCommand ctermfg=214
hi vimKeyword ctermfg=200
" VimGroup (syn hi groups)
" Color: Chartreuse2
hi vimGroup ctermfg=112
" Vim Hi Term variables
" Color: LightGoldenrod2
hi vimHiTerm ctermfg=221
" Vim PreProcessor stuff
" Color: LightSlateBlue
hi link vimCommentTitle vimPreProc
hi link vimEnvvar vimPreProc
hi link vimHiAttrib vimPreProc
hi link vimHLMod vimPreProc
hi link vimMenuName vimPreProc
hi link vimOption vimPreProc
hi vimPreProc ctermfg=105
" Vim Variables/Identifiers
" Color: DarkSlateGray3
hi link vimFuncVar vimIdentifiers
hi link vimSpecFile vimIdentifiers
hi link vimVar vimIdentifiers
hi vimIdentifiers ctermfg=251
" Setting vert lines for COBOL
set cc=7,11,73,80
set nocompatible " be iMproved, required
filetype off " required
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
" alternatively, pass a path where Vundle should install plugins
"call vundle#begin('~/some/path/here')
" let Vundle manage Vundle, required