aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAbdus <abdus@abdus.net>2020-12-14 00:04:05 +0530
committerAbdus <abdus@abdus.net>2021-01-26 20:34:16 +0530
commitdafb20a270b956ce35e1e5b2b8b320b0eb17e1aa (patch)
treebb9f284e0156150865b00e2206f71f58aea8053e
parentdbbbdf9b10cddd6534ef3f2f5fba877207035ad9 (diff)
downloaddotfiles-dafb20a270b956ce35e1e5b2b8b320b0eb17e1aa.tar.bz2
dotfiles-dafb20a270b956ce35e1e5b2b8b320b0eb17e1aa.zip
clean-up
-rw-r--r--README.md5
-rw-r--r--alacritty/alacritty.yml200
-rw-r--r--editor.pngbin334554 -> 0 bytes
-rw-r--r--kitty/kitty.conf4
-rw-r--r--sway/config21
-rw-r--r--vim/init.vim55
-rw-r--r--waybar/styles.d/style.material.css26
7 files changed, 230 insertions, 81 deletions
diff --git a/README.md b/README.md
index 61ec765..9d79404 100644
--- a/README.md
+++ b/README.md
@@ -26,8 +26,3 @@ through which I keep cycling. Following are a few of them:
- **Vim/Neovim**: Gruvbox(using now), Palenight, OceanicNext
- **Alacritty**: Palenight, Purify
- **Zsh**: flazz, agnoster
-
-<p align="center">
- <img src="./editor.png" alt="" />
- <div>NeoVim with Ayu theme. status bar is Waybar</div>
-</p>
diff --git a/alacritty/alacritty.yml b/alacritty/alacritty.yml
index 8b6fed9..36d9535 100644
--- a/alacritty/alacritty.yml
+++ b/alacritty/alacritty.yml
@@ -34,8 +34,8 @@ window:
# Blank space added around the window in pixels. This padding is scaled
# by DPI and the specified value is always added at both opposing sides.
padding:
- x: 2
- y: 2
+ x: 5
+ y: 5
# Spread additional padding evenly around the terminal content.
dynamic_padding: true
@@ -103,7 +103,7 @@ gtk_theme_variant: dark
font:
# Normal (roman) font face
normal:
- family: "space mono"
+ family: "Operator Mono Book"
# Font family
#
# Default:
@@ -148,7 +148,8 @@ font:
#style: Bold Italic
# Point size
- size: 12 # set to 9 when on i3
+ size: 13 # set to 9 when on i3 and 13 when on sway
+
# Offset is the extra space around each character. `offset.y` can be thought of
# as modifying the line spacing, and `offset.x` as modifying the letter spacing.
#offset:
@@ -184,33 +185,33 @@ font:
# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# ayu dark
# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-colors:
- # Default colors
- primary:
- background: '#1F2430'
- foreground: '#CBCCC6'
+#colors:
+ ## Default colors
+ #primary:
+ #background: '#1F2430'
+ #foreground: '#CBCCC6'
- # Normal colors
- normal:
- black: '#1F2430'
- red: '#FF3333'
- green: '#BAE67E'
- yellow: '#FFA759'
- blue: '#73D0FF'
- magenta: '#F28779'
- cyan: '#39BAE6'
- white: '#FFFFFF'
-
- # Bright colors
- bright:
- black: '0x686868'
- red: '#F51818'
- green: '#A6CC70'
- yellow: '0xFFB454'
- blue: '0x59C2FF'
- magenta: '0xFFEE99'
- cyan: '0x95E6CB'
- white: '0xFFFFFF'
+ ## Normal colors
+ #normal:
+ #black: '#1F2430'
+ #red: '#FF3333'
+ #green: '#BAE67E'
+ #yellow: '#FFA759'
+ #blue: '#73D0FF'
+ #magenta: '#F28779'
+ #cyan: '#39BAE6'
+ #white: '#FFFFFF'
+
+ ## Bright colors
+ #bright:
+ #black: '0x686868'
+ #red: '#F51818'
+ #green: '#A6CC70'
+ #yellow: '0xFFB454'
+ #blue: '0x59C2FF'
+ #magenta: '0xFFEE99'
+ #cyan: '0x95E6CB'
+ #white: '0xFFFFFF'
# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# gruvbox - https://github.com/morhetz/gruvbox
@@ -271,6 +272,145 @@ colors:
#cyan: '#8ec07c'
#white: '#ebdbb2'
+# ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+# Dracula
+# ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+#colors:
+ ## Default colors
+ #primary:
+ #background: '0x282a36'
+ #foreground: '0xf8f8f2'
+
+ ## Bright and dim foreground colors
+ ##
+ ## The dimmed foreground color is calculated automatically if it is not present.
+ ## If the bright foreground color is not set, or `draw_bold_text_with_bright_colors`
+ ## is `false`, the normal foreground color will be used.
+ ##dim_foreground: '0x9a9a9a'
+ ##bright_foreground: '0xffffff'
+
+ ## Cursor colors
+ ##
+ ## Colors which should be used to draw the terminal cursor. If these are unset,
+ ## the cursor color will be the inverse of the cell color.
+ #cursor:
+ #text: '0x44475a'
+ #cursor: '0xf8f8f2'
+
+ ## Selection colors
+ ##
+ ## Colors which should be used to draw the selection area. If selection
+ ## background is unset, selection color will be the inverse of the cell colors.
+ ## If only text is unset the cell text color will remain the same.
+ #selection:
+ #text: '0xf8f8f2'
+ #background: '0x44475a'
+
+ ## Normal colors
+ #normal:
+ #black: '0x000000'
+ #red: '0xff5555'
+ #green: '0x50fa7b'
+ #yellow: '0xf1fa8c'
+ #blue: '0xbd93f9'
+ #magenta: '0xff79c6'
+ #cyan: '0x8be9fd'
+ #white: '0xbfbfbf'
+
+ ## Bright colors
+ #bright:
+ #black: '0x4d4d4d'
+ #red: '0xff6e67'
+ #green: '0x5af78e'
+ #yellow: '0xf4f99d'
+ #blue: '0xcaa9fa'
+ #magenta: '0xff92d0'
+ #cyan: '0x9aedfe'
+ #white: '0xe6e6e6'
+
+ ## Dim colors
+ ##
+ ## If the dim colors are not set, they will be calculated automatically based
+ ## on the `normal` colors.
+ #dim:
+ #black: '0x14151b'
+ #red: '0xff2222'
+ #green: '0x1ef956'
+ #yellow: '0xebf85b'
+ #blue: '0x4d5b86'
+ #magenta: '0xff46b0'
+ #cyan: '0x59dffc'
+ #white: '0xe6e6d1'
+
+ ## Indexed Colors
+ ##
+ ## The indexed colors include all colors from 16 to 256.
+ ## When these are not set, they're filled with sensible defaults.
+ ##
+ ## Example:
+ ## `- { index: 16, color: '0xff00ff' }`
+ ##
+ #indexed_colors: []
+
+
+
+#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+# NORD
+#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+colors:
+ primary:
+ background: '#2e3440'
+ foreground: '#d8dee9'
+ dim_foreground: '#a5abb6'
+ cursor:
+ text: '#2e3440'
+ cursor: '#d8dee9'
+ vi_mode_cursor:
+ text: '#2e3440'
+ cursor: '#d8dee9'
+ selection:
+ text: CellForeground
+ background: '#4c566a'
+ search:
+ matches:
+ foreground: CellBackground
+ background: '#88c0d0'
+ bar:
+ background: '#434c5e'
+ foreground: '#d8dee9'
+ normal:
+ black: '#3b4252'
+ red: '#bf616a'
+ green: '#a3be8c'
+ yellow: '#ebcb8b'
+ blue: '#81a1c1'
+ magenta: '#b48ead'
+ cyan: '#88c0d0'
+ white: '#e5e9f0'
+ bright:
+ black: '#4c566a'
+ red: '#bf616a'
+ green: '#a3be8c'
+ yellow: '#ebcb8b'
+ blue: '#81a1c1'
+ magenta: '#b48ead'
+ cyan: '#8fbcbb'
+ white: '#eceff4'
+ dim:
+ black: '#373e4d'
+ red: '#94545d'
+ green: '#809575'
+ yellow: '#b29e75'
+ blue: '#68809a'
+ magenta: '#8c738c'
+ cyan: '#6d96a5'
+ white: '#aeb3bb'
+
+
+
+
+
+
draw_bold_text_with_bright_colors: true
# Visual Bell
diff --git a/editor.png b/editor.png
deleted file mode 100644
index 2dfb0c4..0000000
--- a/editor.png
+++ /dev/null
Binary files differ
diff --git a/kitty/kitty.conf b/kitty/kitty.conf
index 053cd06..3ac0347 100644
--- a/kitty/kitty.conf
+++ b/kitty/kitty.conf
@@ -1,8 +1,8 @@
-font_family Iosevka Nerd Font
+font_family Operator Mono Book
bold_font auto
italic_font auto
bold_italic_font auto
-font_size 12.0
+font_size 13.0
adjust_line_height 0
adjust_column_width 0
diff --git a/sway/config b/sway/config
index 5a08886..495dbcc 100644
--- a/sway/config
+++ b/sway/config
@@ -26,7 +26,7 @@ set $menu $dmenu
### Output configuration
#
# Default wallpaper (more resolutions are available in /usr/share/backgrounds/sway/)
-output * background $HOME/Pictures/wallpaper/25.jpg fill
+output * background $HOME/Pictures/wallpaper/29.jpg fill
#
# Example configuration:
#
@@ -38,11 +38,11 @@ output * background $HOME/Pictures/wallpaper/25.jpg fill
#
# Example configuration:
#
-exec swayidle -w \
- timeout 300 'swaylock -f -c 000000' \
- timeout 600 'swaymsg "output * dpms off"' \
- resume 'swaymsg "output * dpms on"' \
- before-sleep 'swaylock -f -c 000000'
+#exec swayidle -w \
+ #timeout 300 'swaylock -f -c 000000' \
+ #timeout 600 'swaymsg "output * dpms off"' \
+ #resume 'swaymsg "output * dpms on"' \
+ #before-sleep 'swaylock -f -c 000000'
#
# This will lock your screen after 300 seconds of inactivity, then turn off
# your displays after another 300 seconds, and turn your screens back on when
@@ -283,8 +283,9 @@ exec waybar
set $gnome-schema org.gnome.desktop.interface
exec_always {
- gsettings set $gnome-schema gtk-theme 'AD-Strawberry'
- gsettings set $gnome-schema icon-theme 'AD-Strawberry-Suru'
+ gsettings set $gnome-schema gtk-theme 'Nordic-darker'
+ gsettings set $gnome-schema icon-theme 'Nordic-Darker'
+ gsettings set $gnome-schema font-name 'IBM Plex Sans'
# gsettings set $gnome-schema cursor-theme 'Enter Cursor Theme'
}
@@ -299,9 +300,9 @@ default_border pixel 3
# Window colors
# class border background text indicator child_border
-client.focused #50fa7b #ffffff20 #ffffff #ffffff20 #50fa7b
+client.focused #D8DEE9 #D8DEE9 #2E3440 #ffffff #D8DEE9
# client.focused_inactive #5c6370 #3b3228 #ffffff #5c6370 #5c6370
-client.unfocused #ffffff #3b3228 #000000 #5c6370 #ffffff
+client.unfocused #2E3440 #2E3440 #D8DEE9 #5c6370 #2E3440
# client.urgent #cb6077 #3b3228 #ffffff #cb6077 #cb6077
# client.placeholder #000000 #3b3228 #ffffff #000000 #0c0c0c
# client.background #fffffff #ffffff
diff --git a/vim/init.vim b/vim/init.vim
index 1305dad..549bdac 100644
--- a/vim/init.vim
+++ b/vim/init.vim
@@ -1,3 +1,9 @@
+" File : init.vim
+" Author : Abdus S. Azad <abdus@abdus.net>
+" Date : 20 January, 2021 18:23
+" Last Modified Date: 20 January, 2021 22:05
+" Last Modified By : Abdus S. Azad <abdus@abdus.net>
+
set nocompatible " disable compatibility to old-time vi
set showmatch " show matching brackets.
set ignorecase " case insensitive matching
@@ -15,7 +21,6 @@ set relativenumber " set relative line numbers. easier navigation
" using navigation keys
set wildmode=longest,list " get bash-like tab completions
set cc=80 " set an 80 column border for good coding style
-filetype plugin indent on " allows auto-indenting depending on file type
syntax on " syntax highlighting
set background=dark " dark background
set lbr wrap nolist " breaks line whenever needed/on resize
@@ -29,14 +34,13 @@ let g:mapleader = ',' " keybinding leader
call plug#begin('~/.config/nvim/plug')
-"Plug 'abdus/palenight.vim' " color therr
Plug 'vim-airline/vim-airline' " airline (bottom bar)
-"Plug 'morhetz/gruvbox'
-Plug 'ayu-theme/ayu-vim'
+Plug 'arcticicestudio/nord-vim' " nord
Plug 'chrisbra/Colorizer' " highlight colorcodes and names
Plug 'preservim/nerdtree' " file manager plugin
Plug 'preservim/nerdcommenter' " comments
+Plug 'alpertuna/vim-header' " file header generator
Plug 'voldikss/vim-floaterm' " floating terminal
Plug 'ryanoasis/vim-devicons' " add filetype icons
@@ -79,20 +83,16 @@ if (has("termguicolors"))
set termguicolors
endif
-"colorscheme nord " color theme
-"let g:airline_theme = "nord" " airline theme
-
"colorscheme palenight " color theme
"let g:palenight_terminal_italics=1
"let g:airline_theme = "palenight" " airline theme
-"let g:gruvbox_invert_selection = 0
-"colorscheme gruvbox " color theme
-"let g:airline_theme = "gruvbox" " airline theme
+"let ayucolor="mirage" " dark
+"colorscheme ayu
+"let g:airline_theme = "ayu"
-let ayucolor="dark" " mirage
-colorscheme ayu
-let g:airline_theme = "ayu"
+colorscheme nord
+let g:airline_theme = "nord"
" indent line
let g:indentLine_char = ''
@@ -139,9 +139,11 @@ let g:ale_fixers = {}
let g:ale_fixers.html = ['prettier']
let g:ale_fixers.css = ['prettier']
let g:ale_fixers.markdown = ['prettier']
+let g:ale_fixers.json = ['prettier']
let g:ale_fixers.javascript = ['prettier', 'eslint']
let g:ale_fixers.javascriptreact = ['prettier', 'eslint']
let g:ale_fixers.typescript = ['prettier', 'eslint']
+let g:ale_fixers.typescriptreact = ['prettier', 'eslint']
let g:ale_fixers.rust = ['rustfmt']
let g:ale_fixers.sh = ['shfmt']
let g:ale_fixers['*'] = ['remove_trailing_lines', 'trim_whitespace']
@@ -200,23 +202,23 @@ endif
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" create a session based on currently opened directory and save it on vim exit
fu! SessionSave()
- if filewritable(expand('~/.vim/sessions/' . split(getcwd(), '/')[-1] . '.vim'))
- execute 'mksession! ~/.vim/sessions/' . split(getcwd(), '/')[-1] . '.vim'
+ if filewritable(expand('.vim-session.vim'))
+ execute 'mksession! .vim-session.vim'
endif
endfunction
fu! SessionCreate()
- if !isdirectory(expand("~/.vim/sessions"))
- execute "call mkdir(expand('~/.vim/sessions', 'p'))"
- endif
- execute 'mksession ~/.vim/sessions/' . split(getcwd(), '/')[-1] . '.vim'
+ "if !isdirectory(expand("~/.vim/sessions"))
+ "execute "call mkdir(expand('~/.vim/sessions', 'p'))"
+ "endif
+ execute 'mksession .vim-session.vim'
endfunction
fu! SessionRestore()
- let l:session_file = '~/.vim/sessions/' . split(getcwd(), '/')[-1] . '.vim'
+ let l:session_file = '.vim-session.vim'
if filereadable(expand(session_file))
echo session_file
- execute 'source ~/.vim/sessions/' . split(getcwd(), '/')[-1] . '.vim'
+ execute 'source .vim-session.vim'
if bufexists(1)
for l in range(1, bufnr('$'))
@@ -235,6 +237,17 @@ command SessCreate call SessionCreate()
set sessionoptions-=options " dont save options
+"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
+" >- vim-header
+"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
+let g:header_field_author = 'Abdus S. Azad'
+let g:header_field_author_email = 'abdus@abdus.net'
+let g:header_auto_add_header = 0 " stop auto-inserting header
+let g:header_max_size = 20
+let g:header_field_timestamp_format = '%d %B, %Y %H:%M'
+
+
+
diff --git a/waybar/styles.d/style.material.css b/waybar/styles.d/style.material.css
index 07d0cf2..13e41dd 100644
--- a/waybar/styles.d/style.material.css
+++ b/waybar/styles.d/style.material.css
@@ -24,7 +24,7 @@ window#waybar.hidden {
#workspaces button {
padding: 0.5rem 0.9rem;
margin: 0px 0;
- background: #282a36;
+ background: #2E3440;
}
/* https://github.com/Alexays/Waybar/wiki/FAQ#the-workspace-buttons-have-a-strange-hover-effect */
@@ -35,8 +35,8 @@ window#waybar.hidden {
}
#workspaces button.focused {
- background: #50fa7b;
- color: #282a36;
+ background: #D8DEE9;
+ color: #2E3440;
}
#workspaces button.urgent {
@@ -70,11 +70,11 @@ window#waybar.hidden {
padding: 0.5rem 0.9rem;
color: #ffffff;
margin: 0px 0;
- background: #282a36;
+ background: #2E3440;
}
#clock {
- background-color: #50fa7b;
+ background-color: #D8DEE9;
color: #282a36;
}
@@ -90,7 +90,7 @@ window#waybar.hidden {
@keyframes blink {
to {
background-color: #ffffff;
- color: #000000;
+ color: #2E3440;
}
}
@@ -105,7 +105,7 @@ window#waybar.hidden {
}
label:focus {
- background-color: #000000;
+ background-color: #2E3440;
}
#cpu {
@@ -118,8 +118,8 @@ label:focus {
}
#backlight.icon {
- background: #50fa7b;
- color: #282a36;
+ background: #D8DEE9;
+ color: #2E3440;
}
#backlight.value {
@@ -127,7 +127,7 @@ label:focus {
}
#network {
- color: #50fa7b;
+ color: #D8DEE9;
}
#network.disconnected {
@@ -135,8 +135,8 @@ label:focus {
}
#pulseaudio.icon {
- background: #50fa7b;
- color: #000;
+ background: #D8DEE9;
+ color: #2E3440;
}
#pulseaudio.muted.icon {
@@ -179,7 +179,7 @@ label:focus {
#custom-emailicon,
#custom-icon-cube {
- background: #50fa7b;
+ background: #D8DEE9;
color: #282a36;
}