From 333ce3d42b1525187fe74fd65e9e8579a189f94d Mon Sep 17 00:00:00 2001 From: olari Date: Sun, 16 Jun 2019 16:35:06 +0300 Subject: [PATCH] Update --- .config/alacritty/alacritty.yml | 37 +++++++++++++++ .config/fish/config.fish | 8 ++++ .config/fish/fish_variables | 33 ------------- .config/fish/functions/fish_mode_prompt.fish | 3 ++ .config/fish/functions/fish_prompt.fish | 46 ------------------ .config/nvim/init.vim | 1 + .config/ranger/rc.conf | 7 --- .config/termite/config | 50 -------------------- .tmux.conf | 2 +- .vimrc | 4 -- 10 files changed, 50 insertions(+), 141 deletions(-) create mode 100644 .config/alacritty/alacritty.yml create mode 100644 .config/fish/config.fish delete mode 100755 .config/fish/fish_variables create mode 100644 .config/fish/functions/fish_mode_prompt.fish delete mode 100755 .config/fish/functions/fish_prompt.fish create mode 100644 .config/nvim/init.vim delete mode 100755 .config/ranger/rc.conf delete mode 100644 .config/termite/config delete mode 100755 .vimrc diff --git a/.config/alacritty/alacritty.yml b/.config/alacritty/alacritty.yml new file mode 100644 index 0000000..be3be3f --- /dev/null +++ b/.config/alacritty/alacritty.yml @@ -0,0 +1,37 @@ +window: + decorations: none + start_maximized: true + +scrolling: + history: 0 + +tabspaces: 4 + +font: + size: 11.0 + +# dracula color theme +colors: + primary: + background: '0x282a36' + foreground: '0xf8f8f2' + + normal: + black: '0x000000' + red: '0xff5555' + green: '0x50fa7b' + yellow: '0xf1fa8c' + blue: '0xcaa9fa' + magenta: '0xff79c6' + cyan: '0x8be9fd' + white: '0xbfbfbf' + + bright: + black: '0x575b70' + red: '0xff6e67' + green: '0x5af78e' + yellow: '0xf4f99d' + blue: '0xcaa9fa' + magenta: '0xff92d0' + cyan: '0x9aedfe' + white: '0xe6e6e6' diff --git a/.config/fish/config.fish b/.config/fish/config.fish new file mode 100644 index 0000000..ca76cd8 --- /dev/null +++ b/.config/fish/config.fish @@ -0,0 +1,8 @@ +set -xU LESS_TERMCAP_md (printf "\e[01;31m") +set -xU LESS_TERMCAP_me (printf "\e[0m") +set -xU LESS_TERMCAP_se (printf "\e[0m") +set -xU LESS_TERMCAP_so (printf "\e[01;44;33m") +set -xU LESS_TERMCAP_ue (printf "\e[0m") +set -xU LESS_TERMCAP_us (printf "\e[01;32m") +set -xU PAGER less +set -xU EDITOR nvim diff --git a/.config/fish/fish_variables b/.config/fish/fish_variables deleted file mode 100755 index 3824beb..0000000 --- a/.config/fish/fish_variables +++ /dev/null @@ -1,33 +0,0 @@ -# This file contains fish universal variable definitions. -# VERSION: 3.0 -SETUVAR __fish_init_2_39_8:\x1d -SETUVAR __fish_init_2_3_0:\x1d -SETUVAR __fish_init_3_x:\x1d -SETUVAR fish_color_autosuggestion:BD93F9 -SETUVAR fish_color_cancel:\x2dr -SETUVAR fish_color_command:F8F8F2 -SETUVAR fish_color_comment:6272A4 -SETUVAR fish_color_cwd:green -SETUVAR fish_color_cwd_root:red -SETUVAR fish_color_end:50FA7B -SETUVAR fish_color_error:FFB86C -SETUVAR fish_color_escape:00a6b2 -SETUVAR fish_color_history_current:\x2d\x2dbold -SETUVAR fish_color_host:normal -SETUVAR fish_color_match:\x2d\x2dbackground\x3dbrblue -SETUVAR fish_color_normal:normal -SETUVAR fish_color_operator:00a6b2 -SETUVAR fish_color_param:FF79C6 -SETUVAR fish_color_quote:F1FA8C -SETUVAR fish_color_redirection:8BE9FD -SETUVAR fish_color_search_match:bryellow\x1e\x2d\x2dbackground\x3dbrblack -SETUVAR fish_color_selection:white\x1e\x2d\x2dbold\x1e\x2d\x2dbackground\x3dbrblack -SETUVAR fish_color_status:red -SETUVAR fish_color_user:brgreen -SETUVAR fish_color_valid_path:\x2d\x2dunderline -SETUVAR fish_greeting:\x1d -SETUVAR fish_key_bindings:fish_vi_key_bindings -SETUVAR fish_pager_color_completion:normal -SETUVAR fish_pager_color_description:B3A06D\x1eyellow -SETUVAR fish_pager_color_prefix:white\x1e\x2d\x2dbold\x1e\x2d\x2dunderline -SETUVAR fish_pager_color_progress:brwhite\x1e\x2d\x2dbackground\x3dcyan diff --git a/.config/fish/functions/fish_mode_prompt.fish b/.config/fish/functions/fish_mode_prompt.fish new file mode 100644 index 0000000..838ee86 --- /dev/null +++ b/.config/fish/functions/fish_mode_prompt.fish @@ -0,0 +1,3 @@ +function fish_mode_prompt + # Turns off mode indicator +end diff --git a/.config/fish/functions/fish_prompt.fish b/.config/fish/functions/fish_prompt.fish deleted file mode 100755 index 64e7fd6..0000000 --- a/.config/fish/functions/fish_prompt.fish +++ /dev/null @@ -1,46 +0,0 @@ -function fish_prompt --description 'Write out the prompt, prepending the Debian chroot environment if present' - if not set -q __fish_prompt_normal - set -g __fish_prompt_normal (set_color normal) - end - - if not set -q __fish_prompt_chroot_env - set -g __fish_prompt_chroot_env (set_color yellow) - end - - # Set variable identifying the chroot you work in (used in the prompt below) - if not set -q debian_chroot - and test -r /etc/debian_chroot - set debian_chroot (cat /etc/debian_chroot) - end - if not set -q __fish_debian_chroot_prompt - and set -q debian_chroot - and test -n "$debian_chroot" - set -g __fish_debian_chroot_prompt "($debian_chroot)" - end - - # Prepend the chroot environment if present - if set -q __fish_debian_chroot_prompt - echo -n -s "$__fish_prompt_chroot_env" "$__fish_debian_chroot_prompt" "$__fish_prompt_normal" ' ' - end - - switch "$USER" - case root toor - if not set -q __fish_prompt_cwd - if set -q fish_color_cwd_root - set -g __fish_prompt_cwd (set_color $fish_color_cwd_root) - else - set -g __fish_prompt_cwd (set_color $fish_color_cwd) - end - end - - echo -n -s "$USER" @ (prompt_hostname) ' ' "$__fish_prompt_cwd" (prompt_pwd) "$__fish_prompt_normal" '# ' - - case '*' - if not set -q __fish_prompt_cwd - set -g __fish_prompt_cwd (set_color $fish_color_cwd) - end - - echo -n -s "$USER" @ (prompt_hostname) ' ' "$__fish_prompt_cwd" (prompt_pwd) "$__fish_prompt_normal" '> ' - - end -end diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim new file mode 100644 index 0000000..d4c9199 --- /dev/null +++ b/.config/nvim/init.vim @@ -0,0 +1 @@ +set number diff --git a/.config/ranger/rc.conf b/.config/ranger/rc.conf deleted file mode 100755 index 59001c9..0000000 --- a/.config/ranger/rc.conf +++ /dev/null @@ -1,7 +0,0 @@ -#set show_hidden true -set preview_images true -set preview_images_method w3m -set preview_max_size 20000000 - -map mtd chain cut; mkdir !folder; cd !folder; paste; cd ..; shell sleep 0.250; move to=0; console rename%space -map shell dragon-drag-and-drop -a -x %p diff --git a/.config/termite/config b/.config/termite/config deleted file mode 100644 index 784ad1a..0000000 --- a/.config/termite/config +++ /dev/null @@ -1,50 +0,0 @@ -[colors] -# Base16 Dracula -# Author: Mike Barkmin (http://github.com/mikebarkmin) based on Dracula Theme (http://github.com/dracula) - -foreground = #e9e9f4 -foreground_bold = #f1f2f8 -cursor = #f1f2f8 -cursor_foreground = #282936 -background = rgba(40, 41, 54) - -# 16 color space - -# Black, Gray, Silver, White -color0 = #282936 -color8 = #4d4f68 -color7 = #e9e9f4 -color15 = #f7f7fb - -# Red -color1 = #ea51b2 -color9 = #ea51b2 - -# Green -color2 = #00f769 -color10 = #00f769 - -# Yellow -color3 = #ebff87 -color11 = #ebff87 - -# Blue -color4 = #62d6e8 -color12 = #62d6e8 - -# Purple -color5 = #b45bcf -color13 = #b45bcf - -# Teal -color6 = #a1efe4 -color14 = #a1efe4 - -# Extra colors -color16 = #b45bcf -color17 = #00f769 -color18 = #3a3c4e -color19 = #626483 -color20 = #62d6e8 -color21 = #f1f2f8 - diff --git a/.tmux.conf b/.tmux.conf index da02f00..f5ed87f 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -1,2 +1,2 @@ set -sg escape-time 0 -set -wg mode-keys vi +set -sg status-style "bg=#000000" diff --git a/.vimrc b/.vimrc deleted file mode 100755 index 2246e3b..0000000 --- a/.vimrc +++ /dev/null @@ -1,4 +0,0 @@ -syntax on -set number -set autoindent -set tabstop=8 softtabstop=0 expandtab shiftwidth=4 smarttab