Update nvim, kitty, aliasrc and envrc

master
Ian Mancini 4 years ago
parent 40f6958a00
commit 2c87f475c9

@ -0,0 +1,42 @@
#!/bin/bash
declare -A COLORS
COLORS=(\
[color0]="#000000" \
[color1]="#CC3E28" \
[color2]="#216609" \
[color3]="#B58900" \
[color4]="#1E6FCC" \
[color5]="#5C21A5" \
[color6]="#158C86" \
[color7]="#FFFFFF" \
[color8]="#555555" \
[color9]="#CC3E28" \
[color10]="#216609" \
[color11]="#B58900" \
[color12]="#1E6FCC" \
[color13]="#5C21A5" \
[color14]="#158c86" \
[color15]="#3E4452" \
[background]="#F2EEDE" \
[lightbackground]="${COLORS[color7]}" \
[foreground]="#000000" \
[darkforeground]="${COLORS[color8]}" \
[red]="${COLORS[color1]}" \
[green]="${COLORS[color2]}" \
[yellow]="${COLORS[color3]}" \
[blue]="${COLORS[color4]}" \
[purple]="${COLORS[color5]}" \
[magenta]="${COLORS[color5]}" \
[cyan]="${COLORS[color6]}" \
[orange]="${COLORS[color3]}" \
[currentline]="${COLORS[color8]}" \
[selection]="#D8D5C7" \
[comment]="${COLORS[darkforeground]}" \
[cursor]="${COLORS[foreground]}" \
)
VIMCOLORSCHEME="paper"
VIMLIGHTLINE="nord"
VIMBACKGROUND="light"

@ -13,8 +13,6 @@ alias \
# Color # Color
alias \ alias \
ls="ls -hN --group-directories-first --color=auto" \
ll="ls -lahN --group-directories-first --color=auto" \
grep="grep -i --color=auto" \ grep="grep -i --color=auto" \
Grep="grep --color=auto" \ Grep="grep --color=auto" \
diff="diff --color=auto" diff="diff --color=auto"
@ -24,11 +22,12 @@ alias startx="startx ~/.xinitrc"
# Improved coreutils # Improved coreutils
alias \ alias \
ls="ls-icons" \ ls="ls-icons -hN --group-directories-first --color=auto" \
ll="ls-icons -lahN --group-directories-first --color=auto" \
cat="bat" \ cat="bat" \
top="gotop"\ top="gotop"\
cp="advcp -pi" \ cp="advcp -pi" \
mv="advmv -pi" mv="advmv -gi"
# Other software # Other software
alias \ alias \

@ -52,10 +52,10 @@ n() {
} }
export NNN_BMS='D:~/Documents;n:~/Nextcloud;d:~/Downloads/;s:~/Sandbox;p:~/Pictures' export NNN_BMS='D:~/Documents;n:~/Nextcloud;d:~/Downloads/;s:~/Sandbox;p:~/Pictures'
export NNN_SSHFS="sshfs -o follow_symlinks" # make sshfs follow symlinks on the remote export NNN_SSHFS="sshfs -o follow_symlinks" # make sshfs follow symlinks on the remote
export NNN_COLORS="2136" # use a different color for each context export NNN_COLORS="2136" # use a different color for each context
export NNN_TRASH=1 # trash (needs trash-cli) instead of delete export NNN_TRASH=1 # trash (needs trash-cli) instead of delete
export NNN_PLUG='p:preview-tabbed;m:nmount;b:bookmarks;c:chksum;l:launch;n:nuke' export NNN_PLUG='p:preview-tabbed;m:nmount;c:chksum;l:launch;n:nuke;d:dragdrop'
# fzf # fzf
export FZF_DEFAULT_COMMAND='ag --hidden --ignore .git -g ""' export FZF_DEFAULT_COMMAND='ag --hidden --ignore .git -g ""'

@ -153,6 +153,8 @@ bindsym $mod+Shift+p exec --no-startup-id ~/.bin/rofi-passmenu
bindsym $mod+p exec --no-startup-id ~/.bin/rofi-xrandr bindsym $mod+p exec --no-startup-id ~/.bin/rofi-xrandr
bindsym $mod+Shift+c exec --no-startup-id ~/.bin/rofi-project bindsym $mod+Shift+c exec --no-startup-id ~/.bin/rofi-project
# nnn
bindsym $mod+n exec --no-startup-id ~/.bin/nnnfm
############## ##############
# Workspaces # # Workspaces #
@ -194,6 +196,7 @@ assign [class="^Nautilus$"] → $ws1
assign [class="^pcmanfm$"] → $ws1 assign [class="^pcmanfm$"] → $ws1
assign [class="^Pcmanfm$"] → $ws1 assign [class="^Pcmanfm$"] → $ws1
assign [class="^Thunar$"] → $ws1 assign [class="^Thunar$"] → $ws1
assign [class="^nnn$"] → $ws1
assign [class="^Firefox$"] → $ws2 assign [class="^Firefox$"] → $ws2
assign [class="^Chromium$" window_role="^browser$"] → $ws2 assign [class="^Chromium$" window_role="^browser$"] → $ws2

@ -69,7 +69,7 @@ adjust_column_width 0
#: symbol_map codepoints Font Family Name #: symbol_map codepoints Font Family Name
disable_ligatures never disable_ligatures always
#: Choose how you want to handle multi-character ligatures. The #: Choose how you want to handle multi-character ligatures. The
#: default is to always render them. You can tell kitty to not render #: default is to always render them. You can tell kitty to not render
@ -372,7 +372,7 @@ command_on_bell none
#: Window layout #: Window layout
remember_window_size yes remember_window_size no
initial_window_width 640 initial_window_width 640
initial_window_height 400 initial_window_height 400
@ -413,7 +413,7 @@ draw_minimal_borders yes
#: that setting a non-zero window margin overrides this and causes all #: that setting a non-zero window margin overrides this and causes all
#: borders to be drawn. #: borders to be drawn.
window_margin_width 18 window_margin_width 12
#: The window margin (in pts) (blank area outside the border). A #: The window margin (in pts) (blank area outside the border). A
#: single value sets all four sides. Two values set the vertical and #: single value sets all four sides. Two values set the vertical and

@ -11,6 +11,7 @@ Plug 'dracula/vim', { 'as': 'dracula' }
Plug 'altercation/vim-colors-solarized' Plug 'altercation/vim-colors-solarized'
Plug 'arcticicestudio/nord-vim' Plug 'arcticicestudio/nord-vim'
Plug 'joshdick/onedark.vim' Plug 'joshdick/onedark.vim'
Plug 'https://gitlab.com/yorickpeterse/vim-paper'
Plug 'itchyny/lightline.vim' Plug 'itchyny/lightline.vim'
Plug 'daviesjamie/vim-base16-lightline' Plug 'daviesjamie/vim-base16-lightline'

@ -12,7 +12,7 @@ FONTBOLDITALIC="$FONT $FONTSTYLE $FONTBOLDSTYLE $FONTITALICSTYLE"
ICONFONT="Noto Color Emoji" ICONFONT="Noto Color Emoji"
FONTSIZE="11" FONTSIZE="11"
TERMINAL="alacritty" TERMINAL="kitty"
declare -A POLYBAR declare -A POLYBAR
POLYBAR=(\ POLYBAR=(\

@ -0,0 +1,42 @@
#!/bin/bash
FONT="Source Code Pro"
FONTSTYLE="Medium"
FONTBOLDSTYLE="Bold"
FONTITALICSTYLE="Italic"
FONTBOLDITALICSTYLE="$FONTBOLDSTYLE $FONTITALICSTYLE"
FONTNORMAL="$FONT $FONTSTYLE"
FONTITALIC="$FONT $FONTSTYLE $FONTITALICSTYLE"
FONTBOLD="$FONT $FONTSTYLE $FONTBOLDSTYLE"
FONTBOLDITALIC="$FONT $FONTSTYLE $FONTBOLDSTYLE $FONTITALICSTYLE"
ICONFONT="Noto Color Emoji"
FONTSIZE="11"
TERMINAL="kitty"
declare -A POLYBAR
POLYBAR=(\
[modulesleft]="i3" \
[modulescenter]="" \
[modulesright]="eth wifi cpu memory volume batteryemoji time date xkeyboard" \
[textoffset]="3" \
[iconfontscale]="8" \
[antialias]="true" \
[bottom]="false" \
[height]="32" \
[i3label]="%icon%" \
[wifidev]="wlp3s0" \
[wifiicon]="📡" \
[ethdev]="enp2s0" \
[ethicon]="🔌" \
[cpuicon]="💻" \
[ramicon]="🧠" \
[dateicon]="📅" \
[timeicon]="🕖" \
[volumeicon]="🔊" \
[muteicon]="🔈" \
[layouticon]="⌨️" \
[chargingicon]="🔋⬆️" \
[fullicon]="🔋" \
[dischargingicon]="🔋⬇️" \
)
Loading…
Cancel
Save