mirror of
https://github.com/olexsmir/dotfiles.git
synced 2026-01-15 08:41:34 +02:00
Update nvim config, qutebrowser theme
This commit is contained in:
parent
4e2f196e26
commit
e8de9a14cd
18 changed files with 167 additions and 618 deletions
|
|
@ -1,8 +1,7 @@
|
|||
|
||||
Scripts:
|
||||
- `arch_upd`: Update packages(pacman, aur) base on arch.
|
||||
- `arch_upd`: Update packages(pacman, aur). Only arch.
|
||||
- `extract`: Extract archive.
|
||||
- `giti`: Gitignore manager(For help exec: giti help).
|
||||
- `giti`: Gitignore manager(For help exec: __giti help__).
|
||||
- `kbhl`: Enable/disable keyboard highlight scrlock.
|
||||
- `local-ip`: Get local IP addres.
|
||||
- `public-ip`: Get public IP addres.
|
||||
|
|
|
|||
45
bin/giti
45
bin/giti
|
|
@ -1,31 +1,38 @@
|
|||
#!/bin/sh
|
||||
add() {
|
||||
function add() {
|
||||
echo $1 >> .gitignore
|
||||
}
|
||||
del() {
|
||||
sed -i "/$1/d" .gitignore
|
||||
function del() {
|
||||
if [ -f '.gitignore' ]; then
|
||||
if [ "$(cat .gitignore|wc -l)" = "1" ]
|
||||
then rm .gitignore
|
||||
else sed -i "/$1/d" .gitignore
|
||||
fi
|
||||
else echo "[.gitignore] File not found."
|
||||
fi
|
||||
}
|
||||
edit() {
|
||||
function edit() {
|
||||
sed -in "s|$1|$2|g" .gitignore
|
||||
}
|
||||
show() {
|
||||
if [ -f '/usr/bin/bat' ]
|
||||
then
|
||||
bat .gitignore
|
||||
else
|
||||
cat .gitignore
|
||||
function show() {
|
||||
if [ -f '.gitignore' ]; then
|
||||
if [ -f '/usr/bin/bat' ]
|
||||
then bat .gitignore
|
||||
else cat .gitignore
|
||||
fi
|
||||
else echo "[.gitignore] File not found."
|
||||
fi
|
||||
}
|
||||
|
||||
case "$1" in
|
||||
add|a) shift; add "$@" ;;
|
||||
del|d) shift; del "$@" ;;
|
||||
mv) shift; edit "$@" ;;
|
||||
show|s) shift; show ;;
|
||||
help) echo "add/a - filename add to ignore"
|
||||
echo "del/d - filename del from ignore"
|
||||
echo "mv - oldname newname chage file name"
|
||||
echo "show - show ignore file"
|
||||
add|a) shift; add "$@" ;;
|
||||
del|d) shift; del "$@" ;;
|
||||
mv) shift; edit "$@" ;;
|
||||
show|s) shift; show ;;
|
||||
help) echo "add/a - filename add to ignore"
|
||||
echo "del/d - filename del from ignore"
|
||||
echo "mv - oldname newname chage file name"
|
||||
echo "show/s - show ignore file"
|
||||
;;
|
||||
*) echo "Command is not valid"
|
||||
*) echo "Command is not valid" ;;
|
||||
esac
|
||||
|
|
@ -1,6 +1,3 @@
|
|||
env:
|
||||
TERM: xterm-256color
|
||||
|
||||
window:
|
||||
title: Alacritty
|
||||
class:
|
||||
|
|
|
|||
|
|
@ -1,6 +1,4 @@
|
|||
#!/bin/bash
|
||||
killall -q polybar
|
||||
while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done
|
||||
#polybar -c ~/.config/berry/polybar/polybar top &
|
||||
#polybar -c ~/.config/berry/polybar/polybar bom &
|
||||
polybar -c ~/.config/berry/polybar/polybar bar &
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ super + control + o
|
|||
|
||||
# ------ Berry ------ #
|
||||
super + control + r
|
||||
pkill -USR1 -x sxhkd ; pkill polybar ; ~/.config/berry/polybar/bar.sh
|
||||
pkill -USR1 -x sxhkd; pkill polybar; ~/.config/berry/polybar/bar.sh
|
||||
super + shift {h, j, k, l}
|
||||
berryc window_move {-50 0, 0 50, 0 -50, 50 0}
|
||||
super + control + {h, j, k, l}
|
||||
|
|
|
|||
|
|
@ -1,288 +1,74 @@
|
|||
# castero configuration file
|
||||
# https://github.com/xgi/castero
|
||||
|
||||
|
||||
[client]
|
||||
# Whether to ask for confirmation before deleting a feed.
|
||||
# default: False
|
||||
delete_feed_confirmation = True
|
||||
|
||||
# The minimum number of feeds before the client asks you for confirmation
|
||||
# after pressing the reload key.
|
||||
# default: 10
|
||||
reload_feeds_threshold = 10
|
||||
|
||||
# The maximum number of episodes to retain per feed. Set to -1 for no limit.
|
||||
# default: -1
|
||||
max_episodes = -1
|
||||
|
||||
# Whether to keep episodes in the client even if they are no longer present on
|
||||
# the feed (i.e. the RSS feed only shows the x most recent episodes).
|
||||
# default: False
|
||||
retain_absent_episodes = False
|
||||
|
||||
# Hide vertical borders between menus.
|
||||
# default: False
|
||||
disable_vertical_borders = False
|
||||
|
||||
# Whether to remove HTML tags from feed/episode descriptions.
|
||||
# default: True
|
||||
clean_html_descriptions = True
|
||||
|
||||
# The display refresh delay, in ms. Increase to reduce idle CPU usage.
|
||||
# default: 30
|
||||
refresh_delay = 30
|
||||
|
||||
# The external player to use for media playback.
|
||||
# If the given player is not valid or a dependency is not met, the client will
|
||||
# instead try to use the first valid interface.
|
||||
# Available players (in order of precedence):
|
||||
# mpv, vlc
|
||||
# default: (blank)
|
||||
player =
|
||||
|
||||
# The command to run when you press key_execute (default e). All instances of
|
||||
# the following tokens are replaced with the corresponding episode attributes:
|
||||
# {file} - the episode enclosure, usually a remote mp3 file
|
||||
# {title} - the episode name
|
||||
# {description} - the episode description
|
||||
# {link} - the link to the episode, which is often a blog post
|
||||
# {pubdate} - the publish date/time of the episode
|
||||
# {copyright} - the copyright of the episode
|
||||
# Most of these attributes have spaces, so you will probably want to enclose
|
||||
# the token with quotations.
|
||||
# For example, `firefox "{file}"` would open the file in Firefox.
|
||||
# The client executes the text you enter as a shell command. Use with caution!
|
||||
# default: (blank)
|
||||
player = #mpv
|
||||
execute_command =
|
||||
|
||||
# An HTTP or SOCKS proxy to use for HTTP network requests.
|
||||
# example: http://user:pass@10.10.1.10:3128
|
||||
# example: socks5://user:pass@host:port
|
||||
# default: (blank)
|
||||
proxy_http =
|
||||
|
||||
# An HTTP or SOCKS proxy to use for HTTPS network requests.
|
||||
# example: http://user:pass@10.10.1.10:3128
|
||||
# example: socks5://user:pass@host:port
|
||||
# default: (blank)
|
||||
proxy_https =
|
||||
|
||||
|
||||
[feeds]
|
||||
# Whether to reload/refresh your feeds when the client starts. Depending on how
|
||||
# many feeds you have, this operation may take a long time.
|
||||
# default: False
|
||||
reload_on_start = False
|
||||
|
||||
|
||||
[downloads]
|
||||
# The (absolute) location to save episodes downloaded for offline playback. Set
|
||||
# to blank or whitespaces to disable -- the client will default to either
|
||||
# $XDG_DATA_DIR, if set, otherwise ~/.local/share/castero/downloaded
|
||||
# default: (blank)
|
||||
custom_download_dir =
|
||||
|
||||
# The timeout for network requests, in seconds. The same value is used for
|
||||
# connection and read timeouts.
|
||||
# default: 3
|
||||
request_timeout = 3
|
||||
|
||||
|
||||
[colors]
|
||||
# Available colors for all fields are:
|
||||
# black, blue, cyan, green, magenta, red, white, yellow, transparent (background),
|
||||
# integer from -1 to 255 if terminal supports 256 colors
|
||||
# NOTE: Background transparency only works on compatible terminals with compositing
|
||||
|
||||
# The foreground (text) color of the main interface.
|
||||
# default: yellow
|
||||
color_foreground = white
|
||||
|
||||
# The background color of the main interface.
|
||||
# default: black
|
||||
color_background = default
|
||||
|
||||
# The foreground (text) color of selected items.
|
||||
# default: black
|
||||
color_foreground_alt = black
|
||||
|
||||
# The background color of selected items.
|
||||
# default: white
|
||||
color_background_alt = white
|
||||
|
||||
# The foreground (text) color of marked items. Paired with color_background.
|
||||
# default: green
|
||||
color_foreground_dim = blue
|
||||
|
||||
# The foreground (text) color of status lines. Paired with color_background.
|
||||
# default: white
|
||||
color_foreground_status = white
|
||||
|
||||
# The foreground (text) color of menu headings. Paired with color_background.
|
||||
# default: yellow
|
||||
color_foreground_heading = blue
|
||||
|
||||
# The foreground (text) color of dividers. Paired with color_background.
|
||||
# default: white
|
||||
color_foreground_dividers = white
|
||||
|
||||
|
||||
[playback]
|
||||
# The distance to move forward when pressing seek keys, in seconds.
|
||||
# default: 30
|
||||
seek_distance_forward = 30
|
||||
|
||||
# The distance to move backward when pressing seek keys, in seconds.
|
||||
# default: 10
|
||||
seek_distance_backward = 10
|
||||
|
||||
# The default playback speed. See also the rate_increase/rate_decrease keys.
|
||||
# default: 1.0
|
||||
default_playback_speed = 1.0
|
||||
|
||||
# The default volume. Can be 0-100, inclusive.
|
||||
# default: 100
|
||||
default_volume = 80
|
||||
|
||||
# The amount to adjust the volume when pressing the volume up/down keys.
|
||||
# default: 5
|
||||
volume_adjust_distance = 5
|
||||
|
||||
|
||||
[keys]
|
||||
# Keybindings for controlling the client. Entries may not be blank, but may
|
||||
# overlap -- however, only one operation will be performed for each key press.
|
||||
# Please see this page for a list of available key names:
|
||||
# https://docs.python.org/3/library/curses.html#constants
|
||||
|
||||
# Show the help menu.
|
||||
# default: h
|
||||
key_help = ?
|
||||
|
||||
# Exit the client
|
||||
# default: q
|
||||
key_exit = q
|
||||
|
||||
# Add a feed.
|
||||
# default: a
|
||||
key_add_feed = A
|
||||
|
||||
# Remove the selected feed.
|
||||
# default: d
|
||||
key_remove = O
|
||||
|
||||
# Reload/refresh all feeds.
|
||||
# default: r
|
||||
key_reload = r
|
||||
|
||||
# Reload/refresh the selected feed.
|
||||
# default: R
|
||||
key_reload_selected = R
|
||||
|
||||
# Save episode for offline playback.
|
||||
# default: s
|
||||
key_save = d
|
||||
|
||||
# Delete downloaded episodes.
|
||||
# default: x
|
||||
key_delete = D
|
||||
|
||||
# Navigate up.
|
||||
# default: UP
|
||||
key_up = UP
|
||||
|
||||
# Navigate right.
|
||||
# default: RIGHT
|
||||
key_right = RIGHT
|
||||
|
||||
# Navigate down.
|
||||
# default: DOWN
|
||||
key_down = DOWN
|
||||
|
||||
# Navigate left.
|
||||
# default: LEFT
|
||||
key_left = LEFT
|
||||
|
||||
# Scroll menu up.
|
||||
# default: PPAGE
|
||||
key_scroll_up = PPAGE
|
||||
|
||||
# Scroll menu down.
|
||||
# default: NPAGE
|
||||
key_scroll_down = NPAGE
|
||||
|
||||
# Play selected feed/episode.
|
||||
# default: ENTER
|
||||
key_scroll_up = UP
|
||||
key_scroll_down = DOWN
|
||||
key_play_selected = ENTER
|
||||
|
||||
# Add selected feed/episode to queue.
|
||||
# default: SPACE
|
||||
key_add_selected = SPACE
|
||||
|
||||
# Clear the queue.
|
||||
# default: c
|
||||
key_clear = c
|
||||
|
||||
# Go to the next episode in the queue.
|
||||
# default: n
|
||||
key_next = n
|
||||
|
||||
# Execute a command on the selected episode. See also execute_command.
|
||||
key_execute = e
|
||||
|
||||
# Invert the order of the menu.
|
||||
# default: i
|
||||
key_invert = i
|
||||
|
||||
# Filter the contents of the menu. Press again to clear the filter.
|
||||
# default: /
|
||||
key_filter = /
|
||||
|
||||
# Mark the episode as played/unplayed.
|
||||
# default: i
|
||||
key_mark_played = m
|
||||
|
||||
# Pause/play the current episode.
|
||||
# default: p
|
||||
key_pause_play = p
|
||||
|
||||
# Alternate binding for key_pause_play -- make identical to disable.
|
||||
# default: k
|
||||
key_pause_play_alt = o
|
||||
|
||||
# Seek forward.
|
||||
# default: f
|
||||
key_seek_forward = f
|
||||
|
||||
# Alternate binding for key_seek_forward -- make identical to disable.
|
||||
# default: l
|
||||
key_seek_forward_alt = F
|
||||
|
||||
# Seek backward.
|
||||
# default: b
|
||||
key_seek_backward = b
|
||||
|
||||
# Alternate binding for key_seek_backward -- make identical to disable.
|
||||
# default: j
|
||||
key_seek_backward_alt = B
|
||||
|
||||
# Increase playback speed.
|
||||
# default: ]
|
||||
key_rate_increase = ]
|
||||
|
||||
# Decrease playback speed.
|
||||
# default: [
|
||||
key_rate_decrease = [
|
||||
|
||||
# Increase volume.
|
||||
# default: =
|
||||
key_volume_increase = =
|
||||
|
||||
# Decrease volume.
|
||||
# default: -
|
||||
key_volume_decrease = -
|
||||
|
||||
# Show episode URL.
|
||||
# default: u
|
||||
key_show_url = u
|
||||
|
|
|
|||
|
|
@ -1,27 +0,0 @@
|
|||
#!/bin/sh
|
||||
FM_PATH=$HOME/.config/dmenufm
|
||||
FM_CACHE_PATH=$HOME/.cache/dmenufm
|
||||
FM_BMKFILE=$FM_PATH/dmenufm_bookmark
|
||||
FM_CMDFILE=$FM_PATH/dmenufm_command
|
||||
FM_HISFILE=$FM_PATH/dmenufm_history
|
||||
FM_SDOPROP=$FM_PATH/dmenufm_sudoprompt
|
||||
FM_TRASH=${HOME}/.local/share/Trash/files
|
||||
FM_LASTPATH=$FM_CACHE_PATH/dmenufm_lastpath
|
||||
FM_REMFILE=$FM_CACHE_PATH/dmenufm_bulk_rename
|
||||
FM_MASFILE=$FM_CACHE_PATH/dmenufm_bulk_mass
|
||||
FM_ZIPATH=$FM_CACHE_PATH/compression/
|
||||
|
||||
FM_MAX_HIS_LENGTH=500
|
||||
|
||||
FM_GENERIC_FONT=Monospace-11
|
||||
FM_NOTIF_FONT=Monospace-11
|
||||
FM_DANGER_FONT=Monospace-11
|
||||
|
||||
FM_SUDO_COLOR=red
|
||||
FM_GENERIC_COLOR=#008DCD
|
||||
FM_ACTION_COLOR_LV1=#98BE65
|
||||
FM_ACTION_COLOR_LV2=#ECBE7B
|
||||
FM_ACTION_COLOR_BULK=#C678DD
|
||||
FM_OPT_GENERIC="-p -r"
|
||||
|
||||
XDGDIR2=/usr/local/share/applications
|
||||
|
|
@ -1,29 +0,0 @@
|
|||
# Beware! This file is rewritten by htop when settings are changed in the interface.
|
||||
# The parser is also very primitive, and not human-friendly.
|
||||
fields=0 48 17 18 38 39 40 2 46 47 49 1
|
||||
sort_key=38
|
||||
sort_direction=1
|
||||
hide_threads=0
|
||||
hide_kernel_threads=1
|
||||
hide_userland_threads=0
|
||||
shadow_other_users=0
|
||||
show_thread_names=0
|
||||
show_program_path=0
|
||||
highlight_base_name=1
|
||||
highlight_megabytes=1
|
||||
highlight_threads=1
|
||||
tree_view=0
|
||||
header_margin=1
|
||||
detailed_cpu_time=0
|
||||
cpu_count_from_zero=0
|
||||
show_cpu_usage=1
|
||||
show_cpu_frequency=1
|
||||
update_process_names=0
|
||||
account_guest_in_cpu_meter=0
|
||||
color_scheme=0
|
||||
enable_mouse=1
|
||||
delay=15
|
||||
left_meters=AllCPUs Memory Swap
|
||||
left_meter_modes=1 1 1
|
||||
right_meters=Clock Uptime Tasks LoadAverage
|
||||
right_meter_modes=2 2 2 2
|
||||
|
|
@ -1,68 +0,0 @@
|
|||
print_info() {
|
||||
info title
|
||||
info "OS" distro
|
||||
info "Kernel" kernel
|
||||
info "Uptime" uptime
|
||||
info "Packages" packages
|
||||
info "Shell" shell
|
||||
info "Resolution" resolution
|
||||
info "DE" de
|
||||
info "WM" wm
|
||||
info "Theme" theme
|
||||
info "Icons" icons
|
||||
info "CPU" cpu
|
||||
info "GPU" gpu
|
||||
info "Memory" memory
|
||||
}
|
||||
|
||||
title_fqdn="off"
|
||||
kernel_shorthand="on"
|
||||
|
||||
distro_shorthand="off"
|
||||
os_arch="off"
|
||||
|
||||
uptime_shorthand="tiny"
|
||||
|
||||
memory_percent="off"
|
||||
memory_unit="mib"
|
||||
|
||||
package_managers="on"
|
||||
|
||||
shell_path="off"
|
||||
shell_version="on"
|
||||
|
||||
speed_type="bios_limit"
|
||||
speed_shorthand="off"
|
||||
|
||||
cpu_brand="on"
|
||||
cpu_speed="on"
|
||||
cpu_cores="logical"
|
||||
cpu_temp="off"
|
||||
|
||||
gpu_brand="on"
|
||||
gpu_type="all"
|
||||
|
||||
refresh_rate="off"
|
||||
|
||||
gtk_shorthand="off"
|
||||
gtk2="on"
|
||||
gtk3="on"
|
||||
|
||||
de_version="on"
|
||||
|
||||
block_range=(0 15)
|
||||
color_blocks="on"
|
||||
block_width=3
|
||||
block_height=1
|
||||
|
||||
cpu_display="off"
|
||||
memory_display="off"
|
||||
|
||||
image_size="auto"
|
||||
gap=3
|
||||
|
||||
yoffset=0
|
||||
xoffset=0
|
||||
background_color=
|
||||
|
||||
stdout="off"
|
||||
|
|
@ -1,41 +1,45 @@
|
|||
call plug#begin('~/.vim/plugged')
|
||||
Plug 'itchyny/lightline.vim'
|
||||
Plug 'nathanaelkane/vim-indent-guides'
|
||||
Plug 'Smirnov-O/nten16.vim'
|
||||
Plug 'vim-scripts/bclear'
|
||||
Plug 'easymotion/vim-easymotion'
|
||||
Plug 'voldikss/vim-floaterm', { 'on': 'FloatermNew' }
|
||||
Plug 'mhinz/vim-startify'
|
||||
Plug 'severin-lemaignan/vim-minimap'
|
||||
Plug 'frazrepo/vim-rainbow'
|
||||
Plug 'preservim/tagbar', { 'on': 'TagbarToggle' }
|
||||
Plug 'airblade/vim-gitgutter'
|
||||
Plug 'nathanaelkane/vim-indent-guides' " Displaying indent levels
|
||||
Plug 'voldikss/vim-floaterm' " Terminal window
|
||||
Plug 'frazrepo/vim-rainbow' " Rainbow brackets
|
||||
Plug 'airblade/vim-gitgutter' " Git indicator
|
||||
Plug 'ap/vim-css-color' " CSS color preview
|
||||
Plug 'mhinz/vim-startify' " Start page
|
||||
Plug 'tpope/vim-surround' " HTML/XML tag cloaser
|
||||
Plug 'itchyny/lightline.vim' " Status line
|
||||
|
||||
" File manger & seacher
|
||||
Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' }
|
||||
Plug 'ryanoasis/vim-devicons', { 'on': 'NERDTreeToggle' }
|
||||
Plug 'kien/ctrlp.vim', { 'on': 'CtrlP' }
|
||||
" Color sheme
|
||||
Plug 'Smirnov-O/nten16.vim'
|
||||
|
||||
" Project/file nafigation
|
||||
Plug 'scrooloose/nerdtree', {'on': 'NERDTreeToggle'}
|
||||
Plug 'ryanoasis/vim-devicons', {'on': 'NERDTreeToggle'}
|
||||
Plug 'preservim/tagbar', {'on': 'TagbarToggle'}
|
||||
Plug 'kien/ctrlp.vim', {'on': 'CtrlP'}
|
||||
Plug 'easymotion/vim-easymotion'
|
||||
|
||||
" Completion
|
||||
Plug 'jiangmiao/auto-pairs'
|
||||
Plug 'neoclide/coc.nvim', {'branch': 'release'}
|
||||
|
||||
" Language support
|
||||
Plug 'iamcco/markdown-preview.nvim', { 'for': 'markdown' }
|
||||
Plug 'dhruvasagar/vim-table-mode', { 'for': 'markdown' }
|
||||
Plug 'pangloss/vim-javascript', { 'for': 'javascript' }
|
||||
Plug 'PotatoesMaster/i3-vim-syntax', { 'for': 'i3' }
|
||||
Plug 'kovetskiy/sxhkd-vim', { 'for': 'sxhkd' }
|
||||
Plug 'mattn/emmet-vim', { 'on': 'Emmet' }
|
||||
Plug 'Olical/vim-scheme', { 'for': 'scheme' }
|
||||
Plug 'cakebaker/scss-syntax.vim', { 'for': 'scss' }
|
||||
Plug 'vim-python/python-syntax', { 'for': 'python' }
|
||||
Plug 'vim-scripts/indentpython.vim', { 'for': 'python' }
|
||||
Plug 'dag/vim-fish', { 'for': 'fish' }
|
||||
Plug 'plasticboy/vim-markdown', { 'for': 'markdown' }
|
||||
Plug 'ap/vim-css-color'
|
||||
Plug 'pangloss/vim-javascript', {'for': 'javascript'}
|
||||
Plug 'iamcco/markdown-preview.nvim', {'for': 'markdown'}
|
||||
Plug 'dhruvasagar/vim-table-mode', {'for': 'markdown'}
|
||||
Plug 'plasticboy/vim-markdown', {'for': 'markdown'}
|
||||
Plug 'vim-python/python-syntax', {'for': 'python'}
|
||||
Plug 'vim-scripts/indentpython.vim', {'for': 'python'}
|
||||
Plug 'Olical/vim-scheme', {'for': 'scheme'}
|
||||
Plug 'kovetskiy/sxhkd-vim', {'for': 'sxhkd'}
|
||||
Plug 'mattn/emmet-vim', {'on': 'Emmet'}
|
||||
Plug 'cakebaker/scss-syntax.vim', {'for': 'scss'}
|
||||
Plug 'dag/vim-fish', {'for': 'fish'}
|
||||
Plug 'PotatoesMaster/i3-vim-syntax', {'for': 'i3'}
|
||||
Plug 'fatih/vim-go', {'for': 'go'}
|
||||
"Plug 'mitsuhiko/vim-jinja'
|
||||
call plug#end()
|
||||
|
||||
" Colors
|
||||
set termguicolors
|
||||
set background=dark
|
||||
colorscheme nten16
|
||||
|
|
@ -106,13 +110,13 @@ let g:lightline = {
|
|||
\ }, }
|
||||
|
||||
" Nerdtree
|
||||
map <C-b> :NERDTreeToggle<CR>
|
||||
let g:NERDTreeWinPos="right"
|
||||
let g:NERDTreeWinSize=28
|
||||
let NERDTreeIgnore = ['__pycache__', '\.pyc$', '\.o$', '\.so$', '\.a$', '\.swp', '*\.swp', '\.swo', '\.swn', '\.swh', '\.swm', '\.swl', '\.swk', '\.sw*$', '[a-zA-Z]*egg[a-zA-Z]*', '.DS_Store']
|
||||
let NERDTreeMinimalUI=1
|
||||
let NERDTreeShowLineNumbers=1
|
||||
let NERDTreeShowHidden=0
|
||||
let g:NERDTreeWinPos = "right"
|
||||
let g:NERDTreeWinSize = 28
|
||||
let NERDTreeMinimalUI = 1
|
||||
let NERDTreeShowLineNumbers = 1
|
||||
let NERDTreeShowHidden = 0
|
||||
map <C-b> :NERDTreeToggle<CR>
|
||||
|
||||
" Coc
|
||||
inoremap <expr> <Tab> pumvisible() ? "\<C-n>" : "\<Tab>"
|
||||
|
|
@ -125,12 +129,11 @@ let g:vim_markdown_folding_disabled = 1
|
|||
let g:EasyMotion_do_mapping = 0
|
||||
let g:EasyMotion_smartcase = 1
|
||||
nmap f <Plug>(easymotion-s)
|
||||
nmap <Leader>w <Plug>(easymotion-bd-w)
|
||||
nmap F <Plug>(easymotion-overwin-line)
|
||||
nmap s <Plug>(easymotion-overwin-f2)
|
||||
nmap FF <Plug>(easymotion-overwin-line)
|
||||
nmap FD <Plug>(easymotion-overwin-f2)
|
||||
nmap FS <Plug>(easymotion-bd-w)
|
||||
|
||||
" CtrlP
|
||||
map <C-p> :CtrlP<CR>
|
||||
imap <C-p> :CtrlP<CR>
|
||||
nmap <C-p> :CtrlP<CR>
|
||||
|
||||
|
|
@ -142,15 +145,15 @@ let g:python_highlight_all = 1
|
|||
|
||||
" Startify
|
||||
let g:startify_custom_header = [
|
||||
\" _____ _____ _ ",
|
||||
\" | | |___ ___| | |_|_____ ",
|
||||
\" | | | | -_| . | | | | | ",
|
||||
\" |_|___|___|___|\___/|_|_|_|_| ",
|
||||
\ ]
|
||||
\ " _____ _____ _ ",
|
||||
\ " | | |___ ___| | |_|_____ ",
|
||||
\ " | | | | -_| . | | | | | ",
|
||||
\ " |_|___|___|___|\___/|_|_|_|_| ",
|
||||
\ ]
|
||||
let g:startify_lists = [
|
||||
\ { 'type': 'bookmarks', 'header': [" Bookmarks"] },
|
||||
\ { 'type': 'files', 'header': [" Files"] },
|
||||
\ ]
|
||||
\ { 'type': 'bookmarks', 'header': [" Bookmarks"] },
|
||||
\ { 'type': 'files', 'header': [" Files"] },
|
||||
\ ]
|
||||
|
||||
" Rainbow
|
||||
let g:rainbow_active = 1
|
||||
|
|
@ -158,18 +161,24 @@ let g:rainbow_active = 1
|
|||
" TagBar
|
||||
imap <F9> :TagbarToggle<CR>
|
||||
nmap <F9> :TagbarToggle<CR>
|
||||
map <F9> :TagbarToggle<CR>
|
||||
let g:tagbar_autoclose = 1
|
||||
let g:tagbar_width = 18
|
||||
let g:tagbar_left = 1
|
||||
let g:tagbar_width = 18
|
||||
let g:tagbar_left = 1
|
||||
|
||||
" Floaterm
|
||||
nmap <A-t> :FloatermNew --title=vimterminal --position=top --autoclose=2<CR>
|
||||
let g:floaterm_title = "VimTermianl"
|
||||
let g:floaterm_wintype = "floating"
|
||||
let g:floaterm_position = "center"
|
||||
let g:floaterm_height = 0.7
|
||||
let g:floaterm_width = 0.6
|
||||
let g:floaterm_autoclose = 2
|
||||
nmap <A-t> :FloatermNew<CR>
|
||||
imap <A-t> :FloatermNew<CR>
|
||||
|
||||
" == Maping
|
||||
let mapleader=","
|
||||
|
||||
" Window
|
||||
" Window(s)
|
||||
nmap <C-h> :wincmd h<CR>
|
||||
nmap <C-j> :wincmd j<CR>
|
||||
nmap <C-k> :wincmd k<CR>
|
||||
|
|
@ -181,12 +190,12 @@ nmap <A-x> :wincmd L<CR>
|
|||
nmap <A-h> :wincmd <<CR>
|
||||
nmap <A-l> :wincmd ><CR>
|
||||
|
||||
" Tab's
|
||||
" Tab(s)
|
||||
noremap <C-Tab> :tabnext<CR>
|
||||
noremap <C-S-Tab> :tabprev<CR>
|
||||
noremap <C-n> :tabnew<CR>
|
||||
noremap <C-t> :tabnew<CR>
|
||||
noremap <C-S-w> :tabclose<CR>
|
||||
noremap <C-w> :tabclose<CR>
|
||||
noremap <A-1> :tabn 1<CR>
|
||||
noremap <A-2> :tabn 2<CR>
|
||||
noremap <A-3> :tabn 3<CR>
|
||||
|
|
@ -196,5 +205,7 @@ noremap <A-6> :tabn 6<CR>
|
|||
noremap <A-7> :tabn 7<CR>
|
||||
noremap <A-8> :tabn 8<CR>
|
||||
noremap <A-9> :tabn 9<CR>
|
||||
|
||||
" Buffer(s)
|
||||
noremap <C-a> :bnext<CR>
|
||||
noremap <C-s> :bprev<CR>
|
||||
|
|
|
|||
|
|
@ -7,6 +7,3 @@
|
|||
sudo pacman -S openbox obconf volumeicon network-manager-applet xfce4-clipman-plugin
|
||||
yay -S fbxkb
|
||||
~~~
|
||||
|
||||
### Hotkeys
|
||||
| Key | Aсt |
|
||||
|
|
|
|||
|
|
@ -27,10 +27,10 @@ opacity-rule = [ "0:_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'" ];
|
|||
no-fading-openclose = true
|
||||
|
||||
##### Background-Blurring #####
|
||||
#blur-method = "dual_kawase";
|
||||
#blur-strength = 5;
|
||||
#blur-kern = "3x3box";
|
||||
#blur-background-exclude = [];
|
||||
blur-method = "dual_kawase";
|
||||
blur-strength = 5;
|
||||
blur-kern = "3x3box";
|
||||
blur-background-exclude = [];
|
||||
|
||||
|
||||
####### General Settings ######
|
||||
|
|
|
|||
|
|
@ -1,43 +1,45 @@
|
|||
# Qtile config
|
||||
|
||||

|
||||
---------------
|
||||

|
||||
------------------------------
|
||||
|
||||
### Install
|
||||
-----------
|
||||
~~~shell
|
||||
sudo pacman -S qtile
|
||||
sudo pacman -S qtile alacritty
|
||||
yay -S xkblayout
|
||||
~~~
|
||||
|
||||
### Autostart
|
||||
-------------
|
||||
~~~bash
|
||||
setxkbmap "us,ru,ua" ",winkeys" "grp:alt_shift_toggle" -option "ctrl:nocaps"
|
||||
/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
|
||||
nitrogen --restore
|
||||
picom -b
|
||||
xautolock -time 5 -locker "betterlockscreen --off 300 -t \"Computer is lockerd\" -l" &
|
||||
setxkbmap "us,ua" ",winkeys" "grp:alt_shift_toggle" -option "ctrl:nocaps" &
|
||||
/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
|
||||
nitrogen --restore &
|
||||
picom --experimental-backends -b &
|
||||
~~~~
|
||||
|
||||
### Keybindings
|
||||
| Hotkey | Action |
|
||||
| --- | --- |
|
||||
| MOD + RETURN | Open termianl |
|
||||
| MOD + SHIFT + RETURN | Open program launcher(rofi) |
|
||||
| MOD + r | Open qtile spawn menu |
|
||||
| MOD + TAB | Change layout |
|
||||
| MOD + q | Kill focused window |
|
||||
| MOD + CONTROL + r | Restart qtile |
|
||||
| MOD + 1-9 | Switch focus to workspace |
|
||||
| MOD + SHIFT + 1-9 | Send focused window to workspace |
|
||||
| MOD + h/j/k/l | Change focus window |
|
||||
| MOD + SHIFT + h/j/k/l | Move focused window |
|
||||
| MOD + CONTROL + h/j/k/l | Resize focused window |
|
||||
| MOD + -/+ | Plus/minus 2% volume |
|
||||
| MOD + SHIFT + - | Mute volume |
|
||||
| MOD + CONTROL + i | Open passmenu |
|
||||
| Hotkey | Action |
|
||||
| ----------------------- | -------------------------------- |
|
||||
| MOD + RETURN | Open termianl |
|
||||
| MOD + SHIFT + RETURN | Open program launcher(rofi) |
|
||||
| MOD + f | Open filemanager |
|
||||
| MOD + r | Open qtile spawn menu |
|
||||
| MOD + TAB | Change layout |
|
||||
| MOD + q | Kill focused window |
|
||||
| MOD + CONTROL + r | Restart qtile |
|
||||
| MOD + 1-9 | Switch focus to workspace |
|
||||
| MOD + SHIFT + 1-9 | Send focused window to workspace |
|
||||
| MOD + h/j/k/l | Change focus window |
|
||||
| MOD + SHIFT + h/j/k/l | Move focused window |
|
||||
| MOD + CONTROL + h/j/k/l | Resize focused window |
|
||||
| MOD + -/+ | Plus/minus 2% volume |
|
||||
| MOD + SHIFT + - | Mute volume |
|
||||
| MOD + CONTROL + i | Open passmenu |
|
||||
| MOD + CONTROL + u | Open config edit Power [menu](https://github.com/Smirnov-O/dotfiles/blob/master/scripts/dmenu/dmenu-config-edit.sh) |
|
||||
| MOD + Escape | Open power [menu](https://github.com/Smirnov-O/dotfiles/blob/master/scripts/dmenu/dmenu-power.sh) |
|
||||
| Print | Screenhot(scrot -s) |
|
||||
| SHIFT + Print | Full screen screenhot |
|
||||
| MOD + ALT + t | Open `~/.todo` file in neovim |
|
||||
| MOD + Escape | Open power [menu](https://github.com/Smirnov-O/dotfiles/blob/master/scripts/dmenu/dmenu-power.sh) |
|
||||
| Print | Screenhot |
|
||||
| SHIFT + Print | Full screen screenhot |
|
||||
| MOD + ALT + t | Open `~/.todo` file in neovim |
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ c.completion.shrink = True
|
|||
config.load_autoconfig()
|
||||
|
||||
# tabs, download
|
||||
c.tabs.show = 'multiple' #always, never, multiple ,switching
|
||||
c.tabs.show = 'multiple'
|
||||
c.tabs.position = "top"
|
||||
c.downloads.position = "bottom"
|
||||
|
||||
|
|
@ -35,15 +35,25 @@ config.set('content.headers.user_agent', 'Mozilla/5.0 ({os_info}; rv:71.0) Gecko
|
|||
|
||||
# theme
|
||||
## Solarised #########
|
||||
color01 = "#002B36"
|
||||
color02 = "#073642"
|
||||
color03 = "#619100"
|
||||
color04 = "#268BD2"
|
||||
color05 = "#6C71C4"
|
||||
color06 = "#dc322f"
|
||||
#color01 = "#002B36"
|
||||
#color02 = "#073642"
|
||||
#color03 = "#619100"
|
||||
#color04 = "#268BD2"
|
||||
#color05 = "#6C71C4"
|
||||
#color06 = "#dc322f"
|
||||
#color07 = "#FFFFFF"
|
||||
#color08 = "#93A1A1"
|
||||
#color09 = "#2AA198"
|
||||
## Ntene16 ###########
|
||||
color01 = "#262A2b"
|
||||
color02 = "#1F2324"
|
||||
color03 = "#98BE65"
|
||||
color04 = "#008DCD"
|
||||
color05 = "#C678DD"
|
||||
color06 = "#FF6C6B"
|
||||
color07 = "#FFFFFF"
|
||||
color08 = "#93A1A1"
|
||||
color09 = "#2AA198"
|
||||
color08 = "#CED4DA"
|
||||
color09 = "#ECBE7B"
|
||||
######################
|
||||
|
||||
c.colors.completion.category.bg = color01
|
||||
|
|
|
|||
|
|
@ -1,136 +0,0 @@
|
|||
* {
|
||||
selected-normal-foreground: rgba ( 129, 147, 150, 100 % );
|
||||
foreground: rgba ( 129, 147, 150, 100 % );
|
||||
normal-foreground: @foreground;
|
||||
alternate-normal-background: rgba ( 0, 43, 55, 100 % );
|
||||
red: rgba ( 220, 50, 47, 100 % );
|
||||
selected-urgent-foreground: rgba ( 218, 66, 129, 100 % );
|
||||
blue: rgba ( 38, 139, 210, 100 % );
|
||||
urgent-foreground: rgba ( 218, 66, 129, 100 % );
|
||||
alternate-urgent-background: rgba ( 0, 43, 55, 100 % );
|
||||
active-foreground: rgba ( 0, 142, 212, 100 % );
|
||||
lightbg: rgba ( 238, 232, 213, 100 % );
|
||||
selected-active-foreground: rgba ( 0, 142, 212, 100 % );
|
||||
alternate-active-background: rgba ( 0, 43, 55, 100 % );
|
||||
background: rgba ( 0, 43, 55, 100 % );
|
||||
bordercolor: rgba ( 0, 43, 55, 100 % );
|
||||
alternate-normal-foreground: @foreground;
|
||||
normal-background: rgba ( 0, 43, 55, 100 % );
|
||||
lightfg: rgba ( 88, 104, 117, 100 % );
|
||||
selected-normal-background: rgba ( 0, 54, 66, 100 % );
|
||||
border-color: @foreground;
|
||||
spacing: 2;
|
||||
separatorcolor: rgba ( 0, 54, 66, 100 % );
|
||||
urgent-background: rgba ( 0, 43, 55, 100 % );
|
||||
selected-urgent-background: rgba ( 0, 54, 66, 100 % );
|
||||
alternate-urgent-foreground: @urgent-foreground;
|
||||
background-color: rgba ( 0, 0, 0, 0 % );
|
||||
alternate-active-foreground: @active-foreground;
|
||||
active-background: rgba ( 0, 43, 55, 100 % );
|
||||
selected-active-background: rgba ( 0, 54, 66, 100 % );
|
||||
}
|
||||
#window {
|
||||
background-color: @background;
|
||||
border: 1;
|
||||
padding: 5;
|
||||
}
|
||||
#mainbox {
|
||||
border: 0;
|
||||
padding: 0;
|
||||
}
|
||||
#message {
|
||||
border: 1px dash 0px 0px ;
|
||||
border-color: @separatorcolor;
|
||||
padding: 1px ;
|
||||
}
|
||||
#textbox {
|
||||
text-color: @foreground;
|
||||
}
|
||||
#listview {
|
||||
fixed-height: 0;
|
||||
border: 2px dash 0px 0px ;
|
||||
border-color: @separatorcolor;
|
||||
spacing: 2px ;
|
||||
scrollbar: true;
|
||||
padding: 2px 0px 0px ;
|
||||
}
|
||||
#element {
|
||||
border: 0;
|
||||
padding: 1px ;
|
||||
}
|
||||
#element.normal.normal {
|
||||
background-color: @normal-background;
|
||||
text-color: @normal-foreground;
|
||||
}
|
||||
#element.normal.urgent {
|
||||
background-color: @urgent-background;
|
||||
text-color: @urgent-foreground;
|
||||
}
|
||||
#element.normal.active {
|
||||
background-color: @active-background;
|
||||
text-color: @active-foreground;
|
||||
}
|
||||
#element.selected.normal {
|
||||
background-color: @selected-normal-background;
|
||||
text-color: @selected-normal-foreground;
|
||||
}
|
||||
#element.selected.urgent {
|
||||
background-color: @selected-urgent-background;
|
||||
text-color: @selected-urgent-foreground;
|
||||
}
|
||||
#element.selected.active {
|
||||
background-color: @selected-active-background;
|
||||
text-color: @selected-active-foreground;
|
||||
}
|
||||
#element.alternate.normal {
|
||||
background-color: @alternate-normal-background;
|
||||
text-color: @alternate-normal-foreground;
|
||||
}
|
||||
#element.alternate.urgent {
|
||||
background-color: @alternate-urgent-background;
|
||||
text-color: @alternate-urgent-foreground;
|
||||
}
|
||||
#element.alternate.active {
|
||||
background-color: @alternate-active-background;
|
||||
text-color: @alternate-active-foreground;
|
||||
}
|
||||
#scrollbar {
|
||||
width: 4px ;
|
||||
border: 0;
|
||||
handle-width: 8px ;
|
||||
padding: 0;
|
||||
}
|
||||
#mode-switcher {
|
||||
border: 2px dash 0px 0px ;
|
||||
border-color: @separatorcolor;
|
||||
}
|
||||
#button.selected {
|
||||
background-color: @selected-normal-background;
|
||||
text-color: @selected-normal-foreground;
|
||||
}
|
||||
#inputbar {
|
||||
spacing: 0;
|
||||
text-color: @normal-foreground;
|
||||
padding: 1px ;
|
||||
}
|
||||
#case-indicator {
|
||||
spacing: 0;
|
||||
text-color: @normal-foreground;
|
||||
}
|
||||
#entry {
|
||||
spacing: 0;
|
||||
text-color: @normal-foreground;
|
||||
}
|
||||
#prompt {
|
||||
spacing: 0;
|
||||
text-color: @normal-foreground;
|
||||
}
|
||||
#inputbar {
|
||||
children: [ prompt,textbox-prompt-colon,entry,case-indicator ];
|
||||
}
|
||||
#textbox-prompt-colon {
|
||||
expand: false;
|
||||
str: ":";
|
||||
margin: 0px 0.3em 0em 0em ;
|
||||
text-color: @normal-foreground;
|
||||
}
|
||||
|
|
@ -1,18 +1,18 @@
|
|||
set font "JetBrains Mono Nerd Font 10"
|
||||
set default-fg "#DFDFDF"
|
||||
set default-bg "#262A2B"
|
||||
set font "JetBrains Mono Nerd Font 10"
|
||||
set default-fg "#DFDFDF"
|
||||
set default-bg "#262A2B"
|
||||
|
||||
set statusbar-fg "#CED4DA"
|
||||
set statusbar-bg "#1F2324"
|
||||
set statusbar-h-padding 10
|
||||
set statusbar-v-padding 10
|
||||
set statusbar-fg "#CED4DA"
|
||||
set statusbar-bg "#1F2324"
|
||||
set statusbar-h-padding 10
|
||||
set statusbar-v-padding 10
|
||||
|
||||
set inputbar-fg "#FFFFFF"
|
||||
set inputbar-bg "#1F2324"
|
||||
set inputbar-fg "#FFFFFF"
|
||||
set inputbar-bg "#1F2324"
|
||||
|
||||
set completion-bg "#262A2B"
|
||||
set completion-fg "#FFFFFF"
|
||||
set completion-highlight-bg "#262A2B"
|
||||
set completion-highlight-fg "#51AFEF"
|
||||
set completion-group-bg "#262A2B"
|
||||
set completion-group-fg "#51AFEF"
|
||||
set completion-bg "#262A2B"
|
||||
set completion-fg "#FFFFFF"
|
||||
set completion-highlight-bg "#262A2B"
|
||||
set completion-highlight-fg "#51AFEF"
|
||||
set completion-group-bg "#262A2B"
|
||||
set completion-group-fg "#51AFEF"
|
||||
|
|
|
|||
|
|
@ -7,10 +7,10 @@
|
|||
name = Smirnov-O
|
||||
|
||||
[web]
|
||||
browser = chromium # firefox, google-chrome,
|
||||
browser = firefox # chromium, google-chrome,
|
||||
|
||||
[core]
|
||||
editor = vim
|
||||
editor = nvim
|
||||
excludesfile = ~/.gitignore_global
|
||||
|
||||
[alias]
|
||||
|
|
|
|||
2
zshrc
2
zshrc
|
|
@ -50,3 +50,5 @@ alias .3="cd ../../.."
|
|||
alias .4="cd ../../../.."
|
||||
alias .5="cd ../../../../.."
|
||||
alias .6="cd ../../../../../.."
|
||||
|
||||
eval $(thefuck --alias)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue