19 files changed,
727 insertions(+),
345 deletions(-)
Author:
Smirnov Olexandr
ss2316544@gmail.com
Committed at:
2020-12-23 21:46:50 +0200
Parent:
f407ac0
jump to
M
bashrc
··· 1 -[[ $- != *i* ]] && return 2 -PS1='\e[36m\w\e[39m ' 1 +source ~/.profile 2 +#source ~/.env 3 + 4 +# Prompt generator - ezprompt.net 5 +export PS1="\[\e[36m\]\u\[\e[m\]@\[\e[32m\]\w\[\e[m\] \\$ " 3 6 7 +### Variables ### 4 8 export EDITOR='nvim' 5 -export VISUAL='emacsclient -c -a emacs' 9 +export VISUAL='nvim' 6 10 11 +### Aliases ### 7 12 alias cls='clear' 8 13 alias ls='ls --color=auto' 14 +alias sl="ls" 15 +alias tmux="tmux -2" 16 +alias mkdir="mkdir -p" 17 +alias du="du -sh" 18 +alias df="df -h" 19 +alias cp="cp -r" 9 20 alias :q="exit" 10 21 11 22 alias ..='cd ..'
M
config/alacritty.yml
··· 10 10 x: 0 11 11 y: 0 12 12 13 -scrolling: 14 - history: 1000 15 13 16 14 font: 17 15 antialias: lcd ··· 33 31 x: 1 34 32 y: 0 35 33 34 +scrolling.history: 1000 35 +cursor.style: Block 36 36 debug.render_timer: false 37 37 draw_bold_text_with_bright_colors: false 38 -background_opacity: 0.85 38 +background_opacity: 0.75 39 39 #dynamic_title: true 40 40 41 41 colors: ··· 49 49 text: '0xEDEBD7' 50 50 background: '0x262A3B' 51 51 normal: 52 - black: '0x1c1f24' 53 - red: '0xff6c6b' 54 - green: '0x98be65' 55 - yellow: '0xda8548' 56 - blue: '0x51afef' 57 - magenta: '0xc678dd' 58 - cyan: '0x5699af' 59 - white: '0x202328' 52 + black: '0x32344a' 53 + red: '0xf7768e' 54 + green: '0x9ece6a' 55 + yellow: '0xe0af68' 56 + blue: '0x7aa2f7' 57 + magenta: '0xad8ee6' 58 + cyan: '0x449dab' 59 + white: '0x9699a8' 60 60 bright: 61 - black: '0x5b6268' 62 - red: '0xda8548' 63 - green: '0x4db5bd' 64 - yellow: '0xecbe7b' 65 - blue: '0x3071db' 66 - magenta: '0xa9a1e1' 67 - cyan: '0x46d9ff' 68 - white: '0xdfdfdf' 69 - 70 -cursor: 71 - style: Block 61 + black: '0x444b6a' 62 + red: '0xff7a93' 63 + green: '0xb9f27c' 64 + yellow: '0xff9e64' 65 + blue: '0x7da6ff' 66 + magenta: '0xbb9af7' 67 + cyan: '0x0db9d7' 68 + white: '0xacb0d0' 72 69 73 70 key_bindings: 74 - - { key: V, mods: Control|Shift, action: Paste } 75 - - { key: C, mods: Control|Shift, action: Copy } 76 - - { key: Key0, mods: Control, action: ResetFontSize } 77 - - { key: Equals, mods: Alt, action: IncreaseFontSize } 78 - - { key: Minus, mods: Alt, action: DecreaseFontSize } 71 + - { key: V, mods: Control|Shift, action: Paste } 72 + - { key: C, mods: Control|Shift, action: Copy }
M
config/berry/polybar/polybar
··· 8 8 alert = #DD6C6B 9 9 10 10 [bar/bar] 11 -height = 24 12 11 override-redirect = false 13 12 background = ${colors.background} 14 13 foreground = ${colors.foreground} ··· 16 15 module-margin-right = 1 17 16 padding-left = 3 18 17 padding-right = 3 18 + 19 +width = 14% 20 +height = 22 21 + 22 +offset-x = 85.8% 23 +offset-y = 0.4% 24 + 19 25 font-0 = Iosevka Nerd Font:style=Medium:size=10;3 20 26 font-1 = FontAwesome5Free:style=Solid:size=8;2.5 21 27 modules-left = wifi-signal date 22 -modules-center = wp 23 -modules-right = keyboard pulseaudio backlight time 28 +#modules-center = wp 29 +#modules-right = keyboard pulseaudio backlight time 24 30 25 31 [module/backlight] 26 32 type = internal/xbacklight ··· 58 64 [module/date] 59 65 type = internal/date 60 66 interval = 600 61 -date = %b %e 67 +date = %e 62 68 label = %date% 63 69 64 70 [module/time]
M
config/betterlockscreenrc
··· 2 2 ringcolor=#ffffff 3 3 keyhlcolor=#51AFEF 4 4 bshlcolor=#51AFEF 5 -separatorcolor=#00000000 6 -insidevercolor=#ff6c6b 5 +separatorcolor=#51AFEF 6 +insidevercolor=#00000000 7 7 insidewrongcolor=#51AFEF 8 8 ringvercolor=#ffffff 9 9 ringwrongcolor=#ffffff 10 10 verifcolor=#ffffff 11 11 timecolor=#ffffff 12 12 datecolor=#ced4da 13 -loginbox=#000066 13 +loginbox=#000000
A
config/castero/castero.conf
··· 1 +# castero configuration file 2 +# https://github.com/xgi/castero 3 + 4 + 5 +[client] 6 +# Whether to ask for confirmation before deleting a feed. 7 +# default: False 8 +delete_feed_confirmation = True 9 + 10 +# The minimum number of feeds before the client asks you for confirmation 11 +# after pressing the reload key. 12 +# default: 10 13 +reload_feeds_threshold = 10 14 + 15 +# The maximum number of episodes to retain per feed. Set to -1 for no limit. 16 +# default: -1 17 +max_episodes = -1 18 + 19 +# Whether to keep episodes in the client even if they are no longer present on 20 +# the feed (i.e. the RSS feed only shows the x most recent episodes). 21 +# default: False 22 +retain_absent_episodes = False 23 + 24 +# Hide vertical borders between menus. 25 +# default: False 26 +disable_vertical_borders = False 27 + 28 +# Whether to remove HTML tags from feed/episode descriptions. 29 +# default: True 30 +clean_html_descriptions = True 31 + 32 +# The display refresh delay, in ms. Increase to reduce idle CPU usage. 33 +# default: 30 34 +refresh_delay = 30 35 + 36 +# The external player to use for media playback. 37 +# If the given player is not valid or a dependency is not met, the client will 38 +# instead try to use the first valid interface. 39 +# Available players (in order of precedence): 40 +# mpv, vlc 41 +# default: (blank) 42 +player = 43 + 44 +# The command to run when you press key_execute (default e). All instances of 45 +# the following tokens are replaced with the corresponding episode attributes: 46 +# {file} - the episode enclosure, usually a remote mp3 file 47 +# {title} - the episode name 48 +# {description} - the episode description 49 +# {link} - the link to the episode, which is often a blog post 50 +# {pubdate} - the publish date/time of the episode 51 +# {copyright} - the copyright of the episode 52 +# Most of these attributes have spaces, so you will probably want to enclose 53 +# the token with quotations. 54 +# For example, `firefox "{file}"` would open the file in Firefox. 55 +# The client executes the text you enter as a shell command. Use with caution! 56 +# default: (blank) 57 +execute_command = 58 + 59 +# An HTTP or SOCKS proxy to use for HTTP network requests. 60 +# example: http://user:pass@10.10.1.10:3128 61 +# example: socks5://user:pass@host:port 62 +# default: (blank) 63 +proxy_http = 64 + 65 +# An HTTP or SOCKS proxy to use for HTTPS network requests. 66 +# example: http://user:pass@10.10.1.10:3128 67 +# example: socks5://user:pass@host:port 68 +# default: (blank) 69 +proxy_https = 70 + 71 + 72 +[feeds] 73 +# Whether to reload/refresh your feeds when the client starts. Depending on how 74 +# many feeds you have, this operation may take a long time. 75 +# default: False 76 +reload_on_start = False 77 + 78 + 79 +[downloads] 80 +# The (absolute) location to save episodes downloaded for offline playback. Set 81 +# to blank or whitespaces to disable -- the client will default to either 82 +# $XDG_DATA_DIR, if set, otherwise ~/.local/share/castero/downloaded 83 +# default: (blank) 84 +custom_download_dir = 85 + 86 +# The timeout for network requests, in seconds. The same value is used for 87 +# connection and read timeouts. 88 +# default: 3 89 +request_timeout = 3 90 + 91 + 92 +[colors] 93 +# Available colors for all fields are: 94 +# black, blue, cyan, green, magenta, red, white, yellow, transparent (background), 95 +# integer from -1 to 255 if terminal supports 256 colors 96 +# NOTE: Background transparency only works on compatible terminals with compositing 97 + 98 +# The foreground (text) color of the main interface. 99 +# default: yellow 100 +color_foreground = white 101 + 102 +# The background color of the main interface. 103 +# default: black 104 +color_background = default 105 + 106 +# The foreground (text) color of selected items. 107 +# default: black 108 +color_foreground_alt = black 109 + 110 +# The background color of selected items. 111 +# default: white 112 +color_background_alt = white 113 + 114 +# The foreground (text) color of marked items. Paired with color_background. 115 +# default: green 116 +color_foreground_dim = blue 117 + 118 +# The foreground (text) color of status lines. Paired with color_background. 119 +# default: white 120 +color_foreground_status = white 121 + 122 +# The foreground (text) color of menu headings. Paired with color_background. 123 +# default: yellow 124 +color_foreground_heading = blue 125 + 126 +# The foreground (text) color of dividers. Paired with color_background. 127 +# default: white 128 +color_foreground_dividers = white 129 + 130 + 131 +[playback] 132 +# The distance to move forward when pressing seek keys, in seconds. 133 +# default: 30 134 +seek_distance_forward = 30 135 + 136 +# The distance to move backward when pressing seek keys, in seconds. 137 +# default: 10 138 +seek_distance_backward = 10 139 + 140 +# The default playback speed. See also the rate_increase/rate_decrease keys. 141 +# default: 1.0 142 +default_playback_speed = 1.0 143 + 144 +# The default volume. Can be 0-100, inclusive. 145 +# default: 100 146 +default_volume = 80 147 + 148 +# The amount to adjust the volume when pressing the volume up/down keys. 149 +# default: 5 150 +volume_adjust_distance = 5 151 + 152 + 153 +[keys] 154 +# Keybindings for controlling the client. Entries may not be blank, but may 155 +# overlap -- however, only one operation will be performed for each key press. 156 +# Please see this page for a list of available key names: 157 +# https://docs.python.org/3/library/curses.html#constants 158 + 159 +# Show the help menu. 160 +# default: h 161 +key_help = ? 162 + 163 +# Exit the client 164 +# default: q 165 +key_exit = q 166 + 167 +# Add a feed. 168 +# default: a 169 +key_add_feed = A 170 + 171 +# Remove the selected feed. 172 +# default: d 173 +key_remove = O 174 + 175 +# Reload/refresh all feeds. 176 +# default: r 177 +key_reload = r 178 + 179 +# Reload/refresh the selected feed. 180 +# default: R 181 +key_reload_selected = R 182 + 183 +# Save episode for offline playback. 184 +# default: s 185 +key_save = d 186 + 187 +# Delete downloaded episodes. 188 +# default: x 189 +key_delete = D 190 + 191 +# Navigate up. 192 +# default: UP 193 +key_up = UP 194 + 195 +# Navigate right. 196 +# default: RIGHT 197 +key_right = RIGHT 198 + 199 +# Navigate down. 200 +# default: DOWN 201 +key_down = DOWN 202 + 203 +# Navigate left. 204 +# default: LEFT 205 +key_left = LEFT 206 + 207 +# Scroll menu up. 208 +# default: PPAGE 209 +key_scroll_up = PPAGE 210 + 211 +# Scroll menu down. 212 +# default: NPAGE 213 +key_scroll_down = NPAGE 214 + 215 +# Play selected feed/episode. 216 +# default: ENTER 217 +key_play_selected = ENTER 218 + 219 +# Add selected feed/episode to queue. 220 +# default: SPACE 221 +key_add_selected = SPACE 222 + 223 +# Clear the queue. 224 +# default: c 225 +key_clear = c 226 + 227 +# Go to the next episode in the queue. 228 +# default: n 229 +key_next = n 230 + 231 +# Execute a command on the selected episode. See also execute_command. 232 +key_execute = e 233 + 234 +# Invert the order of the menu. 235 +# default: i 236 +key_invert = i 237 + 238 +# Filter the contents of the menu. Press again to clear the filter. 239 +# default: / 240 +key_filter = / 241 + 242 +# Mark the episode as played/unplayed. 243 +# default: i 244 +key_mark_played = m 245 + 246 +# Pause/play the current episode. 247 +# default: p 248 +key_pause_play = p 249 + 250 +# Alternate binding for key_pause_play -- make identical to disable. 251 +# default: k 252 +key_pause_play_alt = o 253 + 254 +# Seek forward. 255 +# default: f 256 +key_seek_forward = f 257 + 258 +# Alternate binding for key_seek_forward -- make identical to disable. 259 +# default: l 260 +key_seek_forward_alt = F 261 + 262 +# Seek backward. 263 +# default: b 264 +key_seek_backward = b 265 + 266 +# Alternate binding for key_seek_backward -- make identical to disable. 267 +# default: j 268 +key_seek_backward_alt = B 269 + 270 +# Increase playback speed. 271 +# default: ] 272 +key_rate_increase = ] 273 + 274 +# Decrease playback speed. 275 +# default: [ 276 +key_rate_decrease = [ 277 + 278 +# Increase volume. 279 +# default: = 280 +key_volume_increase = = 281 + 282 +# Decrease volume. 283 +# default: - 284 +key_volume_decrease = - 285 + 286 +# Show episode URL. 287 +# default: u 288 +key_show_url = u
A
config/cmus/nten16.theme
··· 1 +set color_cmdline_bg=default 2 +set color_cmdline_fg=default 3 +set color_error=lightred 4 +set color_info=lightblue 5 +set color_separator=blue 6 +set color_statusline_bg=gray 7 +set color_statusline_fg=white 8 +set color_titleline_bg=blue 9 +set color_titleline_fg=white 10 +set color_win_bg=default 11 +set color_win_cur=lightblue 12 +set color_win_cur_sel_bg=lightblue 13 +set color_win_cur_sel_fg=default 14 +set color_win_dir=lightblue 15 +set color_win_fg=default 16 +set color_win_inactive_cur_sel_bg=default 17 +set color_win_inactive_cur_sel_fg=lightblue 18 +set color_win_inactive_sel_bg=default 19 +set color_win_inactive_sel_fg=default 20 +set color_win_sel_bg=lightblue 21 +set color_win_sel_fg=white 22 +set color_win_title_bg=blue 23 +set color_win_title_fg=white
M
config/dunst/dunstrc
··· 1 1 [global] 2 - font = Hack 10 3 - padding = 1 4 - frame_color = "#073642" 2 + monitor = 0 3 + follow = mouse 4 + geometry = "250x50-10+30" 5 + indicate_hidden = yes 6 + shrink = no 7 + transparency = 0 8 + notification_height = 0 9 + separator_height = 4 10 + padding = 16 11 + horizontal_padding = 16 5 12 frame_width = 2 6 - allow_markup = yes 7 - format = "<b>%a:</b> %s\n%b" 13 + frame_color = "#1F2324" 14 + separator_color = frame 8 15 sort = yes 9 - indicate_hidden = yes 16 + idle_threshold = 120 17 + font = Roboto 8 18 + line_height = 4 19 + markup = full 20 + format = "<b>%s</b>\n%b" 10 21 alignment = left 11 - bounce_freq = 0 12 22 show_age_threshold = 60 13 23 word_wrap = yes 14 24 ignore_newline = no 15 - geometry = "300x5-30+40" 16 - transparency = 0 17 - idle_threshold = 120 18 - monitor = 0 19 - follow = keyboard 25 + stack_duplicates = false 26 + hide_duplicate_count = false 27 + show_indicators = yes 28 + icon_position = off 29 + max_icon_size = 32 30 + icon_folders = /usr/share/icons/gnome/16x16/status/:/usr/share/icons/gnome/16x16/devices/ 20 31 sticky_history = yes 21 - line_height = 0 22 - separator_height = 2 23 - padding = 8 24 - horizontal_padding = 8 25 - separator_color = frame 26 - startup_notification = true 32 + history_length = 20 33 + dmenu = /usr/bin/dmenu -p dunst: 27 34 browser = /usr/bin/firefox -new-tab 35 + always_run_script = true 36 + title = Dunst 37 + class = Dunst 38 + startup_notification = false 39 + force_xinerama = false 28 40 29 -[frame] 30 - width = 0 31 - color = "#000000" 41 +[experimental] 42 + per_monitor_dpi = false 43 + 44 +[shortcuts] 45 + close = 46 + close_all = 47 + history = 48 + context = 32 49 33 50 [urgency_low] 34 - background = "#002B36" 35 - foreground = "#dfdfdf" 36 - timeout = 10 51 + background = "#262A2B" 52 + foreground = "#FFFFFF" 53 + timeout = 2 37 54 38 55 [urgency_normal] 39 - background = "#002B36" 40 - foreground = "#ffffff" 41 - timeout = 10 56 + background = "#262A2B" 57 + foreground = "#FFFFFF" 58 + timeout = 4 42 59 43 60 [urgency_critical] 44 - background = "#900000" 45 - foreground = "#ffffff" 61 + background = "#262A2B" 62 + foreground = "#FFFFFF" 63 + frame_color = "#e3788f" 46 64 timeout = 0 65 + 66 +[Spotify] 67 + appname = Spotify
A
config/mc/ini
··· 1 +[Midnight-Commander] 2 +verbose=true 3 +shell_patterns=true 4 +auto_save_setup=true 5 +preallocate_space=false 6 +auto_menu=false 7 +use_internal_view=true 8 +use_internal_edit=true 9 +clear_before_exec=true 10 +confirm_delete=true 11 +confirm_overwrite=true 12 +confirm_execute=false 13 +confirm_history_cleanup=true 14 +confirm_exit=false 15 +confirm_directory_hotlist_delete=false 16 +confirm_view_dir=false 17 +safe_delete=false 18 +safe_overwrite=false 19 +use_8th_bit_as_meta=false 20 +mouse_move_pages_viewer=true 21 +mouse_close_dialog=false 22 +fast_refresh=false 23 +drop_menus=false 24 +wrap_mode=true 25 +old_esc_mode=true 26 +cd_symlinks=true 27 +show_all_if_ambiguous=false 28 +use_file_to_guess_type=true 29 +alternate_plus_minus=false 30 +only_leading_plus_minus=true 31 +show_output_starts_shell=false 32 +xtree_mode=false 33 +file_op_compute_totals=true 34 +classic_progressbar=true 35 +use_netrc=true 36 +ftpfs_always_use_proxy=false 37 +ftpfs_use_passive_connections=true 38 +ftpfs_use_passive_connections_over_proxy=false 39 +ftpfs_use_unix_list_options=true 40 +ftpfs_first_cd_then_ls=true 41 +ignore_ftp_chattr_errors=true 42 +editor_fill_tabs_with_spaces=false 43 +editor_return_does_auto_indent=true 44 +editor_backspace_through_tabs=false 45 +editor_fake_half_tabs=true 46 +editor_option_save_position=true 47 +editor_option_auto_para_formatting=false 48 +editor_option_typewriter_wrap=false 49 +editor_edit_confirm_save=true 50 +editor_syntax_highlighting=true 51 +editor_persistent_selections=true 52 +editor_drop_selection_on_copy=true 53 +editor_cursor_beyond_eol=false 54 +editor_cursor_after_inserted_block=false 55 +editor_visible_tabs=true 56 +editor_visible_spaces=true 57 +editor_line_state=false 58 +editor_simple_statusbar=false 59 +editor_check_new_line=false 60 +editor_show_right_margin=false 61 +editor_group_undo=false 62 +editor_state_full_filename=false 63 +editor_ask_filename_before_edit=false 64 +nice_rotating_dash=true 65 +mcview_remember_file_position=false 66 +auto_fill_mkdir_name=true 67 +copymove_persistent_attr=true 68 +pause_after_run=1 69 +mouse_repeat_rate=100 70 +double_click_speed=250 71 +old_esc_mode_timeout=1000000 72 +max_dirt_limit=10 73 +num_history_items_recorded=60 74 +vfs_timeout=60 75 +ftpfs_directory_timeout=900 76 +ftpfs_retry_seconds=30 77 +fish_directory_timeout=900 78 +editor_tab_spacing=8 79 +editor_word_wrap_line_length=72 80 +editor_option_save_mode=0 81 +editor_backup_extension=~ 82 +editor_filesize_threshold=64M 83 +editor_stop_format_chars=-+*\\,.;:&> 84 +mcview_eof= 85 +skin=nicedark 86 + 87 +filepos_max_saved_entries=1024 88 + 89 +[Layout] 90 +output_lines=0 91 +left_panel_size=28 92 +top_panel_size=0 93 +message_visible=true 94 +keybar_visible=true 95 +xterm_title=true 96 +command_prompt=true 97 +menubar_visible=true 98 +free_space=true 99 +horizontal_split=false 100 +vertical_equal=true 101 +horizontal_equal=true 102 + 103 +[Misc] 104 +timeformat_recent=%b %e %H:%M 105 +timeformat_old=%b %e %Y 106 +ftp_proxy_host=gate 107 +ftpfs_password=anonymous@ 108 +display_codepage=UTF-8 109 +source_codepage=Other_8_bit 110 +autodetect_codeset= 111 +clipboard_store= 112 +clipboard_paste= 113 + 114 +[Colors] 115 +base_color= 116 +alacritty= 117 +color_terminals= 118 + 119 +xterm-256color= 120 + 121 +[Panels] 122 +show_mini_info=true 123 +kilobyte_si=false 124 +mix_all_files=false 125 +show_backups=true 126 +show_dot_files=true 127 +fast_reload=false 128 +fast_reload_msg_shown=false 129 +mark_moves_down=true 130 +reverse_files_only=true 131 +auto_save_setup_panels=false 132 +navigate_with_arrows=false 133 +panel_scroll_pages=true 134 +panel_scroll_center=false 135 +mouse_move_pages=true 136 +filetype_mode=true 137 +permission_mode=false 138 +torben_fj_mode=false 139 +quick_search_mode=2 140 +select_flags=6 141 + 142 +[Panelize] 143 +Find *.orig after patching=find . -name \\*.orig -print 144 +Find SUID and SGID programs=find . \\( \\( -perm -04000 -a -perm /011 \\) -o \\( -perm -02000 -a -perm /01 \\) \\) -print 145 +Find rejects after patching=find . -name \\*.rej -print 146 +Modified git files=git ls-files --modified
M
config/nvim/init.vim
··· 1 1 call plug#begin('~/.vim/plugged') 2 - Plug 'ryanoasis/vim-devicons' 3 2 Plug 'itchyny/lightline.vim' 4 3 Plug 'nathanaelkane/vim-indent-guides' 5 4 Plug 'Smirnov-O/nten16.vim' 6 - Plug 'iamcco/markdown-preview.nvim' 7 - Plug 'dhruvasagar/vim-table-mode' 5 + Plug 'iamcco/markdown-preview.nvim', { 'for': 'markdown' } 6 + Plug 'dhruvasagar/vim-table-mode', { 'for': 'markdown' } 8 7 Plug 'easymotion/vim-easymotion' 9 - Plug 'voldikss/vim-floaterm' 8 + Plug 'voldikss/vim-floaterm', { 'on': 'FloatermNew' } 9 + Plug 'mhinz/vim-startify' 10 + Plug 'vim-python/python-syntax' 11 + Plug 'severin-lemaignan/vim-minimap' 12 + Plug 'frazrepo/vim-rainbow' 10 13 11 14 " File manger & seacher 12 15 Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' } 16 + Plug 'ryanoasis/vim-devicons', { 'on': 'NERDTreeToggle' } 13 17 Plug 'kien/ctrlp.vim', { 'on': 'CtrlP' } 14 18 15 19 " Completion ··· 20 24 Plug 'pangloss/vim-javascript', { 'for': 'javascript' } 21 25 Plug 'PotatoesMaster/i3-vim-syntax', { 'for': 'i3' } 22 26 Plug 'kovetskiy/sxhkd-vim', { 'for': 'sxhkd' } 23 - Plug 'fatih/vim-go', { 'do': ':GoUpdateBinaries', 'for': 'go' } 24 27 Plug 'mattn/emmet-vim', { 'on': 'Emmet' } 25 28 Plug 'Olical/vim-scheme', { 'for': 'scheme' } 26 29 Plug 'cakebaker/scss-syntax.vim', { 'for': 'scss' } ··· 91 94 map <C-b> :NERDTreeToggle<CR> 92 95 let g:NERDTreeWinPos="right" 93 96 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'] 94 -let NERDTreeMinimalUI = 1 95 -let NERDTreeShowLineNumbers=0 97 +let NERDTreeMinimalUI=1 98 +let NERDTreeShowLineNumbers=1 99 +let NERDTreeShowHidden=0 100 +let g:NERDTreeWinSize=28 96 101 97 102 " Coc 98 103 inoremap <expr> <Tab> pumvisible() ? "\<C-n>" : "\<Tab>" ··· 117 122 " Indent guides 118 123 let g:indent_guides_enable_on_vim_startup = 1 119 124 120 -" Floaterm 125 +" Python 126 +let g:python_highlight_all = 1 127 + 128 +" Startify 129 +let g:startify_custom_header = [ 130 + \" _____ _____ _ ", 131 + \" | | |___ ___| | |_|_____ ", 132 + \" | | | | -_| . | | | | | ", 133 + \" |_|___|___|___|\___/|_|_|_|_| ", 134 + \ ] 135 +let g:startify_lists = [ 136 + \ { 'type': 'bookmarks', 'header': [" Bookmarks"] }, 137 + \ { 'type': 'files', 'header': [" Files"] }, 138 + \ ] 139 + 140 +" Rainbow 141 +let g:rainbow_active = 1 142 + 143 +" Minimap 144 +let g:minimap_highlight='Visual' 145 + 146 +" Floaterm\ 121 147 nmap <A-t> :FloatermNew --title=vimterminal --position=top --autoclose=2<CR> 122 148 123 149 " == Maping ··· 151 177 noremap <A-7> :tabn 7<CR> 152 178 noremap <A-8> :tabn 8<CR> 153 179 noremap <A-9> :tabn 9<CR> 154 -noremap <leader>n :bnext<CR> 155 -noremap <leader>p :bprev<CR> 180 +noremap <C-a> :bnext<CR> 181 +noremap <C-s> :bprev<CR>
M
config/picom.conf
··· 27 27 no-fading-openclose = true 28 28 29 29 ##### Background-Blurring ##### 30 -blur-kern = "3x3box"; 31 -blur-background-exclude = []; 30 +#blur-method = "dual_kawase"; 31 +#blur-strength = 5; 32 +#blur-kern = "3x3box"; 33 +#blur-background-exclude = []; 32 34 33 35 34 36 ####### General Settings ######
M
config/qtile/autostart.sh
··· 1 1 #!/bin/sh 2 -setxkbmap "us,ua" ",winkeys" "grp:alt_shift_toggle" -option "ctrl:nocaps" 2 +xautolock -time 5 -locker "betterlockscreen --off 300 -t \"Computer is lockerd\" -l" & 3 +setxkbmap "us,ua" ",winkeys" "grp:alt_shift_toggle" -option "ctrl:nocaps" & 3 4 /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 & 4 5 nitrogen --restore & 5 -picom -b & 6 +picom --experimental-backends -b &
M
config/qtile/config.py
··· 11 11 12 12 terminal = "alacritty" 13 13 browser = "firefox" 14 -filemanager="pcmanfm" 14 +filemanager="thunar" 15 15 user = "sasha" 16 16 17 17 color = [ ··· 40 40 lazy.spawn(browser), 41 41 desc="Launch browser" 42 42 ), 43 - Key([mod], "F4", 43 + Key([mod], "f", 44 44 lazy.spawn(filemanager), 45 45 desc="Launch filemanager" 46 + ), 47 + Key([mod, "shift"], "f", 48 + lazy.spawn("dmenufm"), 49 + desc="Launch dmenu filemanager" 46 50 ), 47 51 Key([mod, alt], "t", 48 52 lazy.spawn(f"{terminal} -e nvim /home/{user}/.todo"), ··· 179 183 Key([mod, "shift"], "Escape", 180 184 lazy.spawn("xkill"), 181 185 desc="Xkill" 186 + ), 187 + Key([mod, "shift"], "z", 188 + lazy.spawn("betterlockscreen --off 300 -t \"Computer is locked\" -l"), 189 + desc="Lock screen" 182 190 ) 183 191 ] 184 192 ··· 191 199 ("chat", {"layout": "columns"}), 192 200 ("pass", {"layout": "columns"}), 193 201 ("mus", {"layout": "max"}), 194 - ("flo", {"layout": "floating"}) 202 + ("flo", {"layout": "columns"}) 195 203 ] 196 204 groups = [Group(name, **kwargs) for name, kwargs in group_names] 197 205 for i, (name, kwargs) in enumerate(group_names, 1):
M
config/ranger/rc.conf
··· 88 88 # Command Aliases in the Console 89 89 ################################# 90 90 91 -map E edit 92 -map F set freeze_files! 91 +map E edit 92 +alias e edit 93 93 94 94 # "a" key 95 95 map a rename_append ··· 101 101 map sd shell 7z a file.7z %s 102 102 map se shell extract %s 103 103 104 -# "q"/quit keys 104 +# "q"/quit keys/alias 105 105 map Q quitall 106 +alias qa quitall 106 107 map q quit 108 +alias q quit 109 +alias q! quit! 107 110 map <C-c> abort 108 111 109 -# quit alias 110 -alias q quit 111 -alias q quit 112 -alias q! quit! 113 -alias qa quitall 114 -alias qa! quitall! 115 -alias setl setlocal 116 -alias e edit 117 - 118 112 # scout alias 119 113 alias filter scout -prts 120 114 alias find scout -aets ··· 132 126 map ~ set viewmode! 133 127 map <C-l> redraw_window 134 128 map <esc> change_mode normal 129 +map ? help 135 130 136 -map i display_file 137 -map <A-j> scroll_preview 1 138 -map <A-k> scroll_preview -1 139 -map ? help 140 -map W display_log 141 -map w taskview_open 131 +# Go keys 132 +map gh cd ~ 133 +map gc cd ~/Code 134 +map gd cd ~/Documents 135 +map gb cd ~/Documents/Books 136 +map gm cd ~/.dotfiles 137 +map gn cd ~/bin 138 +map gz cd ~/.script 142 139 140 +# Console 143 141 map : console 144 142 map ! console shell%space 145 143 map @ shell $SHELL ··· 147 145 map f console find%space 148 146 map cd console cd%space 149 147 150 -map <C-p> chain console; eval fm.ui.console.history_move(-1) 151 - 148 +# Linemode 152 149 map Mf linemode filename 153 150 map Mi linemode fileinfo 154 151 map Mm linemode mtime ··· 158 155 map MH linemode sizehumanreadablemtime 159 156 map Mt linemode metatitle 160 157 158 +# Visual mode 161 159 map <Space> mark_files toggle=True 162 160 map v mark_files all=True toggle=True 163 161 map uv mark_files all=True val=False 164 162 map V toggle_visual_mode 165 163 map uV toggle_visual_mode reverse=True 166 164 165 +# Tab keys 166 +map <C-n> tab_new 167 +map <C-w> tab_close 168 +map <TAB> tab_move 1 169 +map <S-TAB> tab_move -1 170 +map <A-Right> tab_move 1 171 +map <A-Left> tab_move -1 172 +map tt tab_new 173 +map ty tab_close 174 +map tv tag_toggle 175 +map uv tag_remove 176 +map "<any> tag_toggle tag=%any 177 +map uq tab_restore 178 +map <c-1> tab_open 1 179 +map <c-2> tab_open 2 180 +map <c-3> tab_open 3 181 +map <c-4> tab_open 4 182 +map <c-5> tab_open 5 183 +map <c-6> tab_open 6 184 +map <c-7> tab_open 7 185 +map <c-8> tab_open 8 186 +map <c-9> tab_open 9 187 +map <c-r> tab_shift 1 188 +map <c-l> tab_shift -1 189 + 190 +# Other keys 167 191 map <UP> move up=1 168 192 map <DOWN> move down=1 169 193 map <LEFT> move left=1 ··· 175 199 map <CR> move right=1 176 200 map <DELETE> console delete 177 201 map <INSERT> console touch%space 178 - 179 202 copymap <UP> k 180 203 copymap <DOWN> j 181 204 copymap <LEFT> h ··· 184 207 copymap <END> G 185 208 copymap <PAGEDOWN> <C-F> 186 209 copymap <PAGEUP> <C-B> 187 - 188 210 map J move down=0.5 pages=True 189 211 map K move up=0.5 pages=True 190 212 copymap J <C-D> 191 213 copymap K <C-U> 192 - 193 214 map H history_go -1 194 215 map L history_go 1 195 216 map ] move_parent 1 ··· 198 219 map { traverse_backwards 199 220 map ) jump_non 200 221 201 -# Go keys 202 -map gh cd ~ 203 -map gc cd ~/Code 204 -map gd cd ~/Documents 205 -map gb cd ~/Documents/Books 206 -map gm cd ~/.dotfiles 207 -map gn cd ~/bin 208 -map gz cd ~/.script 209 222 210 223 # File keys 211 224 map dD shell mv %s /home/${USER}/.local/share/Trash/files/ ··· 230 243 map ya copy mode=add 231 244 map yr copy mode=remove 232 245 map yt copy mode=toggle 233 - 234 246 235 247 map dgg eval fm.cut(dirarg=dict(to=0), narg=quantifier) 236 248 map dG eval fm.cut(dirarg=dict(to=-1), narg=quantifier) ··· 251 263 map cc search_next order=ctime 252 264 map cm search_next order=mtime 253 265 map ca search_next order=atime 254 - 255 -# Tab keys 256 -map <C-n> tab_new 257 -map <C-w> tab_close 258 -map <TAB> tab_move 1 259 -map <S-TAB> tab_move -1 260 -map <A-Right> tab_move 1 261 -map <A-Left> tab_move -1 262 -map tn tab_new 263 -map tc tab_close 264 -map tt tag_toggle 265 -map ut tag_remove 266 -map "<any> tag_toggle tag=%any 267 -map uq tab_restore 268 -map <a-1> tab_open 1 269 -map <a-2> tab_open 2 270 -map <a-3> tab_open 3 271 -map <a-4> tab_open 4 272 -map <a-5> tab_open 5 273 -map <a-6> tab_open 6 274 -map <a-7> tab_open 7 275 -map <a-8> tab_open 8 276 -map <a-9> tab_open 9 277 -map <a-r> tab_shift 1 278 -map <a-l> tab_shift -1 279 266 280 267 map or set sort_reverse! 281 268 map oz set sort=random
A
config/zathura/zathurarc
··· 1 +set font "JetBrains Mono Nerd Font 10" 2 +set default-fg "#DFDFDF" 3 +set default-bg "#262A2B" 4 + 5 +set statusbar-fg "#CED4DA" 6 +set statusbar-bg "#1F2324" 7 +set statusbar-h-padding 10 8 +set statusbar-v-padding 10 9 + 10 +set inputbar-fg "#FFFFFF" 11 +set inputbar-bg "#1F2324" 12 + 13 +set completion-bg "#262A2B" 14 +set completion-fg "#FFFFFF" 15 +set completion-highlight-bg "#262A2B" 16 +set completion-highlight-fg "#51AFEF" 17 +set completion-group-bg "#262A2B" 18 +set completion-group-fg "#51AFEF"
D
install_arch.md
··· 1 -### Connect to WiFi 2 -~~~bash 3 -$ iwctl 4 - > device list # Show all network deivce 5 - > station `wlan` scan # Scan networks from `wlan` device 6 - > station `wlan` get-networks # Show all wifi networks 7 - > station `wlan` connect SSID # Get passphrase for connect 8 -$ iwctl --passphrase `pass` station `wlan` connect `SSID` 9 -~~~ 10 - 11 -### Clock 12 -~~~bash 13 -$ timedatectl set-ntp true 14 -~~~ 15 - 16 -### Disk 17 -~~~bash 18 -$ cfdisk /dev/sdX 19 -~~~ 20 - 21 -**Create:** 22 -- swap: size(RAM); type(Linux SWAP) 23 -- root: size(15-30Gb); type(ext4)' 24 -- home(optional): size(all size); type(ext4) 25 - 26 -**Format:** 27 -~~~bash 28 -$ mkswap /dev/(swap) 29 -$ mkfs.ext4 /dev/(root) 30 -$ mkfs.ext4 /dev/(home) 31 -~~~ 32 - 33 -**Mount:** 34 -~~~bash 35 -swapon /dev/(swap) 36 -mount /dev/(root) / mnt 37 -mkdit mnt/home && mount /dev/(home) /mnt/home 38 -~~~ 39 - 40 -### Base system 41 -~~~bash 42 -$ pacstrarp /mnt base base-devel linux linux-dirmware wpa_supplicant dhcpcd networkmanager 43 -~~~ 44 - 45 -### FStab 46 -~~~bash 47 -$ genfstab -U /mnt >> /mnt/etc/fstab 48 -~~~ 49 - 50 -### Chroot 51 -~~~bash 52 -$ arch-chroot /mnt 53 -~~~ 54 - 55 -## Configure base system 56 -### Time 57 -~~~bash 58 -$ ln -sf /usr/share/zoneinfo/Region/City /etc/localtime 59 -$ hwclock --systohc 60 -~~~ 61 - 62 -### Localization 63 -Uncomment your locale in `/etc/locale.gen` 64 -~~~bash 65 -$ locale-gen 66 -~~~ 67 - 68 -### Hostname 69 -~~~bash 70 -$ hostnamectl set-hostname arch 71 -$ vim /etc/hosts 72 - > 127.0.0.1 arch 73 - > ::1 arch 74 - > 127.0.1.1 arch.localdomain arch 75 -~~~ 76 - 77 -### Root password 78 -~~~bash 79 -$ passwd root 80 -~~~ 81 - 82 -### User & sudo 83 -Uncomment `%wheel` line in `/etc/sudoers` 84 -~~~bash 85 -$ useradd -m user 86 -$ usermod -aG wheel,audio,video,optical,strage user 87 -$ passwd user 88 -~~~ 89 - 90 -### Install grub 91 -~~~bash 92 -$ pacman -S grub 93 -$ grub-install --recheck /dev/sdX 94 -$ grub-mkconfig -o /boot/grub/grub.cfg 95 -~~~ 96 - 97 -### Reboot in base system 98 -~~~bash 99 -$ exit 100 -$ umount /mnt 101 -$ reboot 102 -~~~ 103 - 104 -### Network manager 105 -~~~bash 106 -$ sudo systemctl enable NetworkManager 107 -$ sudo systemctl start NetworkManager 108 -$ nmtui-connect 109 -~~~ 110 - 111 -### User dirs 112 -~~~bash 113 -$ sudo pacman -S xdg-userr-dirs 114 -$ xdg-user-dirs-update 115 -~~~ 116 - 117 -### Xorg, login manager, video drivers 118 -~~~bash 119 -$ sudo pacman -S xorg-server xorg-xrand xorg-xsetroot xorg-drivers lightdm lightdm-gtk-greeter 120 -$ sudo pacman -S xf86-video-intel lib32-intel-dri # Intel 121 -$ sudo pacman -S nvidia nvidia-utils lib32-nvidia-utils # Nvidia 122 -$ sudo pacman -S xf86-video-ati lib-ati-dri # AMD 123 -$ sudo systemctl enable lightdm 124 -~~~ 125 - 126 - 127 -### Install yay 128 -~~~bash 129 -$ git clone https://aur.archlinux.org/yay-bin 130 -$ cd yay-bin 131 -$ makepkg -si 132 -~~~ 133 - 134 - 135 -### Install alsa, pulseaudio 136 -~~~bash 137 -$ sudo pacman -S alsa-firmware alsa-utils pulseaudio-alsa pulseaudio 138 -~~~ 139 - 140 - 141 -### Install WM: Qtile 142 -~~~bash 143 -$ sudo pacman -S qtile alacritty nitrogen 144 -$ sudo systemctl start lightdm 145 -~~~ 146 - 147 - 148 -### Install packages from pacman & aur 149 -~~~bash 150 -$ sudo pacman -S --noconfirm --needed firefox redshift mc vifm ranger neovim htop pass passmenu discord zathura papirus-icon-theme arc-gtk-theme lxappearance 151 -$ sudo pacman -S --noconfirm --needed ttf-font-awesome ttf-jatbrains-mono ttf-joypixels 152 -$ yay -S --noconfirm --needed rcm xkblayout bibata-cursor-theme-bin spotify 153 -~~~ 154 - 155 - 156 -### Install betterlockscreen 157 -~~~bash 158 -yay -S i3lock-color imagemagick feh xorg-xrandr xorg-xdpyinfo 159 -wget -O betterlockscreen https://git.io/fASUJ 160 -chmod u+x betterlockscreen 161 -cp betterlockscreen ~/.local/bin 162 -~~~ 163 - 164 - 165 -### Set qt appearance 166 -~~~bash 167 -$ sudo pacman -S kvantum-qt5 qt5ct 168 -$ sudo echo "QT_QPA_PLATFORMTHEME="qt5ct" >> /etc/enviroment 169 -~~~ 170 - 171 -### Install Oh My ZSH 172 -~~~bash 173 -$ sudo pacman -S zsh curl 174 -$ sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" 175 -~~~
M
zshrc
··· 1 1 export ZSH="$HOME/.oh-my-zsh" 2 2 export PATH="$HOME/bin:$HOME/.local/bin:$PATH" 3 3 #source ~/.env 4 -#source ~/.profile 5 - 4 +source ~/.profile 6 5 7 6 ### Oh my zsh ### 8 -ZSH_THEME="cyan-simple" # Set theme 9 -#CASE_SENSITIVE="true" # Use case-sensitive completion. 10 -#HYPHEN_INSENSITIVE="true" # Case-sensitive completion must be off. 11 -#DISABLE_AUTO_UPDATE="true" # Disable bi-weekly auto-update checks. 12 -#DISABLE_UPDATE_PROMPT="true" # Automatically update without prompting. 13 -#DISABLE_MAGIC_FUNCTIONS="true" # If pasting URLs and other text is messed up. 14 -#DISABLE_LS_COLORS="true" # Disable colors in ls. 15 -#DISABLE_AUTO_TITLE="true" # Disable auto-setting terminal title. 16 -#ENABLE_CORRECTION="true" # Enable command auto-correction. 17 -#COMPLETION_WAITING_DOTS="true" # Display red dots whilst waiting for completion. 18 -export UPDATE_ZSH_DAYS=13 # Change how often to auto-update. 19 -export LANG=en_US.UTF-8 # Set locale 7 +ZSH_THEME="cyan-simple" # Set theme 8 +#CASE_SENSITIVE="true" # Use case-sensitive completion. 9 +#HYPHEN_INSENSITIVE="true" # Case-sensitive completion must be off. 10 +#DISABLE_AUTO_UPDATE="true" # Disable bi-weekly auto-update checks. 11 +#DISABLE_UPDATE_PROMPT="true" # Automatically update without prompting. 12 +#DISABLE_MAGIC_FUNCTIONS="true" # If pasting URLs and other text is messed up. 13 +#DISABLE_LS_COLORS="true" # Disable colors in ls. 14 +#DISABLE_AUTO_TITLE="true" # Disable auto-setting terminal title. 15 +#ENABLE_CORRECTION="true" # Enable command auto-correction. 16 +#COMPLETION_WAITING_DOTS="true" # Display red dots whilst waiting for completion. 17 +export UPDATE_ZSH_DAYS=7 # Change how often to auto-update. 18 +export LANG=en_US.UTF-8 # Set locale 20 19 21 -plugins=(pip python sudo heroku git taskwarrior) 20 +plugins=(pip python pass golang sudo heroku git taskwarrior encode64) 22 21 source $ZSH/oh-my-zsh.sh 23 22 24 23 ··· 35 34 ### Aliases ### 36 35 alias cls="clear" 37 36 alias :q="exit" 37 +alias q="exit" 38 +alias :qw="exit" 38 39 alias tmux="tmux -2" 39 40 alias vim="nvim" 41 +alias mkdir="mkdir -p" 42 +alias sl="ls" 43 +alias cp="cp -r" 44 +alias du="du -sh" 45 +alias df="df -h" 40 46 alias icat="kitty +kitten icat" 41 47 42 48 alias ..="cd .." ··· 49 55 alias tozsh="chsh -s /bin/zsh && echo 'Now log out.'" 50 56 alias tofish="chsh -s /bin/fish && echo 'Now log out.'" 51 57 alias tobash="chsh -s /bin/bash && echo 'Now log out.'" 52 - 53 -### NeoFetch ### 54 -#neofetch