backup: 2026-05-13 configs

This commit is contained in:
Dmitry
2026-05-13 18:55:54 +03:00
parent 462dc51247
commit b0c8b5048e
8 changed files with 335 additions and 278 deletions
+2 -2
View File
@@ -6,11 +6,11 @@ args = ["-l", "-c", "exec tmux new-session -A -s main 'fastfetch; exec zsh -l'"]
[window]
decorations = "None" # без рамок и заголовка
startup_mode = "Maximized" # просто растянутое окно
opacity = 0.90
opacity = 0.98
padding = { x = 10, y = 1 }
[font]
size = 15.0
size = 14.0
[font.normal]
family = "FiraCode Nerd Font Mono"
+70 -70
View File
@@ -1,74 +1,74 @@
{
"$schema": "https://github.com/fastfetch-cli/fastfetch/raw/master/doc/json_schema.json",
"logo": {
"type": "small",
"position": "left",
"printRemaining": false,
"padding": {
"top": 2,
"right": 1
}
},
"display": {
"separator": " ",
"brightColor": false,
"color": {
"keys": "blue",
"title": "cyan",
"separator": "bright_black",
"output": "white"
"$schema": "https://github.com/fastfetch-cli/fastfetch/raw/master/doc/json_schema.json",
"logo": {
"type": "small",
"position": "left",
"printRemaining": false,
"padding": {
"top": 2,
"right": 1,
},
},
"key": {
"width": 3,
"type": "icon"
"display": {
"separator": " ",
"brightColor": false,
"color": {
"keys": "blue",
"title": "cyan",
"separator": "bright_black",
"output": "white",
},
"key": {
"width": 3,
"type": "icon",
},
"duration": {
"abbreviation": true,
},
},
"duration": {
"abbreviation": true
}
},
"modules": [
"title",
"separator",
{
"type": "os",
"key": "os",
"format": "{name}"
},
{
"type": "kernel",
"key": "kernel",
"format": "{release}"
},
{
"type": "uptime",
"key": "uptime"
},
{
"type": "command",
"key": "age",
"shell": "/bin/sh",
"param": "-c",
"text": "first=\"$(sed -n '1{s/^\\[\\([^]]*\\)\\].*/\\1/p;q}' /var/log/pacman.log)\"; if [ -n \"$first\" ]; then start=\"${first%%+*}\"; now=$(date +%s); then_ts=$(date -d \"$start\" +%s 2>/dev/null || true); if [ -n \"$then_ts\" ]; then days=$(( (now-then_ts)/86400 )); years=$(( days/365 )); rem=$(( days%365 )); if [ \"$years\" -gt 0 ]; then printf '%sy %sd\\n' \"$years\" \"$rem\"; else printf '%sd\\n' \"$days\"; fi; else echo n/a; fi; else echo n/a; fi"
},
{
"type": "shell",
"key": "shell",
"format": "{pretty-name}"
},
{
"type": "terminal",
"key": "term",
"format": "{pretty-name}"
},
{
"type": "memory",
"key": "ram",
"format": "{used}/{total} ({percentage})"
},
{
"type": "disk",
"key": "disk",
"format": "{size-used}/{size-total} ({size-percentage})"
}
]
"modules": [
"title",
"separator",
{
"type": "os",
"key": "os",
"format": "{name}",
},
{
"type": "kernel",
"key": "kernel",
"format": "{release}",
},
{
"type": "uptime",
"key": "uptime",
},
{
"type": "command",
"key": "age",
"shell": "/bin/sh",
"param": "-c",
"text": "first=\"$(sed -n '1{s/^\\[\\([^]]*\\)\\].*/\\1/p;q}' /var/log/pacman.log)\"; if [ -n \"$first\" ]; then start=\"${first%%+*}\"; now=$(date +%s); then_ts=$(date -d \"$start\" +%s 2>/dev/null || true); if [ -n \"$then_ts\" ]; then days=$(( (now-then_ts)/86400 )); years=$(( days/365 )); rem=$(( days%365 )); if [ \"$years\" -gt 0 ]; then printf '%sy %sd\\n' \"$years\" \"$rem\"; else printf '%sd\\n' \"$days\"; fi; else echo n/a; fi; else echo n/a; fi",
},
{
"type": "shell",
"key": "shell",
"format": "{pretty-name}",
},
{
"type": "terminal",
"key": "term",
"format": "{pretty-name}",
},
{
"type": "memory",
"key": "ram",
"format": "{used}/{total} ({percentage})",
},
{
"type": "disk",
"key": "disk",
"format": "{size-used}/{size-total} ({size-percentage})",
},
],
}
+181 -48
View File
@@ -1,52 +1,91 @@
# Adapted from alacritty/.config/alacritty/alacritty.toml
# Reference: https://sw.kovidgoyal.net/kitty/conf/
# ════════════════════════════════════════════════════════════
# Kitty — Nord theme, tabs, splits, image protocol
# ════════════════════════════════════════════════════════════
# Launch shell and attach/create tmux session
shell /usr/bin/zsh -l -c "tmux new-session -A -s main"
# ═══ Shell ═════════════════════════════════════════════════
shell /usr/bin/zsh -l
shell_integration enabled # prompts marks, OSC7, command timing
# Window appearance
hide_window_decorations yes
background_opacity 0.90
# window_padding_width 1 1
enable_tab_bar no
# Alacritty startup_mode=maximized has no direct kitty.conf equivalent.
# Use: kitty --start-as maximized
# ═══ Window ════════════════════════════════════════════════
hide_window_decorations yes
remember_window_size yes
background_opacity 0.90
window_padding_width 1 1
confirm_os_window_close 1 # спрашивать при закрытии если есть вкладки/окна
#allow_remote_control
#listen_on unix:/tmp/kitty
# Font
font_family FiraCode Nerd Font Mono
bold_font FiraCode Nerd Font Mono Bold
italic_font FiraCode Nerd Font Mono Italic
font_size 15.0
# ═══ Font ══════════════════════════════════════════════════
font_family FiraCode Nerd Font Mono
bold_font FiraCode Nerd Font Mono Bold
italic_font FiraCode Nerd Font Mono Italic
bold_italic_font FiraCode Nerd Font Mono Bold Italic
font_size 14.0
disable_ligatures never
# Scrollback
scrollback_lines 10000
# ═══ Cursor ════════════════════════════════════════════════
cursor_shape beam
cursor_beam_thickness 1.5
cursor_blink_interval 0.5
# 0 = мигать всегда
cursor_stop_blinking_after 0
# ═══ Scrollback ════════════════════════════════════════════
scrollback_lines 10000
wheel_scroll_multiplier 5.0
# Selection behavior
copy_on_select clipboard
select_by_word_characters @-./_~?&=%+#
# ═══ Mouse & URLs ══════════════════════════════════════════
mouse_hide_wait 0.0
copy_on_select clipboard
select_by_word_characters @-./_~?&=%+#
detect_urls yes
url_style curly
url_color #88C0D0
open_url_with default
# Keep mouse cursor visible while typing
mouse_hide_wait 0.0
# Cursor
cursor_shape beam
cursor_blink_interval 0.5
cursor_beam_thickness 1.5
# Bell (disable visual bell)
# ═══ Bell ══════════════════════════════════════════════════
enable_audio_bell no
visual_bell_duration 0.0
# Nord color scheme
foreground #D8DEE9
background #2E3440
# ═══ Notifications ═════════════════════════════════════════
# Уведомление, если команда выполнялась дольше 10с и окно не в фокусе
notify_on_cmd_finish unfocused 10.0
cursor #D8DEE9
cursor_text_color #2E3440
# ═══ Remote Control ════════════════════════════════════════
allow_remote_control yes
listen_on unix:/tmp/kitty
# ═══ Layouts ═══════════════════════════════════════════════
# tall=вертикальное разделение, fat=горизонтальное, grid, stack=полноэкранный
enabled_layouts tall,fat,horizontal,vertical,grid,stack
# ═══ Tab Bar ═══════════════════════════════════════════════
tab_bar_edge top
tab_bar_style powerline
tab_powerline_style slanted
tab_bar_min_tabs 1
tab_title_template " {index}: {title} "
active_tab_font_style bold
inactive_tab_font_style normal
# Nord
active_tab_foreground #2E3440
active_tab_background #88C0D0
inactive_tab_foreground #8FBCBB
inactive_tab_background #3B4252
tab_bar_background #2E3440
# ═══ Nord Colors ═══════════════════════════════════════════
foreground #D8DEE9
background #2E3440
cursor #D8DEE9
cursor_text_color #2E3440
selection_foreground #D8DEE9
selection_background #434C5E
# normal
color0 #3B4252
color1 #BF616A
color2 #A3BE8C
@@ -56,6 +95,7 @@ color5 #B48EAD
color6 #88C0D0
color7 #E5E9F0
# bright
color8 #4C566A
color9 #BF616A
color10 #A3BE8C
@@ -65,19 +105,112 @@ color13 #B48EAD
color14 #8FBCBB
color15 #ECEFF4
# Key bindings aligned with Alacritty config
map ctrl+shift+c copy_to_clipboard
map ctrl+shift+v paste_from_clipboard
map ctrl+shift+enter new_os_window
map ctrl+shift+f11 toggle_fullscreen
# ═══ Keyboard Shortcuts ════════════════════════════════════
map ctrl+shift+equal change_font_size all +2.0
map ctrl+shift+minus change_font_size all -2.0
map ctrl+shift+0 change_font_size all 0
# Clipboard
map ctrl+shift+c copy_to_clipboard
map ctrl+shift+v paste_from_clipboard
map ctrl+shift+s paste_from_selection
map ctrl+shift+up scroll_line_up
map ctrl+shift+down scroll_line_down
map ctrl+shift+page_up scroll_page_up
# Font size
map ctrl+shift+equal change_font_size all +1.0
map ctrl+shift+minus change_font_size all -1.0
map ctrl+shift+0 change_font_size all 0
# Scroll
map ctrl+shift+up scroll_line_up
map ctrl+shift+down scroll_line_down
map ctrl+shift+page_up scroll_page_up
map ctrl+shift+page_down scroll_page_down
map ctrl+shift+home scroll_home
map ctrl+shift+end scroll_end
map ctrl+shift+home scroll_home
map ctrl+shift+end scroll_end
map ctrl+shift+h show_scrollback # открыть историю в pager
# ── Вкладки ─────────────────────────────────────────────────
map ctrl+shift+t new_tab_with_cwd
map ctrl+shift+w close_tab
map ctrl+shift+right next_tab
map ctrl+shift+left previous_tab
map ctrl+alt+t set_tab_title
map alt+right next_tab
map alt+left previous_tab
# Переход по номеру вкладки
map alt+1 goto_tab 1
map alt+2 goto_tab 2
map alt+3 goto_tab 3
map alt+4 goto_tab 4
map alt+5 goto_tab 5
map alt+6 goto_tab 6
map alt+7 goto_tab 7
map alt+8 goto_tab 8
map alt+9 goto_tab 9
# Перемещение вкладки
map ctrl+shift+period move_tab_forward
map ctrl+shift+comma move_tab_backward
# ── Сплиты (окна внутри вкладки) ────────────────────────────
map ctrl+shift+enter new_window_with_cwd
map ctrl+shift+q close_window
map ctrl+shift+] next_window
map ctrl+shift+[ previous_window
# Навигация между сплитами (vim-стиль)
map ctrl+alt+up neighboring_window up
map ctrl+alt+down neighboring_window down
map ctrl+alt+left neighboring_window left
map ctrl+alt+right neighboring_window right
# Resize mode (нажать r, двигать стрелками, выйти — q/esc)
map ctrl+shift+r start_resizing_window
# Смена layout
map ctrl+shift+l next_layout
# ── Новое окно ОС ────────────────────────────────────────────
map ctrl+shift+n new_os_window_with_cwd
# ── Hints (быстрый выбор из вывода) ─────────────────────────
map ctrl+shift+e kitten hints # открыть URL
map ctrl+shift+p kitten hints --type path --program @ # скопировать путь
map ctrl+shift+i kitten hints --type ip_address --program @ # скопировать IP
map ctrl+shift+y kitten hints --type word --program @ # скопировать слово
map ctrl+shift+z kitten hints --type linenum # перейти в файл:строка
# ── Misc ────────────────────────────────────────────────────
map ctrl+shift+f11 toggle_fullscreen
map ctrl+shift+f5 load_config_file # перечитать конфиг без перезапуска
map ctrl+shift+f6 debug_config
# ── Изображения ─────────────────────────────────────────────
# Просмотр: kitty +kitten icat <file>
# В ranger/lf kitty graphics protocol подхватывается автоматически
# Для Python: pip install matplotlib; matplotlib использует kitty backend
map ctrl+shift+d kitten show_key # отладка — показать код клавиши
# ── Русская раскладка (кириллические алиасы) ─────────────────
# Kitty привязывает шорткаты по keysym, а не по позиции клавиши.
# При русской раскладке нужны дубли для всех буквенных биндингов.
# Таблица соответствий: t=е, w=ц, h=р, r=к, e=у, p=з, i=ш, y=н,
# z=я, q=й, l=д, n=т, s=ы, d=в, [=х, ]=ъ, c=с, v=м, ,=б, .=ю
map ctrl+shift+с copy_to_clipboard
map ctrl+shift+м paste_from_clipboard
map ctrl+shift+ы paste_from_selection
map ctrl+shift+р show_scrollback
map ctrl+shift+е new_tab_with_cwd
map ctrl+shift+ц close_tab
map ctrl+shift+ю move_tab_forward
map ctrl+shift+б move_tab_backward
map ctrl+shift+й close_window
map ctrl+shift+ъ next_window
map ctrl+shift+х previous_window
map ctrl+shift+к start_resizing_window
map ctrl+shift+д next_layout
map ctrl+shift+т new_os_window_with_cwd
map ctrl+shift+у kitten hints
map ctrl+shift+з kitten hints --type path --program @
map ctrl+shift+ш kitten hints --type ip_address --program @
map ctrl+shift+н kitten hints --type word --program @
map ctrl+shift+я kitten hints --type linenum
map ctrl+shift+в kitten show_key
+62 -150
View File
@@ -1,155 +1,67 @@
{
"disable_ai": true,
"restore_on_startup": "launchpad",
"base_keymap": "VSCode",
"use_smartcase_search": true,
"minimap": {
"show": "never",
"buffer_font_family": "FiraCode Nerd Font Mono",
"buffer_line_height": "standard",
"buffer_font_weight": 300.0,
"edit_predictions": {
"provider": "copilot"
},
"agent_servers": {
"github-copilot-cli": {
"type": "registry"
},
"scrollbar": {
"axes": {
"horizontal": true,
"vertical": true,
},
"gemini": {
"type": "registry"
},
"cursor_blink": true,
"colorize_brackets": true,
"auto_indent_on_paste": true,
"show_whitespaces": "selection",
"ensure_final_newline_on_save": true,
"indent_guides": {
"enabled": true,
},
"preferred_line_length": 100,
"soft_wrap": "editor_width",
"hard_tabs": false,
"tab_size": 4,
"session": {
"trust_all_worktrees": true,
},
"edit_predictions": {
"provider": "none",
},
"outline_panel": {
"git_status": true,
"auto_fold_dirs": true,
},
"use_system_window_tabs": true,
"centered_layout": {
"left_padding": 0.2,
},
"redact_private_values": true,
"cursor_shape": "bar",
"autosave": {
"after_delay": {
"milliseconds": 5000,
},
},
"preview_tabs": {
"enabled": true,
"enable_preview_from_multibuffer": true,
"enable_preview_from_file_finder": false,
},
"pane_split_direction_vertical": "right",
"zoomed_padding": true,
"active_pane_modifiers": {
"inactive_opacity": 1.0,
"border_size": 0.0,
},
"status_bar": {
"experimental.show": true,
"active_language_button": true,
"cursor_position_button": true,
},
"terminal": {
"font_family": "FiraCode Nerd Font Mono",
"font_size": 14.0,
"dock": "bottom",
"button": true,
},
"diagnostics": {
"button": true,
},
"search": {
"button": true,
},
"debugger": {
"button": true,
},
"tabs": {
"show_diagnostics": "errors",
"close_position": "right",
"file_icons": true,
"git_status": true,
},
"tab_bar": {
"show": true,
},
"title_bar": {
"show_menus": false,
"show_user_picture": false,
"show_onboarding_banner": true,
"show_project_items": true,
"show_branch_name": true,
"show_branch_icon": true,
},
"project_panel": {
"sort_mode": "directories_first",
"dock": "right",
"hide_root": true,
"button": true,
"indent_size": 15.0,
"git_status": true,
"folder_icons": true,
"file_icons": true,
"hide_gitignore": false,
},
"agent": {
"enable_feedback": false,
"tool_permissions": {
"default": "allow",
},
"button": true,
"inline_assistant_model": {
"provider": "copilot_chat",
"model": "grok-code-fast-1",
},
"default_profile": "write",
"default_model": {
"effort": "high",
"provider": "copilot_chat",
"model": "gpt-5.4-mini",
},
"model_parameters": [],
},
"collaboration_panel": {
"button": false,
"dock": "right",
},
"ui_font_family": "FiraCode Nerd Font Mono",
"telemetry": {
"diagnostics": false,
"metrics": false,
},
"buffer_font_weight": 400.0,
"ui_font_weight": 400.0,
"buffer_font_family": "FiraCode Nerd Font Propo",
"buffer_line_height": "comfortable",
"icon_theme": {
"mode": "system",
"light": "Material Icon Theme",
"dark": "Material Icon Theme",
},
"ui_font_size": 16.0,
"buffer_font_size": 14.0,
"proxy": "socks5://127.0.0.1:7897",
// "proxy": "socks5://ada:%3FHolivarr588856@157.22.231.198:1081",
"theme": {
"mode": "system",
"light": "Ayu Light",
"dark": "Nordfox - blurred",
},
"features": {
"notebooks": true,
"codex-acp": {
"type": "registry"
},
"claude-acp": {
"type": "registry"
}
},
"icon_theme": "Material Icon Theme",
"theme": "Nordic Syntax",
"agent": {
"dock": "right",
"favorite_models": [],
"model_parameters": []
},
"project_panel": {
"dock": "left"
},
"git_panel": {
"dock": "left"
},
"collaboration_panel": {
"default_width": 250.0,
"button": false
},
"terminal": {
"font_weight": 300.0,
"font_size": 14.0,
"font_family": "FiraCode Nerd Font Propo",
"show_count_badge": false,
"flexible": true,
"dock": "bottom"
},
"use_system_window_tabs": false,
"bottom_dock_layout": "full",
"title_bar": {
"show_branch_status_icon": true
},
"status_bar": {
"show_active_file": true
},
"document_symbols": "on",
"document_folding_ranges": "on",
"semantic_tokens": "combined",
"autosave": {
"after_delay": {
"milliseconds": 1000
}
},
"buffer_font_size": 15.0,
"ui_font_weight": 400.0,
"ui_font_family": "FiraCode Nerd Font Mono",
"ui_font_size": 15.0
}
+1 -1
View File
@@ -205,7 +205,7 @@
[credential]
# Кэшировать пароли на 1 час
helper = "!f() { /home/ada/.vscode-server/bin/560a9dba96f961efea7b1612916f89e5d5d4d679/node /tmp/vscode-remote-containers-b98ef833-2311-4179-921f-998f5b0fa50b.js git-credential-helper $*; }; f"
helper = "!f() { /home/ada/.vscode-server/bin/034f571df509819cc10b0c8129f66ef77a542f0e/node /tmp/vscode-remote-containers-74c967a4-73e0-49df-becb-327a6131f426.js git-credential-helper $*; }; f"
# ═══ URL shortcuts ══════════════════════════════════════════
+7
View File
@@ -188,3 +188,10 @@ TAGS
# Local configuration
.local/
local.properties
# Ai configuration
*.codex*
*.claude*
CLAUDE.md
CODEX.md
AGENTS.md
+9 -6
View File
@@ -162,7 +162,7 @@ tmux_conf_theme_status_attr="none"
# - #{hostname_full_ssh}
# - #{username}
# - #{username_ssh}
tmux_conf_theme_terminal_title="#h ❐ #S ● #I #W"
tmux_conf_theme_terminal_title="❐ #S ● #I #W"
# window status style
# - built-in variables are:
@@ -250,9 +250,9 @@ tmux_conf_theme_right_separator_sub="|"
# - #{uptime_s}
# - #{username}
# - #{username_ssh}
tmux_conf_theme_status_left=" ❐ #S | ↑#{?uptime_y, #{uptime_y}y,}#{?uptime_d, #{uptime_d}d,}#{?uptime_h, #{uptime_h}h,}#{?uptime_m, #{uptime_m}m,} "
tmux_conf_theme_status_left=" ❐ #S "
#tmux_conf_theme_status_left=" ❐ #S | ↑#{?uptime_y, #{uptime_y}y,}#{?uptime_d, #{uptime_d}d,}#{?uptime_h, #{uptime_h}h,}#{?uptime_m, #{uptime_m}m,} | #{pretty_pane_current_path} "
tmux_conf_theme_status_right=" #{prefix}#{mouse}#{pairing}#{synchronized}#{?battery_status,#{battery_status},}#{?battery_bar, #{battery_bar},}#{?battery_percentage, #{battery_percentage},} , %R , %d %b | #{username}#{root} | #{hostname} "
tmux_conf_theme_status_right=" #{prefix}#{mouse}#{pairing}#{synchronized}#{?battery_status,#{battery_status},}#{?battery_bar, #{battery_bar},}#{?battery_percentage, #{battery_percentage},} | %R | %d %b #{root}"
# status left style
tmux_conf_theme_status_left_fg="$tmux_conf_theme_colour_1,$tmux_conf_theme_colour_7,$tmux_conf_theme_colour_7"
@@ -389,7 +389,7 @@ set -g mouse on
bind m run "cut -c3- '#{TMUX_CONF}' | sh -s _toggle_mouse" \; display 'mouse #{?#{mouse},on,off}'
# move status line to top
#set -g status-position top
set -g status-position top
# -- custom key bindings -------------------------------------------------------
@@ -424,7 +424,7 @@ bind C-а command-prompt -p find-session 'switch-client -t %%' # C-f -> C-а
# Ctrl+Alt+h или Ctrl+Alt+р для показа гайда по горячим клавишам (в новом окне с прокруткой)
bind -n C-M-h new-window -n "TMUX Шпаргалка" "cat << 'EOF' | less -R
╔═══════════════════════════════════════════════════════════════════════════╗
TMUX ГОРЯЧИЕ КЛАВИШИ (prefix = Ctrl+b или Ctrl+a) ║
║ TMUX ГОРЯЧИЕ КЛАВИШИ (prefix = Ctrl+b или Ctrl+a)
╚═══════════════════════════════════════════════════════════════════════════╝
📋 ОСНОВНЫЕ КОМАНДЫ:
@@ -495,7 +495,7 @@ EOF
# Дубликат для русской раскладки Ctrl+Alt+р
bind -n C-M-р new-window -n "TMUX Шпаргалка" "cat << 'EOF' | less -R
╔═══════════════════════════════════════════════════════════════════════════╗
TMUX ГОРЯЧИЕ КЛАВИШИ (prefix = Ctrl+b или Ctrl+a) ║
║ TMUX ГОРЯЧИЕ КЛАВИШИ (prefix = Ctrl+b или Ctrl+a)
╚═══════════════════════════════════════════════════════════════════════════╝
📋 ОСНОВНЫЕ КОМАНДЫ:
@@ -563,6 +563,9 @@ bind -n C-M-р new-window -n "TMUX Шпаргалка" "cat << 'EOF' | less -R
EOF
"
# Дополнительно: F1 открывает встроенную шпаргалку всех активных биндов tmux
bind -n F1 new-window -n "TMUX Keys" "tmux list-keys | less"
# -- tpm -----------------------------------------------------------------------
+2
View File
@@ -1 +1,3 @@
export ZDOTDIR="${HOME}/.config/zsh"
export SAL_USE_VCLPLUGIN=gtk3
export GDK_SCALE=1