commit 4ff7c4873643fa3ca6169d4d22d200ef16d89d72
parent 4eb87b956a703831304402a984da0183f2050abf
Author: anders <anders@debian-acer.andersuno.nu>
Date: Mon, 18 Mar 2019 18:35:32 +0100
Changes to be committed:
modified: .Xdefaults
modified: .bash_aliases
modified: .bashrc
modified: .config/compton.conf
modified: .config/i3/config
modified: .config/ranger/history
modified: .config/terminator/config
new file: .fehbg
renamed: authorized_keys -> .ssh/authorized_keys
modified: .vimrc
Diffstat:
9 files changed, 72 insertions(+), 77 deletions(-)
diff --git a/.Xdefaults b/.Xdefaults
@@ -5,16 +5,19 @@
URxvt*depth: 32
URxvt.scrollBar: false
-URxvt.font: xft:bitstream Vera Sans Mono::bold:size=10:antialias=true
+URxvt.font: xft:bitstream Vera Sans Mono:size=10:antialias=true
URxvt.boldfont: xft:bitstream Vera Sans Mono:bold:size=10:antialias=true
-#URxvt.font: xft:inconsolata:pixelsize=13:antialias=true:hinting=true
-#URxvt.boldfont: xft:inconsolata:bold:pixelsize=13:antialias=true:hinting=true
-URxvt.letterSpace: -1
+
+
+#URxvt.font: xft:Consolas:pixelsize=13:antialias=true:hinting=true
+#URxvt.boldfont: xft:Consolas:bold:pixelsize=13:antialias=true:hinting=true
+
+URxvt.letterSpace: 0
URxvt.lineSpace: 0
! special
*.foreground: #ababab
-*.background: [95]#000000
+*.background: [85]#000000
*.cursorColor: #ababab
! black
diff --git a/.bashrc b/.bashrc
@@ -144,6 +144,7 @@ fi
set -o vi
+PATH=$PATH:/usr/sbin
PATH=$PATH:/home/anders/.vim/bundle
#Exports
diff --git a/.config/compton.conf b/.config/compton.conf
@@ -2,4 +2,5 @@ opacity-rule = [
#"10:class_i = 'screenfetch'",
#"95:class_g = 'UXTerm' && focused",
#"80:class_g = 'UXTerm' && !focused"
+ "85:class_g = 'Terminator'"
];
diff --git a/.config/i3/config b/.config/i3/config
@@ -31,9 +31,12 @@ floating_modifier $mod
# start a terminal
bindsym $mod+Return exec --no-startup-id "/home/anders/Scripts/terminator.sh"
-bindsym $mod+Shift+Return exec --no-startup-id urxvt
-bindsym $mod+BackSpace exec --no-startup-id st
-bindsym $mod+Shift+BackSpace exec --no-startup-idi3-sensible-terminal
+bindsym $mod+Shift+Return exec --no-startup-id "/home/anders/Scripts/terminatorlayout.sh"
+bindsym $mod+BackSpace exec --no-startup-id urxvt
+bindsym $mod+Shift+BackSpace exec --no-startup-id st
+
+#i3-sensible-terminal
+
# kill focused window
bindsym $mod+Shift+q kill
@@ -44,12 +47,23 @@ bindsym $mod+d exec dmenu_run
# installed.
# bindsym $mod+d exec --no-startup-id i3-dmenu-desktop
-#Use xprop, WM_CLASS(STRING) for for_window
+#Workspace names
+set $ws1 "1:"
+set $ws2 "2:"
+set $ws3 "3:"
+set $ws4 "4:"
+set $ws5 "5:"
+set $ws6 "6:"
+set $ws7 "7:"
+set $ws8 "8:"
+set $ws9 "9:"
+set $ws10 "10:"
-#Borders
+#Use xprop, WM_CLASS(STRING) for for_window
for_window [class="^.*"] border pixel 1
for_window [class="Firefox-esr"] border pixel 5
for_window [title="Terminator Preferences"] floating enable
+assign [class="Chromium"] $ws2
#Gaps
gaps inner 10
@@ -111,29 +125,30 @@ 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
+bindsym $mod+1 workspace $ws1
+bindsym $mod+2 workspace $ws2
+bindsym $mod+3 workspace $ws3
+bindsym $mod+4 workspace $ws4
+bindsym $mod+5 workspace $ws5
+bindsym $mod+6 workspace $ws6
+bindsym $mod+7 workspace $ws7
+bindsym $mod+8 workspace $ws8
+bindsym $mod+9 workspace $ws9
+bindsym $mod+0 workspace $ws10
# 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
+bindsym $mod+Shift+1 move container to workspace $ws1
+bindsym $mod+Shift+2 move container to workspace $ws2
+bindsym $mod+Shift+3 move container to workspace $ws3
+bindsym $mod+Shift+4 move container to workspace $ws4
+bindsym $mod+Shift+5 move container to workspace $ws5
+bindsym $mod+Shift+6 move container to workspace $ws6
+bindsym $mod+Shift+7 move container to workspace $ws7
+bindsym $mod+Shift+8 move container to workspace $ws8
+bindsym $mod+Shift+9 move container to workspace $ws9
+bindsym $mod+Shift+0 move container to workspace $ws10
# reload the configuration file
bindsym $mod+Shift+c reload
@@ -190,6 +205,7 @@ bindsym XF86AudioRaiseVolume exec --no-startup-id "pactl set-sink-volume 0 +5%"
bindsym XF86AudioLowerVolume exec --no-startup-id "pactl set-sink-volume 0 -5%"
bindsym XF86AudioMute exec --no-startup-id "pactl set-sink-mute 0 toggle"
+bindsym $mod+p exec "notify-send Hello, i3"
#bindsym $mod+ exec --no-startup-id
diff --git a/.config/ranger/history b/.config/ranger/history
@@ -11,6 +11,9 @@ set preview_images_method urxvt
set preview_images_method urxvt-full
search
search Down
-search wall
search w
search wal
+search wall
+search network
+search mnt
+search vir
diff --git a/.config/terminator/config b/.config/terminator/config
@@ -15,48 +15,6 @@
[[[window0]]]
parent = ""
type = Window
- [[New Layout]]
- [[[child0]]]
- fullscreen = False
- last_active_term = 5d421c9c-0319-4ba8-81b7-7376bcf0df4d
- last_active_window = True
- maximised = True
- order = 0
- parent = ""
- position = 20:20
- size = 1324, 705
- title = /bin/bash
- type = Window
- [[[child1]]]
- order = 0
- parent = child0
- position = 960
- ratio = 0.725075528701
- type = HPaned
- [[[child3]]]
- order = 1
- parent = child1
- position = 228
- ratio = 0.323404255319
- type = VPaned
- [[[terminal2]]]
- order = 0
- parent = child1
- profile = default
- type = Terminal
- uuid = 5d421c9c-0319-4ba8-81b7-7376bcf0df4d
- [[[terminal4]]]
- order = 0
- parent = child3
- profile = default
- type = Terminal
- uuid = 81796ed1-f5dc-42b9-b7a8-4793b3b79430
- [[[terminal5]]]
- order = 1
- parent = child3
- profile = default
- type = Terminal
- uuid = e71f8463-9c1a-473f-aabd-0f594de545ee
[[test]]
[[[child0]]]
fullscreen = False
@@ -78,8 +36,8 @@
[[[child3]]]
order = 1
parent = child1
- position = 228
- ratio = 0.323404255319
+ position = 202
+ ratio = 0.286524822695
type = VPaned
[[[terminal2]]]
order = 0
@@ -111,10 +69,13 @@
exit_action = hold
font = Mono 12
foreground_color = "#ffffff"
+ palette = "#000000:#cd0000:#00cd00:#cdcd00:#0000cd:#cd00cd:#00cdcd:#faebd7:#404040:#ff0000:#00ff00:#ffff00:#0000ff:#ff00ff:#00ffff:#ffffff"
scrollbar_position = hidden
show_titlebar = False
[[smallfont]]
+ cursor_blink = False
cursor_color = "#aaaaaa"
+ cursor_shape = ibeam
exit_action = hold
font = Monospace 7
scrollbar_position = hidden
diff --git a/.fehbg b/.fehbg
@@ -0,0 +1,2 @@
+#!/bin/sh
+feh --bg-scale '/home/anders/Wallpapers/gnu2.png'
diff --git a/authorized_keys b/.ssh/authorized_keys
diff --git a/.vimrc b/.vimrc
@@ -5,11 +5,12 @@ call vundle#begin()
Plugin 'gmarik/Vundle.vim'
Plugin 'vim-scripts/indentpython.vim'
Plugin 'vim-syntastic/syntastic'
+Plugin 'Valloric/YouCompleteMe'
Plugin 'nvie/vim-flake8'
Plugin 'vim-airline/vim-airline'
Plugin 'vim-airline/vim-airline-themes'
Plugin 'tpope/vim-fugitive'
-"Plugin 'airblade/vim-gitgutter'
+Plugin 'airblade/vim-gitgutter'
"Plugin 'Lokaltog/powerline', {'rtp': 'powerline/bindings/vim/'}
"plugins here-----
call vundle#end()
@@ -17,6 +18,12 @@ filetype plugin indent on
let python_highlight_all=1
+"Ycm
+let g:ycm_add_preview_to_completeopt = 0
+let g:ycm_autoclose_preview_window_after_completion = 1
+let g:ycm_autoclose_preview_window_after_insertion = 1
+
+
" Airline
let g:airline_powerline_fonts = 1
@@ -36,6 +43,7 @@ if !exists('g:airline_symbols')
let g:airline_symbols.paste = 'ρ'
let g:airline_symbols.paste = 'Þ'
let g:airline_symbols.paste = '∥'
+ let g:airline_symbols.notexists = 'Ɇ'
let g:airline_symbols.whitespace = 'Ξ'
" airline symbols
@@ -44,7 +52,7 @@ if !exists('g:airline_symbols')
let g:airline_right_sep = ''
let g:airline_right_alt_sep = ''
let g:airline_symbols.branch = ''
- let g:airline_symbols.readonly = ''
+ let g:airline_symbols.readonly = ' '
let g:airline_symbols.linenr = ''
" Powerline