Moved to correct placement in .config instead of .i3

Started adding support for ultrawide monitor at home
This commit is contained in:
Jesper Fussing Mørk 2018-11-06 09:06:29 +01:00
parent 525d830ba7
commit 3af55a0501
51 changed files with 524 additions and 82 deletions

View File

@ -172,7 +172,8 @@ stty -echoctl
export M2_HOME=/home/jfm/Tools/apache-maven export M2_HOME=/home/jfm/Tools/apache-maven
export PATH=$PATH:$M2_HOME/bin:/home/jfm/Tools/openshift-origin-client/ export PATH=$PATH:$M2_HOME/bin:/home/jfm/Tools/openshift-origin-client/
export GIT_EDITOR=vim export GIT_EDITOR=vim
export EDITOR="nvr -s --remote"
export VISUAL="nvr -s --remote"
#Aliases #Aliases
#alias oc="/home/jfm/Tools/openshift-origin-client/oc" #alias oc="/home/jfm/Tools/openshift-origin-client/oc"
alias ocdev="oc -n onboarding-dev" alias ocdev="oc -n onboarding-dev"

View File

@ -116,6 +116,11 @@ frame-opacity = 1;
inactive-opacity-override = false; inactive-opacity-override = false;
alpha-step = 0.06; alpha-step = 0.06;
opacity-rule = [
"100:name = 'Netflix'",
"100:class_g = 'Google-chrome'"
];
# Dim inactive windows. (0.0 - 1.0) # Dim inactive windows. (0.0 - 1.0)
# inactive-dim = 0.2; # inactive-dim = 0.2;
# Do not let dimness adjust based on window opacity. # Do not let dimness adjust based on window opacity.
@ -127,6 +132,9 @@ alpha-step = 0.06;
# Do not let blur radius adjust based on window opacity. # Do not let blur radius adjust based on window opacity.
blur-background-fixed = false; blur-background-fixed = false;
blur-background-exclude = [ blur-background-exclude = [
"name = 'Netflix'",
"class_g = 'netflix.com'",
"class_g = 'Google-chrome'",
"window_type = 'dock'", "window_type = 'dock'",
"window_type = 'desktop'" "window_type = 'desktop'"
]; ];
@ -149,7 +157,11 @@ fade-out-step = 0.03;
# no-fading-openclose = true; # no-fading-openclose = true;
# Specify a list of conditions of windows that should not be faded. # Specify a list of conditions of windows that should not be faded.
fade-exclude = [ ]; fade-exclude = [
"name = 'Netflix'",
"class_g = 'netflix.com'",
"class_g = 'Google-chrome'"
];
################################# #################################
# #

View File

@ -145,15 +145,15 @@ bindsym $mod+Shift+9 move container to workspace $ws9; workspace $ws9
bindsym $mod+Shift+0 move container to workspace $ws0; workspace $ws0 bindsym $mod+Shift+0 move container to workspace $ws0; workspace $ws0
# WORKSPACE CREATION # WORKSPACE CREATION
bindsym $mod+Ctrl+1 exec --no-startup-id ~/.i3/workspaces/ws01.sh bindsym $mod+Ctrl+1 exec --no-startup-id ~/.config/i3/workspaces/ws01.sh
bindsym $mod+Ctrl+2 exec --no-startup-id ~/.i3/workspaces/ws02.sh bindsym $mod+Ctrl+2 exec --no-startup-id ~/.config/i3/workspaces/ws02.sh
bindsym $mod+Ctrl+3 exec --no-startup-id ~/.i3/workspaces/ws03.sh bindsym $mod+Ctrl+3 exec --no-startup-id ~/.config/i3/workspaces/ws03.sh
bindsym $mod+Ctrl+4 exec --no-startup-id ~/.i3/workspaces/ws04.sh bindsym $mod+Ctrl+4 exec --no-startup-id ~/.config/i3/workspaces/ws04.sh
#bindsym $mod+Ctrl+5 exec --no-startup-id ~/.i3/workspaces/ws05.sh #bindsym $mod+Ctrl+5 exec --no-startup-id ~/.config/i3/workspaces/ws05.sh
#bindsym $mod+Ctrl+6 exec --no-startup-id ~/.i3/workspaces/ws06.sh #bindsym $mod+Ctrl+6 exec --no-startup-id ~/.config/i3/workspaces/ws06.sh
#bindsym $mod+Ctrl+7 exec --no-startup-id ~/.i3/workspaces/ws07.sh #bindsym $mod+Ctrl+7 exec --no-startup-id ~/.config/i3/workspaces/ws07.sh
bindsym $mod+Ctrl+9 exec --no-startup-id ~/.i3/workspaces/ws09.sh bindsym $mod+Ctrl+9 exec --no-startup-id ~/.config/i3/workspaces/ws09.sh
bindsym $mod+Ctrl+0 exec --no-startup-id ~/.i3/workspaces/ws00.sh bindsym $mod+Ctrl+0 exec --no-startup-id ~/.config/i3/workspaces/ws00.sh
# Open specific applications in floating mode # Open specific applications in floating mode
for_window [class="^.*"] border pixel 0 for_window [class="^.*"] border pixel 0
@ -161,6 +161,7 @@ for_window [class="Nitrogen"] floating enable sticky enable border none
for_window [class="feh"] floating enable sticky enable border none for_window [class="feh"] floating enable sticky enable border none
for_window [class="mpv"] floating enable sticky enable border none for_window [class="mpv"] floating enable sticky enable border none
for_window [class="^jetbrains-.+"][window_type=dialog] focus for_window [class="^jetbrains-.+"][window_type=dialog] focus
for_window [class="Arandr"] floating enable sticky enable border none
# reload the configuration file # reload the configuration file
bindsym $mod+Shift+c reload bindsym $mod+Shift+c reload
@ -233,4 +234,4 @@ smart_gaps on
smart_borders on smart_borders on
#### Custom Config #### Custom Config
exec --no-startup-id /home/jfm/.i3/scripts/start_layout.sh exec --no-startup-id /home/jfm/.config/i3/scripts/start_layout.sh

View File

Before

Width:  |  Height:  |  Size: 4.6 KiB

After

Width:  |  Height:  |  Size: 4.6 KiB

View File

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 14 KiB

View File

@ -37,7 +37,7 @@
"y": 0 "y": 0
}, },
"name": "shell1", "name": "shell1",
"percent": 0.5, "percent": 0.7,
"swallows": [ "swallows": [
{ {
"class": "^Termite$", "class": "^Termite$",
@ -57,7 +57,7 @@
"y": 0 "y": 0
}, },
"name": "shell2", "name": "shell2",
"percent": 0.5, "percent": 0.3,
"swallows": [ "swallows": [
{ {
"class": "^Termite$", "class": "^Termite$",

View File

@ -0,0 +1,125 @@
{
"border": "none",
"floating": "auto_off",
"layout": "splitv",
"percent": 0.333333333333333,
"type": "con",
"nodes": [
{
"border": "pixel",
"current_border_width": 0,
"floating": "auto_off",
"geometry": {
"height": 466,
"width": 739,
"x": 0,
"y": 0
},
"name": "jfm@moerks:~",
"percent": 0.5,
"swallows": [
{
"class": "^Termite$"
}
],
"type": "con"
},
{
"border": "pixel",
"current_border_width": 0,
"floating": "auto_off",
"geometry": {
"height": 466,
"width": 739,
"x": 0,
"y": 0
},
"name": "jfm@moerks:~",
"percent": 0.5,
"swallows": [
{
"class": "^Termite$"
}
],
"type": "con"
}
]
}
{
"border": "none",
"floating": "auto_off",
"layout": "splitv",
"percent": 0.333333333333333,
"type": "con",
"nodes": [
{
"border": "pixel",
"current_border_width": 0,
"floating": "auto_off",
"geometry": {
"height": 466,
"width": 739,
"x": 0,
"y": 0
},
"name": "jfm@moerks:~",
"percent": 0.5,
"swallows": [
{
"class": "^Termite$"
}
],
"type": "con"
},
{
"border": "pixel",
"current_border_width": 0,
"floating": "auto_off",
"geometry": {
"height": 466,
"width": 739,
"x": 0,
"y": 0
},
"name": "jfm@moerks:~",
"percent": 0.5,
"swallows": [
{
"class": "^Termite$"
}
],
"type": "con"
}
]
}
{
"border": "none",
"floating": "auto_off",
"layout": "splitv",
"percent": 0.333333333333333,
"type": "con",
"nodes": [
{
"border": "pixel",
"current_border_width": 0,
"floating": "auto_off",
"geometry": {
"height": 466,
"width": 739,
"x": 0,
"y": 0
},
"name": "jfm@moerks:~",
"percent": 1,
"swallows": [
{
"class": "^Termite$"
}
],
"type": "con"
}
]
}

View File

@ -0,0 +1,80 @@
{
"border": "pixel",
"current_border_width": 0,
"floating": "auto_off",
"geometry": {
"height": 466,
"width": 739,
"x": 0,
"y": 0
},
"name": "Chrome",
"percent": 0.333333333333333,
"swallows": [
{
"class": "^Google\\-chrome"
}
],
"type": "con"
}
{
"border": "none",
"floating": "auto_off",
"layout": "splith",
"percent": 0.41875,
"type": "con",
"nodes": [
{
"border": "pixel",
"current_border_width": 0,
"floating": "auto_off",
"geometry": {
"height": 466,
"width": 739,
"x": 0,
"y": 0
},
"name": "IntelliJ",
"percent": 0.595663265306122,
"swallows": [
{
"class": "^Termite$",
"title": "^vim$"
}
],
"type": "con"
}
]
}
{
"border": "none",
"floating": "auto_off",
"layout": "splitv",
"percent": 0.247916666666667,
"type": "con",
"nodes": [
{
"border": "pixel",
"current_border_width": 0,
"floating": "auto_off",
"geometry": {
"height": 466,
"width": 739,
"x": 0,
"y": 0
},
"name": "Shell",
"percent": 0.5,
"swallows": [
{
"class": "^Termite$",
"title": "^shell$"
}
],
"type": "con"
}
]
}

View File

@ -0,0 +1,148 @@
{
"border": "pixel",
"current_border_width": 0,
"floating": "auto_off",
"geometry": {
"height": 466,
"width": 739,
"x": 0,
"y": 0
},
"name": "Chrome",
"percent": 0.333333333333333,
"swallows": [
{
"class": "^Google\\-chrome"
}
],
"type": "con"
}
{
"border": "none",
"floating": "auto_off",
"layout": "splith",
"percent": 0.41875,
"type": "con",
"nodes": [
{
"border": "pixel",
"current_border_width": 0,
"floating": "auto_off",
"geometry": {
"height": 466,
"width": 739,
"x": 0,
"y": 0
},
"name": "NeoVim",
"percent": 0.595663265306122,
"swallows": [
{
"class": "^Termite$",
"title": "^vim$"
}
],
"type": "con"
},
{
"border": "none",
"floating": "auto_off",
"layout": "splitv",
"percent": 0.404336734693878,
"type": "con",
"nodes": [
{
"border": "pixel",
"current_border_width": 0,
"floating": "auto_off",
"geometry": {
"height": 466,
"width": 739,
"x": 0,
"y": 0
},
"name": "Shell",
"percent": 0.791666666666667,
"swallows": [
{
"class": "^Termite$",
"title": "^shell1$"
}
],
"type": "con"
},
{
"border": "pixel",
"current_border_width": 0,
"floating": "auto_off",
"geometry": {
"height": 466,
"width": 739,
"x": 0,
"y": 0
},
"name": "Ranger",
"percent": 0.208333333333333,
"swallows": [
{
"class": "^Termite$",
"title": "^ranger$"
}
],
"type": "con"
}
]
}
]
}
{
"border": "none",
"floating": "auto_off",
"layout": "splitv",
"percent": 0.247916666666667,
"type": "con",
"nodes": [
{
"border": "pixel",
"current_border_width": 0,
"floating": "auto_off",
"geometry": {
"height": 466,
"width": 739,
"x": 0,
"y": 0
},
"name": "Netflix",
"percent": 0.5,
"swallows": [
{
"class": "^Netflix$"
}
],
"type": "con"
},
{
"border": "pixel",
"current_border_width": 0,
"floating": "auto_off",
"geometry": {
"height": 466,
"width": 739,
"x": 0,
"y": 0
},
"name": "WeeChat",
"percent": 0.5,
"swallows": [
{
"class": "^Termite$",
"title": "^weechat$"
}
],
"type": "con"
}
]
}

View File

@ -2,18 +2,18 @@
if [[ $(iwgetid -r) = *adazio* ]]; if [[ $(iwgetid -r) = *adazio* ]];
then then
~/.i3/scripts/work-monitors.sh & ~/.config/i3/scripts/work-monitors.sh &
~/.i3/scripts/work-layout.sh & ~/.config/i3/scripts/work-layout.sh &
fi fi
if [[ $(iwgetid -r) = *moerks.dk* ]]; if [[ $(iwgetid -r) = *moerks.dk* ]];
then then
~/.i3/scripts/home-monitors.sh & ~/.config/i3/scripts/home-monitors.sh &
sleep 5 sleep 5
~/.i3/scripts/home-layout.sh & ~/.config/i3/scripts/home-layout.sh &
fi fi
sleep 1 sleep 1
. ~/.i3/env . ~/.config/i3/env
echo $PRIMARY echo $PRIMARY
echo $SECONDARY echo $SECONDARY

View File

@ -1,14 +1,13 @@
#!/bin/sh #!/bin/sh
ENV_FILE="/home/jfm/.i3/env" ENV_FILE="/home/jfm/.config/i3/env"
/bin/cat <<EOM >$ENV_FILE /bin/cat <<EOM >$ENV_FILE
export LAPTOP="DP1-3" export LAPTOP="DP1-3"
export PRIMARY="DP1-3" export PRIMARY="DP1-3"
export SECONDARY="DP1-2" export SECONDARY="DP1-2"
export LDPI_PROFILE="default" export LOCATION="home"
export HDPI_PROFILE="laptop"
EOM EOM
. $ENV_FILE . $ENV_FILE

View File

@ -1,6 +1,6 @@
#!/bin/sh #!/bin/sh
ENV_FILE="/home/jfm/.i3/env" ENV_FILE="/home/jfm/.config/i3/env"
/bin/cat <<EOM >$ENV_FILE /bin/cat <<EOM >$ENV_FILE
export LAPTOP="eDP1" export LAPTOP="eDP1"

View File

@ -6,7 +6,7 @@ monitors=`eval $CONNECTED_CMD`
sleep 5 sleep 5
if [ $monitors -gt 1 ] if [ $monitors -gt 1 ]
then then
~/.i3/scripts/dock.sh & ~/.config/i3/scripts/dock.sh &
else else
~/.i3/scripts/undock.sh & ~/.config/i3/scripts/undock.sh &
fi fi

View File

@ -1,11 +1,11 @@
#!/bin/bash #!/bin/bash
~/.i3/scripts/laptop-monitors.sh & ~/.config/i3/scripts/laptop-monitors.sh &
sleep 3 sleep 3
~/.i3/scripts/laptop-layout.sh & ~/.config/i3/scripts/laptop-layout.sh &
sleep 1 sleep 1
. ~/.i3/env . ~/.config/i3/env
echo $PRIMARY echo $PRIMARY
echo $SECONDARY echo $SECONDARY

View File

@ -1,6 +1,6 @@
#!/bin/sh #!/bin/sh
ENV_FILE="/home/jfm/.i3/env" ENV_FILE="/home/jfm/.config/i3/env"
/bin/cat <<EOM >$ENV_FILE /bin/cat <<EOM >$ENV_FILE
export LAPTOP="eDP1" export LAPTOP="eDP1"

View File

Before

Width:  |  Height:  |  Size: 94 KiB

After

Width:  |  Height:  |  Size: 94 KiB

View File

Before

Width:  |  Height:  |  Size: 240 KiB

After

Width:  |  Height:  |  Size: 240 KiB

View File

Before

Width:  |  Height:  |  Size: 9.4 MiB

After

Width:  |  Height:  |  Size: 9.4 MiB

View File

@ -0,0 +1,5 @@
#!/bin/bash
. ~/.config/i3/env
i3-msg "workspace 0:; append_layout ~/.config/i3/layouts/workspace0-irc.json"
i3-msg "workspace 0:; exec termite -t weechat -e weechat"
i3-msg "workspace 0:; move workspace to output $SECONDARY"

View File

@ -0,0 +1,17 @@
#!/bin/bash
. ~/.config/i3/env
if [ $LOCATION = "home" ];
then
i3-msg "workspace 1:; append_layout ~/.config/i3/layouts/ws-comms-wide.json"
i3-msg "workspace 1:; exec google-chrome-stable --app=https://mail.google.com"
i3-msg "workspace 1:; exec google-chrome-stable --app=https://calendar.google.com"
i3-msg "workspace 1:; exec google-chrome-stable --app=https://chat.google.com"
i3-msg "workspace 1:; exec google-chrome-stable --app=https://messages.android.com"
i3-msg "workspace 1:; exec google-chrome-stable --app=https://mattermost.yousee.dk/tdcgroup/channels/onboarding"
i3-msg "workspace 1:; move workspace to output $PRIMARY"
else
i3-msg "workspace 1:; append_layout ~/.config/i3/layouts/workspace1-comms.json"
i3-msg "workspace 1:; exec google-chrome-stable --no-default-browser-check --new-window https://www.toggl.com/app/timer https://mail.google.com/mail/u/0/#inbox https://calendar.google.com/calendar/r?tab=mc https://chat.google.com https://messages.android.com https://mattermost.yousee.dk/tdcgroup/channels/onboarding"
i3-msg "workspace 1:; move workspace to output $LAPTOP"
fi

View File

@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
. ~/.i3/env . ~/.config/i3/env
i3-msg "workspace 2:: append_layout ~/.i3/layouts/workspace2-web.json" i3-msg "workspace 2:: append_layout ~/.config/i3/layouts/workspace2-web.json"
i3-msg "workspace 2:; exec google-chrome-stable --no-default-browser-check --new-window" i3-msg "workspace 2:; exec google-chrome-stable --no-default-browser-check --new-window"
i3-msg "workspace 2:; move workspace to output $PRIMARY" i3-msg "workspace 2:; move workspace to output $PRIMARY"

View File

@ -0,0 +1,11 @@
#!/bin/bash
. ~/.config/i3/env
if [ $LOCATION = "home" ];
then
i3-msg "workspace 3:IDE; append_layout ~/.config/i3/layouts/ws-ide-wide.json"
i3-msg "workspace 3:IDE; move workspace to output $PRIMARY"
else
i3-msg "workspace 3:IDE; append_layout ~/.config/i3/layouts/workspace3-ide.json"
i3-msg "workspace 3:IDE; move workspace to output $PRIMARY"
fi

View File

@ -0,0 +1,20 @@
#!/bin/bash
. ~/.config/i3/env
if [ $LOCATION = "home" ];
then
i3-msg "workspace 4:; append_layout ~/.config/i3/layouts/ws-work-wide.json"
i3-msg "workspace 4:; exec google-chrome-stable --no-default-browser-check --new-window"
i3-msg "workspace 4:; exec termite -t vim -e 'nvr -s --remote'"
i3-msg "workspace 4:; exec termite -t shell1"
i3-msg "workspace 4:; exec termite -t ranger -e ~/.config/ranger/ranger.sh"
i3-msg "workspace 4:; exec google-chrome-stable --app=http://netflix.com"
i3-msg "workspace 4:; exec termite -t weechat -e weechat"
i3-msg "workspace 4:; move workspace to output $PRIMARY"
else
i3-msg "workspace 4:; append_layout ~/.config/i3/layouts/workspace4-work.json"
i3-msg "workspace 4:; exec termite -t shell1"
i3-msg "workspace 4:; exec termite -t shell2 -e ~/.config/ranger/ranger.sh"
i3-msg "workspace 4:; exec termite -t vim -e 'nvr -s --remote'"
i3-msg "workspace 4:; move workspace to output $PRIMARY"
fi

View File

@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
. ~/.i3/env . ~/.config/i3/env
i3-msg "workspace 5:OC; append_layout ~/.i3/layouts/workspace5-oc.json" i3-msg "workspace 5:OC; append_layout ~/.config/i3/layouts/workspace5-oc.json"
i3-msg "workspace 5:OC; exec urxvt -name oc-shell1" i3-msg "workspace 5:OC; exec urxvt -name oc-shell1"
i3-msg "workspace 5:OC; exec urxvt -name oc-shell2" i3-msg "workspace 5:OC; exec urxvt -name oc-shell2"
i3-msg "workspace 5:OC; exec urxvt -name oc-shell3" i3-msg "workspace 5:OC; exec urxvt -name oc-shell3"

View File

@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
. ~/.i3/env . ~/.config/i3/env
i3-msg "workspace 6:Logs; append_layout ~/.i3/layouts/workspace6-logs.json" i3-msg "workspace 6:Logs; append_layout ~/.config/i3/layouts/workspace6-logs.json"
i3-msg "workspace 6:Logs; exec urxvt -name logs-shell1" i3-msg "workspace 6:Logs; exec urxvt -name logs-shell1"
i3-msg "workspace 6:Logs; exec urxvt -name logs-shell2" i3-msg "workspace 6:Logs; exec urxvt -name logs-shell2"
i3-msg "workspace 6:Logs; exec urxvt -name logs-shell3" i3-msg "workspace 6:Logs; exec urxvt -name logs-shell3"

View File

@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash
. ~/.i3/env . ~/.config/i3/env
i3-msg "workspace 9:; append_layout ~/.i3/layouts/workspace9-news.json" i3-msg "workspace 9:; append_layout ~/.config/i3/layouts/workspace9-news.json"
i3-msg "workspace 9:; exec termite -t newsboat -e newsboat" i3-msg "workspace 9:; exec termite -t newsboat -e newsboat"
i3-msg "workspace 9:; exec termite -t hackernews -d '/home/jfm/Repositories/bark' -e 'pipenv run python Bark.py'" i3-msg "workspace 9:; exec termite -t hackernews -d '/home/jfm/Repositories/bark' -e 'pipenv run python Bark.py'"
i3-msg "workspace 9:; exec termite -t rtv -e 'rtv --enable-media --theme solarized-dark'" i3-msg "workspace 9:; exec termite -t rtv -e 'rtv --enable-media --theme solarized-dark'"

View File

@ -1,6 +0,0 @@
#!/bin/bash
. ~/.i3/env
i3-msg "workspace 0:; append_layout ~/.i3/layouts/workspace0-irc.json"
i3-msg "workspace 0:; exec termite -t weechat -e weechat"
i3-msg "workspace 0:; exec termite -t weechat -e weechat"
i3-msg "workspace 0:; move workspace to output $SECONDARY"

View File

@ -1,6 +0,0 @@
#!/bin/bash
. ~/.i3/env
i3-msg "workspace 1:; append_layout ~/.i3/layouts/workspace1-comms.json"
i3-msg "workspace 1:; exec google-chrome-stable --no-default-browser-check --new-window https://www.toggl.com/app/timer https://mail.google.com/mail/u/0/#inbox https://calendar.google.com/calendar/r?tab=mc https://chat.google.com https://messages.android.com https://mattermost.yousee.dk/tdcgroup/channels/onboarding"
i3-msg "workspace 1:; move workspace to output $LAPTOP"

View File

@ -1,6 +0,0 @@
#!/bin/bash
. ~/.i3/env
i3-msg "workspace 3:IDE; append_layout ~/.i3/layouts/workspace3-ide.json"
i3-msg "workspace 3:IDE; move workspace to output $PRIMARY"

View File

@ -1,8 +0,0 @@
#!/bin/bash
. ~/.i3/env
i3-msg "workspace 4:; append_layout ~/.i3/layouts/workspace4-work.json"
i3-msg "workspace 4:; exec termite -t shell1"
i3-msg "workspace 4:; exec termite -t shell2"
i3-msg "workspace 4:; exec termite -t vim -e 'nvr -s --remote'"
i3-msg "workspace 4:; move workspace to output $PRIMARY"

View File

@ -18,7 +18,10 @@ colorscheme solarized
"Plugins "Plugins
call plug#begin('~/.local/share/nvim/plugged') call plug#begin('~/.local/share/nvim/plugged')
Plug 'vim-airline/vim-airline' Plug 'vim-airline/vim-airline'
Plug 'davidhalter/jedi-vim' Plug 'vim-airline/vim-airline-themes'
Plug 'Valloric/YouCompleteMe'
Plug 'nvie/vim-flake8'
Plug 'vim-syntastic/syntastic'
call plug#end() call plug#end()
"Airline "Airline
@ -28,15 +31,29 @@ let g:airline_powerline_fonts = 1
let g:airline_theme='solarized' let g:airline_theme='solarized'
let g:airline_solarized_bg='dark' let g:airline_solarized_bg='dark'
"Jedi "YCM
let g:jedi#use_splits_not_buffers = "bottom" let g:ycm_server_python_interpreter = 'python2'
let g:jedi#show_call_signatures = "1" let g:ycm_autoclose_preview_window_after_completion=1
let g:ycm_min_num_of_chars_for_completion=5
let g:ycm_add_preview_to_completeopt = 1
"
let g:syntastic_python_checkers = ['python']
"Flake8
autocmd FileType python map <buffer> <F6> :call Flake8()<CR>
let g:flake8_show_in_gutter=1
"Mappings "Mappings
:nmap <c-s> :w<CR> :nmap <c-s> :w<CR>
:imap <c-s> <Esc>:w<CR>a :imap <c-s> <Esc>:w<CR>a
nnoremap <C-J> <C-W><C-J>
nnoremap <C-K> <C-W><C-K>
nnoremap <C-L> <C-W><C-L>
nnoremap <C-H> <C-W><C-H>
nnoremap <F7> :bp<CR> nnoremap <F7> :bp<CR>
nnoremap <F8> :bn<CR> nnoremap <F8> :bn<CR>
nnoremap <F9> :%!jq '.'
"AutoCommands "AutoCommands
au BufWinEnter * set number au BufWinEnter * set number

View File

@ -0,0 +1,4 @@
export EDITOR="nvr -s --remote"
export VISUAL="nvr -s --remote"
/usr/bin/ranger

View File

@ -0,0 +1,4 @@
setlocal path=/home/jfm/Customers preview_files false
setlocal path=/home/jfm/Repositories vcs_aware true
setlocal path=/home/jfm/Repositories preview_files false
setlocal path=/home/jfm/Repositories/dotfiles show_hidden true

View File

@ -1,15 +1,24 @@
! rofi.eh: 1
# rofi.location: 1 ! rofi.line-margin: 15
rofi.font: Source Code Pro for Powerline 10 !rofi.location: 4
!rofi.font: SanFranciscoDisplay-Regular 20
! rofi.levenshtein-sort: true
! rofi.sidebar-mode: true
! rofi.auto-select: true
rofi.fullscreen: true
rofi.separator-style: dash
rofi.hide-scrollbar: true
rofi.padding: 250
rofi.bw: 0
rofi.lines: 10 rofi.lines: 10
rofi.color-enabled: true rofi.line-padding: 10
rofi.bw: 5 rofi.font: Source Code Pro for Powerline 15
#rofi.color-window: #16a085, #16a085, #1e2529 rofi.show-icons: true
#rofi.color-normal: #16a085, #424242, #16a085
#rofi.color-active: #16a085, #424242, #16a085
#rofi.color-urgent: #16a085, #424242, #16a085
rofi.color-window: #002b36, #073642, #073642 ! Window 'background''border' 'separator'
rofi.color-normal: #002b36, #fdf6e3, #002b36, #b58900, #002b36 rofi.color-window: #A60f2536, #00000000, #268bd2
rofi.color-active: #002b36, #fdf6e3, #002b36, #b58900, #002b36
rofi.color-urgent: #002b36, #fdf6e3, #002b36, #b58900, #002b36 ! State 'bg', 'fg', 'altbg', 'hlbg', 'hlfg'
rofi.color-normal: #00000000, #fdf6e3, #00000000, #00000000, #268bd2
rofi.color-active: #00000000, #fdf6e3, #00000000, #00000000, #268bd2
rofi.color-urgent: #00000000, #fdf6e3, #00000000, #00000000, #268bd2

View File

@ -0,0 +1,15 @@
# rofi.location: 1
rofi.font: Source Code Pro for Powerline 10
rofi.lines: 10
rofi.color-enabled: true
rofi.bw: 5
#rofi.color-window: #16a085, #16a085, #1e2529
#rofi.color-normal: #16a085, #424242, #16a085
#rofi.color-active: #16a085, #424242, #16a085
#rofi.color-urgent: #16a085, #424242, #16a085
rofi.color-window: #002b36, #073642, #073642
rofi.color-normal: #002b36, #fdf6e3, #002b36, #b58900, #002b36
rofi.color-active: #002b36, #fdf6e3, #002b36, #b58900, #002b36
rofi.color-urgent: #002b36, #fdf6e3, #002b36, #b58900, #002b36