Vitaliy 5 kuukautta sitten
sitoutus
2a11cdfb00
55 muutettua tiedostoa jossa 6274 lisäystä ja 0 poistoa
  1. 66 0
      Readme.md
  2. 6 0
      aurlist.txt
  3. 218 0
      config/alacritty/alacritty.toml
  4. 50 0
      config/betterlockscreen/betterlockscreenrc
  5. 121 0
      config/bspwm/bspwmrc
  6. 18 0
      config/bspwm/old_bspwmrc
  7. 96 0
      config/bspwm/picom_configurations/1.conf
  8. 438 0
      config/bspwm/picom_configurations/2.conf
  9. 47 0
      config/bspwm/picom_configurations/3.conf
  10. 224 0
      config/bspwm/picom_configurations/picom_animation/picom-animations.conf
  11. 138 0
      config/bspwm/picom_configurations/picom_animation/picom.conf
  12. BIN
      config/dconf/user
  13. 497 0
      config/dunst/dunstr.def
  14. 56 0
      config/dunst/dunstrc
  15. 46 0
      config/nvim/init.vim
  16. 398 0
      config/polybar/config.ini
  17. 212 0
      config/polybar/config.ini.old
  18. 12 0
      config/polybar/launch.sh
  19. 18 0
      config/polybar/scripts/check-updates.sh
  20. 23 0
      config/polybar/scripts/get_bluetooth_status.sh
  21. 34 0
      config/polybar/scripts/powermenu.sh
  22. 8 0
      config/polybar/scripts/toggle_bluetooth.sh
  23. 0 0
      config/ranger/colorschemes/__init__.py
  24. BIN
      config/ranger/colorschemes/__pycache__/__init__.cpython-313.pyc
  25. BIN
      config/ranger/colorschemes/__pycache__/default.cpython-313.pyc
  26. 188 0
      config/ranger/colorschemes/default.py
  27. 0 0
      config/ranger/plugins/__init__.py
  28. BIN
      config/ranger/plugins/__pycache__/__init__.cpython-313.pyc
  29. 674 0
      config/ranger/plugins/ranger_devicons/LICENSE
  30. 22 0
      config/ranger/plugins/ranger_devicons/LICENSE_NERDFONT
  31. 22 0
      config/ranger/plugins/ranger_devicons/README.md
  32. 19 0
      config/ranger/plugins/ranger_devicons/__init__.py
  33. BIN
      config/ranger/plugins/ranger_devicons/__pycache__/__init__.cpython-313.pyc
  34. BIN
      config/ranger/plugins/ranger_devicons/__pycache__/devicons.cpython-313.pyc
  35. 363 0
      config/ranger/plugins/ranger_devicons/devicons.py
  36. 524 0
      config/ranger/rc.conf
  37. 350 0
      config/ranger/scope.sh
  38. 83 0
      config/rofi/themes/gruvbox/gruvbox.rasi
  39. 87 0
      config/rofi/themes/nord/nord.rasi
  40. 143 0
      config/sxhkd/sxhkdrc
  41. 2 0
      home/.Xresources
  42. BIN
      home/.te4gh0st/te4gh0st
  43. 1 0
      home/.xinitrc
  44. 39 0
      home/.zshrc
  45. 54 0
      home/CA/te4gh0st_Root_CA.crt
  46. BIN
      home/Wallpaper/archtv.png
  47. 2 0
      home/bin/battery_info.sh
  48. 12 0
      home/bin/change_language.sh
  49. 466 0
      home/bin/speedtest.sh
  50. 412 0
      install.sh
  51. 12 0
      oh_my_zsh_install.sh
  52. 68 0
      pkglist.txt
  53. 1 0
      system/etc/locale.conf
  54. 2 0
      system/etc/locale.gen
  55. 2 0
      system/etc/vconsole.conf

+ 66 - 0
Readme.md

@@ -0,0 +1,66 @@
+Мои Dotfiles (Arch Linux + bspwm)
+
+Это моя персональная конфигурация для Arch Linux.
+
+Основное окружение построено на bspwm (менеджер окон) и sxhkd (горячие клавиши).
+
+Что внутри
+
+WM: bspwm, sxhkd
+
+Панель: polybar
+
+Лаунчер: rofi
+
+Композитор: picom
+
+Терминал: alacritty
+
+Уведомления: dunst
+
+Списки пакетов для Pacman (pkglist.txt) и AUR (aurlist.txt).
+
+Скрипт install.sh для автоматического управления всем этим.
+
+Быстрая установка
+
+Этот репозиторий предназначен для развертывания на "чистой" системе Arch Linux.
+
+ВАЖНО: Раскомментируйте [multilib] в /etc/pacman.conf и выполните sudo pacman -Syu.
+
+Установите git:
+
+sudo pacman -S git
+
+
+Клонируйте репозиторий:
+
+# Замените [URL] на URL вашего git-репозитория
+git clone https://github.com/te4gh0st/dotfiles ~/dotfiles
+
+
+Перейдите в папку и запустите установку:
+
+cd ~/dotfiles
+chmod +x install.sh
+./install.sh install
+
+
+(Опционально) Примените системные настройки (например, locale.conf, vconsole.conf):
+
+./install.sh system
+
+
+Управление
+
+Скрипт install.sh используется для всего управления:
+
+./install.sh install: Полная установка (пакеты, симлинки, папки XDG).
+
+./install.sh update: Обновление из Git (git pull) + применение изменений.
+
+./install.sh check: Проверка, все ли установлено и на своих местах.
+
+./install.sh system: Интерактивная установка системных файлов (из папки system/).
+
+./install.sh drivers: Проверка оборудования и рекомендации по драйверам.

+ 6 - 0
aurlist.txt

@@ -0,0 +1,6 @@
+# ~/dotfiles/aurlist.txt
+# (Yay будет установлен автоматически, если его нет)
+
+betterlockscreen
+bibata-cursor-theme
+networkmanager-dmenu

+ 218 - 0
config/alacritty/alacritty.toml

@@ -0,0 +1,218 @@
+# -----------------------------------------------------------------------------
+# Общие настройки (Window)
+# -----------------------------------------------------------------------------
+[window]
+# Название окна по умолчанию.
+title = "Alacritty Terminal"
+
+# Настройка непрозрачности (от 0.0 до 1.0).
+# 1.0 - полная непрозрачность (по умолчанию).
+# 0.8 - небольшая прозрачность.
+opacity = 0.8
+
+# Настройка оформления окна (title bar).
+decorations = "full"
+# Возможные значения: full (заголовок и рамки), none (нет ничего), buttonless (только рамки).
+
+# Настройки размеров и расположения окна
+[window.dimensions]
+# Количество столбцов (ширина)
+columns = 120
+# Количество строк (высота)
+lines = 35
+
+# Отступы (padding) вокруг содержимого терминала.
+[window.padding]
+x = 10
+y = 10
+
+# Внешние отступы (gap) вокруг окна (работает не везде).
+#[window.external_padding]
+# x = 10
+# y = 10
+
+# Позволяет окну оставаться поверх других.
+# always_on_top = false
+
+# -----------------------------------------------------------------------------
+# Настройки терминала (Terminal)
+# -----------------------------------------------------------------------------
+# Тип эмуляции терминала. Обычно 'alacritty' или 'xterm-256color'.
+# Оставьте 'alacritty' для лучшей совместимости с oh-my-zsh/vim/tmux.
+[env]
+TERM = "alacritty"
+
+# -----------------------------------------------------------------------------
+# Настройки Оболочки (Shell)
+# -----------------------------------------------------------------------------
+# ЭТО ГЛАВНАЯ СЕКЦИЯ, ЧТОБЫ ЗАПУСТИТЬ ZSH
+[terminal.shell]
+# Путь к исполняемому файлу Zsh
+program = "/bin/zsh"
+# Аргументы для запуска (рекомендуется для zsh)
+args = ["--login"]
+
+# -----------------------------------------------------------------------------
+# Настройки шрифта (Font)
+# -----------------------------------------------------------------------------
+[font]
+# Размер шрифта (ваш текущий размер)
+size = 8.0
+
+# Вертикальное смещение шрифта (для точной подгонки, если требуется).
+# [font.offset]
+# x = 0
+# y = 1
+
+# Обычный шрифт
+[font.normal]
+family = "Hack Nerd Font"
+style = "Regular"
+
+# Жирный шрифт
+[font.bold]
+family = "Hack Nerd Font"
+style = "Bold"
+
+# Курсив
+[font.italic]
+family = "Hack Nerd Font"
+style = "Italic"
+
+# Жирный курсив
+[font.bold_italic]
+family = "Hack Nerd Font"
+style = "Bold Italic"
+
+
+# -----------------------------------------------------------------------------
+# Настройки курсора (Cursor)
+# -----------------------------------------------------------------------------
+[cursor]
+# Форма курсора. Возможные значения: Block, Underline, Beam.
+style = "Block"
+
+# Время мигания курсора в миллисекундах.
+# blink_interval = 500
+
+# Делать ли курсор полностью непрозрачным, когда терминал не в фокусе.
+#unblinking_when_focused = true
+
+# -----------------------------------------------------------------------------
+# Настройки прокрутки (Scrolling)
+# -----------------------------------------------------------------------------
+[scrolling]
+# Количество строк в буфере прокрутки (история).
+history = 10000
+
+# Количество строк для прокрутки при однократном повороте колеса мыши.
+# multiplier = 3
+
+# -----------------------------------------------------------------------------
+# Цветовая схема (Colors)
+# -----------------------------------------------------------------------------
+# Default (используется для фона и основного текста)
+[colors.primary]
+background = '0x1e1e2e' # Catppuccin Mocha - Base (Темный фон)
+foreground = '0xcdd6f4' # Catppuccin Mocha - Text (Светлый текст)
+bright_foreground = '0xa6adc8' # Catppuccin Mocha - Subtext1 (Светлее)
+
+# Colors for the cursor
+[colors.cursor]
+text = '0x1e1e2e'   # Цвет текста под курсором
+cursor = '0xf5e0dc' # Цвет самого курсора
+
+# Colors for selections
+[colors.selection]
+text = '0x1e1e2e'    # Цвет выделенного текста
+background = '0xa6adc8' # Цвет фона выделения
+
+# Normal colors (0-7)
+[colors.normal]
+black = '0x45475a'
+red = '0xf38ba8'
+green = '0xa6e3a1'
+yellow = '0xf9e2af'
+blue = '0x89b4fa'
+magenta = '0xf5c2e7'
+cyan = '0x94e2d5'
+white = '0xbac2de'
+
+# Bright colors (8-15)
+[colors.bright]
+black = '0x585b70'
+red = '0xf38ba8'
+green = '0xa6e3a1'
+yellow = '0xf9e2af'
+blue = '0x89b4fa'
+magenta = '0xf5c2e7'
+cyan = '0x94e2d5'
+white = '0xa6adc8'
+
+[keyboard]
+
+# -----------------------------------------------------------------------------
+# Настройки привязки клавиш (Key Bindings)
+# -----------------------------------------------------------------------------
+# Для привязок клавиш используется массив таблиц [[key_bindings]]
+[[keyboard.bindings]]
+# Увеличение размера шрифта (Ctrl + Shift + +)
+key = "Equals"
+mods = "Control|Shift"
+action = "IncreaseFontSize"
+
+[[keyboard.bindings]]
+# Уменьшение размера шрифта (Ctrl + Shift + -)
+key = "Minus"
+mods = "Control|Shift"
+action = "DecreaseFontSize"
+
+[[keyboard.bindings]]
+# Сброс размера шрифта к значению по умолчанию (Ctrl + 0)
+key = "Key0"
+mods = "Control"
+action = "ResetFontSize"
+
+[[keyboard.bindings]]
+# Копировать (Ctrl + Shift + C)
+key = "C"
+mods = "Control|Shift"
+action = "Copy"
+
+[[keyboard.bindings]]
+# Вставить (Ctrl + Shift + V)
+key = "V"
+mods = "Control|Shift"
+action = "Paste"
+
+[[keyboard.bindings]]
+# Переключение на полный экран (F11)
+key = "F11"
+mods = "None"
+action = "ToggleFullscreen"
+
+[mouse]
+
+# [[key_bindings]]
+# Открытие новой вкладки (работает только при использовании мультиплексора типа Tmux/Wezterm)
+# key = "T"
+# mods = "Control|Shift"
+# action = "CreateNewWindow"
+
+# [[key_bindings]]
+# Закрытие окна (Ctrl + Shift + Q)
+# key = "Q"
+# mods = "Control|Shift"
+# action = "Quit"
+
+# -----------------------------------------------------------------------------
+# Настройки клика мыши (Mouse Bindings)
+# -----------------------------------------------------------------------------
+# Для привязок мыши также используется массив таблиц [[mouse_bindings]]
+[[mouse.bindings]]
+# Клик средней кнопкой мыши для вставки (поведение X-сервера)
+mouse = "Middle"
+action = "PasteSelection"
+
+[terminal]
+

+ 50 - 0
config/betterlockscreen/betterlockscreenrc

@@ -0,0 +1,50 @@
+# ~/.config/betterlockscreenrc
+
+# default options
+display_on=0
+span_image=false
+lock_timeout=300
+fx_list=(dim blur dimblur pixel dimpixel color)
+dim_level=40
+blur_level=1
+pixel_scale=10,1000
+solid_color=333333
+wallpaper_cmd="feh --bg-fill"
+quiet=false
+
+# default theme
+loginbox=00000066
+loginshadow=00000000
+locktext="Type password to unlock..."
+font="sans-serif"
+ringcolor=ffffffff
+insidecolor=00000000
+separatorcolor=00000000
+ringvercolor=ffffffff
+insidevercolor=00000000
+ringwrongcolor=ffffffff
+insidewrongcolor=d23c3dff
+timecolor=ffffffff
+time_format="%H:%M:%S"
+greetercolor=ffffffff
+layoutcolor=ffffffff
+keyhlcolor=d23c3dff
+bshlcolor=d23c3dff
+veriftext="Verifying..."
+verifcolor=ffffffff
+wrongtext="Failure!"
+wrongcolor=d23c3dff
+modifcolor=d23c3dff
+bgcolor=000000ff
+
+
+#
+# expert options (change at own risk!)
+#
+
+# i3lockcolor_bin="i3lock-color"      # Manually set command for i3lock-color
+# suspend_command="systemctl suspend" # Manually change action e.g. hibernate/suspend-command
+
+# i3lock-color - custom arguments
+# lockargs=() 						  # overwriting default "(-n)"
+# lockargs+=(--ignore-empty-password) # appending new argument

+ 121 - 0
config/bspwm/bspwmrc

@@ -0,0 +1,121 @@
+#! /bin/sh
+
+# ==============================================================================
+# ЗАПУСК ВСПОМОГАТЕЛЬНЫХ СЕРВИСОВ И ПРОГРАММ (Autostart)
+# ==============================================================================
+
+# Запуск демона горячих клавиш (sxhkd)
+# Проверяем, запущен ли sxhkd, и если нет, запускаем его в фоне.
+# ВНИМАНИЕ: Горячие клавиши настраиваются в файле ~/.config/sxhkd/sxhkdrc
+pgrep -x sxhkd > /dev/null || sxhkd &
+
+# Установка фонового изображения (пример: с помощью feh)
+# feh --bg-fill ~/path/to/your/wallpaper.jpg &
+# Проблемы: Если не установлен feh или другой установщик обоев, 
+# или указан неверный путь, обои не загрузятся.
+
+# Запуск композитного менеджера (например, picom для теней и прозрачности)
+# picom &
+# Проблемы: Если picom не установлен, или конфигурация picom неверна,
+# могут быть проблемы с отрисовкой окон.
+
+# Запуск панели (например, polybar или lemonbar)
+# ~/.config/polybar/launch.sh &
+# Проблемы: Необходимо создать скрипт запуска панели (например, launch.sh),
+# который корректно настроит и запустит вашу панель.
+
+# ==============================================================================
+# НАСТРОЙКА МОНИТОРОВ И РАБОЧИХ СТОЛОВ
+# ==============================================================================
+
+# Создание и именование рабочих столов (десктопов) на текущем мониторе
+# Мониторы идентифицируются по их именам (например, DVI-0, HDMI-A-0), 
+# но bspwm по умолчанию использует первый (самый левый) монитор.
+bspc monitor -d 1 2 3 4 5 6 7
+
+# Если у вас несколько мониторов, их можно настроить так (пример):
+# bspc monitor DVI-I-1 -d 1 2 3 4
+# bspc monitor DVI-D-0 -d 5 6 7 8 9 10
+# Проблемы: Используйте 'xrandr' в терминале для получения точных имен ваших мониторов.
+
+# ==============================================================================
+# ОБЩИЕ НАСТРОЙКИ BSPWM (Параметры bspc config)
+# ==============================================================================
+
+# Ширина границы окна в пикселях
+bspc config border_width 2
+
+# Промежуток между окнами в пикселях (гап)
+bspc config window_gap 12
+
+# Соотношение сторон при разделении (новое окно занимает 52% доступного места)
+bspc config split_ratio 0.52
+
+# Граница не отображается в режиме "монокль" (одно окно на весь десктоп)
+bspc config borderless_monocle true
+
+# Промежуток (гап) между окнами не отображается в режиме "монокль"
+bspc config gapless_monocle true
+
+# Цвет активной (фокусированной) границы окна (пример: яркий голубой)
+# bspc config focused_border_color "#8be9fd"
+# Проблемы: HEX-коды цветов должны быть в формате #RRGGBB.
+
+# Композитор	
+picom --config $HOME/.config/bspwm/picom_configurations/1.conf &
+# Демон для уведомлений
+dunst -config $HOME/.config/dunst/dunstrc &
+# Polybar
+$HOME/.config/polybar/launch.sh
+feh --no-fehbg --bg-fill $HOME/Wallpaper/archtv.png
+# ==============================================================================
+# ПРАВИЛА ДЛЯ ОКОН (bspc rule -a <класс> ...)
+# ==============================================================================
+
+# Правило для Gimp: 
+# -a Gimp: применять к окнам с классом 'Gimp'.
+# desktop='^8': открыть на рабочем столе 8.
+# state=floating: сделать его плавающим.
+# follow=on: автоматически переключиться на этот рабочий стол при запуске.
+
+bspc rule -a feh state=floating
+bspc rule -a nekoray state=floating
+
+bspc rule -a Gimp desktop='^8' state=floating follow=on
+
+# Правило для Chromium:
+# desktop='^2': открыть на рабочем столе 2.
+bspc rule -a Chromium desktop='^2'
+
+# Правило для mplayer2:
+# state=floating: сделать его плавающим.
+bspc rule -a mplayer2 state=floating
+
+# Правило для Kupfer.py (устаревший лаунчер):
+# focus=on: автоматически сфокусироваться на нем при появлении.
+bspc rule -a Kupfer.py focus=on
+
+# Правило для Screenkey:
+# manage=off: bspwm не должен управлять этим окном (например, для программ-оверлеев).
+bspc rule -a Screenkey manage=off
+
+# Дополнительный пример правила для Telegram Desktop:
+# bspc rule -a TelegramDesktop desktop='^9' state=floating
+# Проблемы: Класс окна (первый аргумент после -a) должен быть точным. 
+# Используйте утилиту `xprop` (клик по окну), чтобы узнать точное значение 
+# для `WM_CLASS(STRING)`. Обычно берется вторая строка (класс).
+
+# ==============================================================================
+# ДОПОЛНИТЕЛЬНЫЕ НАСТРОЙКИ BSPWM (Пример)
+# ==============================================================================
+
+# Применить настройки для фокуса: 
+# Если фокус теряется/получается, переместить его к ближайшему узлу.
+# bspc config focus_by_distance true
+#
+# Курор
+xsetroot -cursor_name left_ptr &
+
+# ==============================================================================
+# КОНЕЦ ФАЙЛА
+# ==============================================================================

+ 18 - 0
config/bspwm/old_bspwmrc

@@ -0,0 +1,18 @@
+#! /bin/sh
+
+pgrep -x sxhkd > /dev/null || sxhkd &
+
+bspc monitor -d I II III IV V VI VII VIII IX X
+
+bspc config border_width         2
+bspc config window_gap          12
+
+bspc config split_ratio          0.52
+bspc config borderless_monocle   true
+bspc config gapless_monocle      true
+
+bspc rule -a Gimp desktop='^8' state=floating follow=on
+bspc rule -a Chromium desktop='^2'
+bspc rule -a mplayer2 state=floating
+bspc rule -a Kupfer.py focus=on
+bspc rule -a Screenkey manage=off

+ 96 - 0
config/bspwm/picom_configurations/1.conf

@@ -0,0 +1,96 @@
+# vim: foldmethod=marker
+
+backend = "glx";
+vsync = false;
+use-damage = true
+unredir-if-possible = true;
+# glx-no-stencil = true;
+# glx-no-rebind-pixmap = true;
+
+# Fading {{{
+fading = true;
+fade-in-step = 0.09;
+fade-out-step = 0.08;
+fade-delta = 10;
+no-fading-openclose = false;
+# }}}
+
+# Wintypes {{{
+wintypes:
+{
+  tooltip = { shadow = false; };
+};
+# }}}
+
+# Shadows {{{
+shadow = true;
+shadow-radius = 15;
+shadow-offset-x = -15;
+shadow-offset-y = -15;
+shadow-opacity = 0.75;
+
+shadow-exclude = [
+  "bounding_shaped && !rounded_corners",
+  "window_type = 'desktop'",
+  "window_type = 'utility'",
+  "window_type = 'splash'",
+  "window_type = 'tooltip'",
+  "window_type *= 'menu'",
+  "window_type != 'dock' && BSPWM_TILED@:c = 1",
+  "class_g *?= 'activate-linux'",
+]
+# }}}
+
+# Blur {{{
+blur:
+{
+  method = "dual_kawase";
+  strength = 5;
+}
+
+blur-background = true;
+blur-background-frame = true;
+blur-background-fixed = true;
+
+blur-background-exclude = [
+  "window_type = 'desktop'",
+  "window_type *= 'menu'",
+  "window_type = 'utility'",
+  "window_type = 'tooltip'",
+  "window_type = 'splash'",
+  "class_g *?= 'screenkey'",
+  "class_g *?= 'GLava'",
+  "class_g *?= 'kdeconnectd'",
+  "class_g *?= 'kdeconnect.daemon'",
+  "class_g *?= 'activate-linux'",
+  "_GTK_FRAME_EXTENTS@:c"
+];
+# }}}
+
+# Opacity {{{
+frame-opacity = 0.8;
+
+# inactive-dim = 0.8;
+
+opacity-rule = [ 
+  "95:class_g *?= 'chatterino'",
+  "95:class_g *?= 'dunst'"
+];
+# }}}
+
+# Rounded corners {{{
+corner-radius = 10.0;
+
+rounded-corners-exclude = [
+  "window_type = 'dock'",
+  "window_type = 'desktop'",
+  "window_type = 'dropdown_menu'",
+  "window_type = 'popup_menu'",
+  "window_type = 'utility'",
+  "window_type = 'tooltip'",
+  "window_type = 'splash'",
+  "class_g *?= 'dunst'",
+  "BSPWM_TILED@:c = 1",
+  "_NET_WM_STATE@[*]:32a = '_NET_WM_STATE_FULLSCREEN'",
+];
+# }}}

+ 438 - 0
config/bspwm/picom_configurations/2.conf

@@ -0,0 +1,438 @@
+#################################
+#             Shadows           #
+#################################
+
+
+# Enabled client-side shadows on windows. Note desktop windows 
+# (windows with '_NET_WM_WINDOW_TYPE_DESKTOP') never get shadow, 
+# unless explicitly requested using the wintypes option.
+#
+# shadow = false
+shadow = true;
+
+# The blur radius for shadows, in pixels. (defaults to 12)
+# shadow-radius = 12
+shadow-radius = 7;
+
+# The opacity of shadows. (0.0 - 1.0, defaults to 0.75)
+# shadow-opacity = .75
+
+# The left offset for shadows, in pixels. (defaults to -15)
+# shadow-offset-x = -15
+shadow-offset-x = -7;
+
+# The top offset for shadows, in pixels. (defaults to -15)
+# shadow-offset-y = -15
+shadow-offset-y = -7;
+
+# Avoid drawing shadows on dock/panel windows. This option is deprecated,
+# you should use the *wintypes* option in your config file instead.
+#
+# no-dock-shadow = false
+
+# Don't draw shadows on drag-and-drop windows. This option is deprecated, 
+# you should use the *wintypes* option in your config file instead.
+#
+# no-dnd-shadow = false
+
+# Red color value of shadow (0.0 - 1.0, defaults to 0).
+# shadow-red = 0
+
+# Green color value of shadow (0.0 - 1.0, defaults to 0).
+# shadow-green = 0
+
+# Blue color value of shadow (0.0 - 1.0, defaults to 0).
+# shadow-blue = 0
+
+# Do not paint shadows on shaped windows. Note shaped windows 
+# here means windows setting its shape through X Shape extension. 
+# Those using ARGB background is beyond our control. 
+# Deprecated, use 
+#   shadow-exclude = 'bounding_shaped'
+# or 
+#   shadow-exclude = 'bounding_shaped && !rounded_corners'
+# instead.
+#
+# shadow-ignore-shaped = ''
+
+# Specify a list of conditions of windows that should have no shadow.
+#
+# examples:
+#   shadow-exclude = "n:e:Notification";
+#
+# shadow-exclude = []
+shadow-exclude = [
+  "name = 'Notification'",
+  "class_g = 'Conky'",
+  "class_g ?= 'Notify-osd'",
+  "class_g = 'Cairo-clock'",
+  "_GTK_FRAME_EXTENTS@:c"
+];
+
+# Specify a X geometry that describes the region in which shadow should not
+# be painted in, such as a dock window region. Use 
+#    shadow-exclude-reg = "x10+0+0"
+# for example, if the 10 pixels on the bottom of the screen should not have shadows painted on.
+#
+# shadow-exclude-reg = "" 
+
+# Crop shadow of a window fully on a particular Xinerama screen to the screen.
+# xinerama-shadow-crop = false
+
+
+#################################
+#           Fading              #
+#################################
+
+
+# Fade windows in/out when opening/closing and when opacity changes,
+#  unless no-fading-openclose is used.
+# fading = false
+fading = true
+
+# Opacity change between steps while fading in. (0.01 - 1.0, defaults to 0.028)
+# fade-in-step = 0.028
+fade-in-step = 0.03;
+
+# Opacity change between steps while fading out. (0.01 - 1.0, defaults to 0.03)
+# fade-out-step = 0.03
+fade-out-step = 0.03;
+
+# The time between steps in fade step, in milliseconds. (> 0, defaults to 10)
+fade-delta = 3
+
+# Specify a list of conditions of windows that should not be faded.
+# fade-exclude = []
+
+# Do not fade on window open/close.
+# no-fading-openclose = false
+
+# Do not fade destroyed ARGB windows with WM frame. Workaround of bugs in Openbox, Fluxbox, etc.
+# no-fading-destroyed-argb = false
+
+
+#################################
+#   Transparency / Opacity      #
+#################################
+
+
+# Opacity of inactive windows. (0.1 - 1.0, defaults to 1.0)
+# inactive-opacity = 1
+inactive-opacity = 0.8;
+
+# Opacity of window titlebars and borders. (0.1 - 1.0, disabled by default)
+# frame-opacity = 1.0
+frame-opacity = 0.7;
+
+# Default opacity for dropdown menus and popup menus. (0.0 - 1.0, defaults to 1.0)
+# menu-opacity = 1.0
+
+# Let inactive opacity set by -i override the '_NET_WM_OPACITY' values of windows.
+# inactive-opacity-override = true
+inactive-opacity-override = false;
+
+# Default opacity for active windows. (0.0 - 1.0, defaults to 1.0)
+# active-opacity = 1.0
+
+# Dim inactive windows. (0.0 - 1.0, defaults to 0.0)
+# inactive-dim = 0.0
+
+# Specify a list of conditions of windows that should always be considered focused.
+# focus-exclude = []
+focus-exclude = [ "class_g = 'Cairo-clock'" ];
+
+# Use fixed inactive dim value, instead of adjusting according to window opacity.
+# inactive-dim-fixed = 1.0
+
+# Specify a list of opacity rules, in the format `PERCENT:PATTERN`, 
+# like `50:name *= "Firefox"`. picom-trans is recommended over this. 
+# Note we don't make any guarantee about possible conflicts with other 
+# programs that set '_NET_WM_WINDOW_OPACITY' on frame or client windows.
+# example:
+#    opacity-rule = [ "80:class_g = 'URxvt'" ];
+#
+# opacity-rule = []
+
+
+#################################
+#     Background-Blurring       #
+#################################
+
+
+# Parameters for background blurring, see the *BLUR* section for more information.
+# blur-method = 
+# blur-size = 12
+#
+# blur-deviation = false
+
+# Blur background of semi-transparent / ARGB windows. 
+# Bad in performance, with driver-dependent behavior. 
+# The name of the switch may change without prior notifications.
+#
+# blur-background = false
+
+# Blur background of windows when the window frame is not opaque. 
+# Implies:
+#    blur-background 
+# Bad in performance, with driver-dependent behavior. The name may change.
+#
+# blur-background-frame = false
+
+
+# Use fixed blur strength rather than adjusting according to window opacity.
+# blur-background-fixed = false
+
+
+# Specify the blur convolution kernel, with the following format:
+# example:
+#   blur-kern = "5,5,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1";
+#
+# blur-kern = ''
+blur-kern = "3x3box";
+
+
+# Exclude conditions for background blur.
+# blur-background-exclude = []
+blur-background-exclude = [
+  "window_type = 'dock'",
+  "window_type = 'desktop'",
+  "_GTK_FRAME_EXTENTS@:c"
+];
+
+#################################
+#       General Settings        #
+#################################
+
+# Daemonize process. Fork to background after initialization. Causes issues with certain (badly-written) drivers.
+# daemon = false
+
+# Specify the backend to use: `xrender`, `glx`, or `xr_glx_hybrid`.
+# `xrender` is the default one.
+#
+# backend = 'glx'
+backend = "glx";
+
+# Enable/disable VSync.
+# vsync = false
+vsync = true
+
+# Enable remote control via D-Bus. See the *D-BUS API* section below for more details.
+# dbus = false
+
+# Try to detect WM windows (a non-override-redirect window with no 
+# child that has 'WM_STATE') and mark them as active.
+#
+# mark-wmwin-focused = false
+mark-wmwin-focused = true;
+
+# Mark override-redirect windows that doesn't have a child window with 'WM_STATE' focused.
+# mark-ovredir-focused = false
+mark-ovredir-focused = true;
+
+# Try to detect windows with rounded corners and don't consider them 
+# shaped windows. The accuracy is not very high, unfortunately.
+#
+# detect-rounded-corners = false
+detect-rounded-corners = true;
+
+# Detect '_NET_WM_OPACITY' on client windows, useful for window managers
+# not passing '_NET_WM_OPACITY' of client windows to frame windows.
+#
+# detect-client-opacity = false
+detect-client-opacity = true;
+
+# Specify refresh rate of the screen. If not specified or 0, picom will 
+# try detecting this with X RandR extension.
+#
+# refresh-rate = 60
+refresh-rate = 0
+
+# Limit picom to repaint at most once every 1 / 'refresh_rate' second to 
+# boost performance. This should not be used with 
+#   vsync drm/opengl/opengl-oml
+# as they essentially does sw-opti's job already, 
+# unless you wish to specify a lower refresh rate than the actual value.
+#
+# sw-opti = 
+
+# Use EWMH '_NET_ACTIVE_WINDOW' to determine currently focused window, 
+# rather than listening to 'FocusIn'/'FocusOut' event. Might have more accuracy, 
+# provided that the WM supports it.
+#
+# use-ewmh-active-win = false
+
+# Unredirect all windows if a full-screen opaque window is detected, 
+# to maximize performance for full-screen windows. Known to cause flickering 
+# when redirecting/unredirecting windows.
+#
+# unredir-if-possible = false
+unredir-if-possible = true
+
+# Delay before unredirecting the window, in milliseconds. Defaults to 0.
+# unredir-if-possible-delay = 0
+
+# Conditions of windows that shouldn't be considered full-screen for unredirecting screen.
+# unredir-if-possible-exclude = []
+unredir-if-possible-exclude = [
+  "class_g = 'Chromium'"
+];
+
+# Use 'WM_TRANSIENT_FOR' to group windows, and consider windows 
+# in the same group focused at the same time.
+#
+# detect-transient = false
+detect-transient = true
+
+# Use 'WM_CLIENT_LEADER' to group windows, and consider windows in the same 
+# group focused at the same time. 'WM_TRANSIENT_FOR' has higher priority if 
+# detect-transient is enabled, too.
+#
+# detect-client-leader = false
+detect-client-leader = true
+
+# Resize damaged region by a specific number of pixels. 
+# A positive value enlarges it while a negative one shrinks it. 
+# If the value is positive, those additional pixels will not be actually painted 
+# to screen, only used in blur calculation, and such. (Due to technical limitations, 
+# with use-damage, those pixels will still be incorrectly painted to screen.) 
+# Primarily used to fix the line corruption issues of blur, 
+# in which case you should use the blur radius value here 
+# (e.g. with a 3x3 kernel, you should use `--resize-damage 1`, 
+# with a 5x5 one you use `--resize-damage 2`, and so on). 
+# May or may not work with *--glx-no-stencil*. Shrinking doesn't function correctly.
+#
+# resize-damage = 1
+
+# Specify a list of conditions of windows that should be painted with inverted color. 
+# Resource-hogging, and is not well tested.
+#
+# invert-color-include = []
+
+# GLX backend: Avoid using stencil buffer, useful if you don't have a stencil buffer. 
+# Might cause incorrect opacity when rendering transparent content (but never 
+# practically happened) and may not work with blur-background. 
+# My tests show a 15% performance boost. Recommended.
+#
+# glx-no-stencil = false
+glx-no-stencil = true
+
+# GLX backend: Avoid rebinding pixmap on window damage. 
+# Probably could improve performance on rapid window content changes, 
+# but is known to break things on some drivers (LLVMpipe, xf86-video-intel, etc.).
+# Recommended if it works.
+#
+# glx-no-rebind-pixmap = false
+glx-no-rebind-pixmap = true
+
+# Disable the use of damage information. 
+# This cause the whole screen to be redrawn everytime, instead of the part of the screen
+# has actually changed. Potentially degrades the performance, but might fix some artifacts.
+# The opposing option is use-damage
+#
+# no-use-damage = false
+use-damage = false
+
+# Use X Sync fence to sync clients' draw calls, to make sure all draw 
+# calls are finished before picom starts drawing. Needed on nvidia-drivers 
+# with GLX backend for some users.
+#
+# xrender-sync-fence = false
+
+# GLX backend: Use specified GLSL fragment shader for rendering window contents. 
+# See `compton-default-fshader-win.glsl` and `compton-fake-transparency-fshader-win.glsl` 
+# in the source tree for examples.
+#
+# glx-fshader-win = ''
+
+# Force all windows to be painted with blending. Useful if you 
+# have a glx-fshader-win that could turn opaque pixels transparent.
+#
+# force-win-blend = false
+
+# Do not use EWMH to detect fullscreen windows. 
+# Reverts to checking if a window is fullscreen based only on its size and coordinates.
+#
+# no-ewmh-fullscreen = false
+
+# Dimming bright windows so their brightness doesn't exceed this set value. 
+# Brightness of a window is estimated by averaging all pixels in the window, 
+# so this could comes with a performance hit. 
+# Setting this to 1.0 disables this behaviour. Requires --use-damage to be disabled. (default: 1.0)
+#
+# max-brightness = 1.0
+
+# Make transparent windows clip other windows like non-transparent windows do,
+# instead of blending on top of them.
+#
+# transparent-clipping = false
+
+# Set the log level. Possible values are:
+#  "trace", "debug", "info", "warn", "error"
+# in increasing level of importance. Case doesn't matter. 
+# If using the "TRACE" log level, it's better to log into a file 
+# using *--log-file*, since it can generate a huge stream of logs.
+#
+# log-level = "debug"
+log-level = "warn";
+
+# Set the log file.
+# If *--log-file* is never specified, logs will be written to stderr. 
+# Otherwise, logs will to written to the given file, though some of the early 
+# logs might still be written to the stderr. 
+# When setting this option from the config file, it is recommended to use an absolute path.
+#
+# log-file = '/path/to/your/log/file'
+
+# Show all X errors (for debugging)
+# show-all-xerrors = false
+
+# Write process ID to a file.
+# write-pid-path = '/path/to/your/log/file'
+
+# Window type settings
+# 
+# 'WINDOW_TYPE' is one of the 15 window types defined in EWMH standard: 
+#     "unknown", "desktop", "dock", "toolbar", "menu", "utility", 
+#     "splash", "dialog", "normal", "dropdown_menu", "popup_menu", 
+#     "tooltip", "notification", "combo", and "dnd".
+# 
+# Following per window-type options are available: ::
+# 
+#   fade, shadow:::
+#     Controls window-type-specific shadow and fade settings.
+# 
+#   opacity:::
+#     Controls default opacity of the window type.
+# 
+#   focus:::
+#     Controls whether the window of this type is to be always considered focused. 
+#     (By default, all window types except "normal" and "dialog" has this on.)
+# 
+#   full-shadow:::
+#     Controls whether shadow is drawn under the parts of the window that you 
+#     normally won't be able to see. Useful when the window has parts of it 
+#     transparent, and you want shadows in those areas.
+# 
+#   redir-ignore:::
+#     Controls whether this type of windows should cause screen to become 
+#     redirected again after been unredirected. If you have unredir-if-possible
+#     set, and doesn't want certain window to cause unnecessary screen redirection, 
+#     you can set this to `true`.
+#
+opacity-rule = [
+  "92:class_g = 'Alacritty' && focused",
+  "90:class_g = 'Alacritty' && !focused"
+];
+wintypes:
+{
+  tooltip = { fade = true; shadow = true; opacity = 0.75; focus = true; full-shadow = false; };
+  dock = { shadow = false; }
+  dnd = { shadow = false; }
+  popup_menu = { opacity = 0.8; }
+  dropdown_menu = { opacity = 0.8; }
+};
+blur:
+{
+  method = "box";
+  size = 5;
+};

+ 47 - 0
config/bspwm/picom_configurations/3.conf

@@ -0,0 +1,47 @@
+#################################
+#             Shadows           #
+#################################
+shadow = false
+
+#################################
+#           Fading              #
+#################################
+fading = true
+fade-in-step = 0.03;
+fade-out-step = 0.03;
+fade-delta = 5
+no-fading-openclose = false
+
+#################################
+#   Transparency / Opacity      #
+#################################
+opacity = true
+inactive-opacity = 0.86;
+active-opacity = 0.99;
+#################################
+#     Background-Blurring       #
+#################################
+blur-background = false
+
+#################################
+#       General Settings        #
+#################################
+backend = "xrender";
+vsync = false
+mark-wmwin-focused = true;
+mark-ovredir-focused = false;
+detect-rounded-corners = true;
+detect-client-opacity = true;
+refresh-rate = 0
+detect-transient = true
+detect-client-leader = false
+use-damage = true
+log-level = "warn";
+wintypes:
+{
+  tooltip = { fade = true; shadow = true; opacity = 0.75; focus = true; full-shadow = false; };
+  dock = { shadow = false; }
+  dnd = { shadow = false; }
+  popup_menu = { opacity = 0.8; }
+  dropdown_menu = { opacity = 0.8; }
+};

+ 224 - 0
config/bspwm/picom_configurations/picom_animation/picom-animations.conf

@@ -0,0 +1,224 @@
+# Animations for NORMAL windows.
+	{
+		match = "window_type = 'normal'";
+		animations = (
+			{
+				triggers = ["close", "hide"];
+				opacity = {
+					curve = "linear";
+					duration = 0.1;
+					start = "window-raw-opacity-before";
+					end = 0;
+				};
+		blur-opacity = "opacity";
+		shadow-opacity = "opacity";
+			},
+			{
+				triggers = ["open", "show"];
+				opacity = {
+					curve = "cubic-bezier(0,1,1,1)";
+					duration = 0.5;
+					start = 0;
+					end = "window-raw-opacity";
+				};
+		blur-opacity = "opacity";
+		shadow-opacity = "opacity";
+    offset-x = "(1 - scale-x) / 2 * window-width";
+    offset-y = "(1 - scale-y) / 2 * window-height";
+				scale-x = {
+					curve = "cubic-bezier(0,1.3,1,1)";
+					duration = 0.5;
+					start = 0.6;
+					end = 1;
+				};
+				scale-y = "scale-x";
+		shadow-scale-x = "scale-x";
+		shadow-scale-y = "scale-y";
+		shadow-offset-x = "offset-x";
+		shadow-offset-y = "offset-y";
+			},
+			{
+				triggers = ["geometry"]
+				scale-x = {
+					curve = "cubic-bezier(0,0,0,1.28)";
+					duration = 0.5;
+					start = "window-width-before / window-width";
+					end = 1;
+				}
+				scale-y = {
+					curve = "cubic-bezier(0,0,0,1.28)";
+					duration = 0.5;
+					start = "window-height-before / window-height";
+					end = 1;
+				}
+				offset-x = {
+					curve = "cubic-bezier(0,0,0,1.28)";
+					duration = 0.5;
+					start = "window-x-before - window-x";
+					end = 0;
+				}
+				offset-y = {
+					curve = "cubic-bezier(0,0,0,1.28)";
+					duration = 0.5;
+					start = "window-y-before - window-y";
+					end = 0;
+				}
+		shadow-scale-x = "scale-x";
+		shadow-scale-y = "scale-y";
+		shadow-offset-x = "offset-x";
+		shadow-offset-y = "offset-y";
+			}
+		)
+	},
+
+# Animations for Rofi launchers.
+	{
+		match = "class_g = 'Rofi'";
+		animations = (
+		{
+			triggers = ["close", "hide"];
+			preset = "disappear";
+			duration = 0.05;
+			scale = 0.5;
+		},
+		{
+			triggers = ["open", "show"];
+			preset = "appear";
+			duration = 0.2;
+			scale = 0.5;
+		}
+		)
+	},
+
+# Animations for Dunst notifications.
+	{
+		match = "class_g = 'Dunst'";
+		animations = (
+		{
+			triggers = ["close", "hide"];
+			preset = "fly-out";	#-dunst-close-preset
+			direction = "up";	#-dunst-close-direction
+			duration = 0.2;
+		},
+		{
+			triggers = ["open", "show"];
+			preset = "fly-in";	#-dunst-open-preset
+			direction = "up";	#-dunst-open-direction
+			duration = 0.2;
+		}
+		)
+	},
+
+# Animations for Jgmenu.
+	{
+		match = "class_g = 'jgmenu'";
+		animations = (
+		{
+			triggers = ["close", "hide"];
+			preset = "disappear";
+			duration = 0.08;
+			scale = 0.5;
+		},
+		{
+			triggers = ["open", "show"];
+			preset = "appear";
+			duration = 0.15;
+			scale = 0.5;
+		}
+		)
+	},
+
+# Animations for Scratchpad.
+	{
+		match = "class_g = 'Scratch'";
+		animations = (
+		{
+			triggers = ["close", "hide"];
+			preset = "fly-out";
+			direction = "up";
+			duration = 0.2;
+		},
+		{
+			triggers = ["open", "show"];
+			preset = "fly-in";
+			direction = "up";
+			duration = 0.2;
+		}
+		)
+	},
+
+# Animations for Eww Profile card.
+	{
+		match = "name = 'Eww - launchermenu'";
+		animations = (
+		{
+			triggers = ["close", "hide"];
+			preset = "slide-out";
+			direction = "right";
+			duration = 0.2;
+		},
+		{
+			triggers = ["open", "show"];
+			preset = "slide-in";
+			direction = "right";
+			duration = 0.2;
+		}
+		)
+	},
+
+# Animations for Eww Music player.
+	{
+		match = "name = 'Eww - music'";
+		animations = (
+		{
+			triggers = ["close", "hide"];
+			preset = "slide-out";
+			direction = "up";
+			duration = 0.2;
+		},
+		{
+			triggers = ["open", "show"];
+			preset = "slide-in";
+			direction = "up";
+			duration = 0.2;
+		}
+		)
+	},
+
+# Animations for Eww calendar.
+	{
+		match = "name = 'Eww - date'";
+		animations = (
+		{
+			triggers = ["close", "hide"];
+			preset = "fly-out";
+			direction = "up";
+			duration = 0.2;
+		},
+		{
+			triggers = ["open", "show"];
+			preset = "fly-in";
+			direction = "up";
+			duration = 0.2;
+		}
+		)
+	},
+
+# Animations for Eww Cheatsheet.
+	{
+		match = "name = 'Eww - csheet'";
+		animations = (
+		{
+			triggers = ["close", "hide"];
+			preset = "disappear";
+			duration = 0.08;
+			scale = 0.5;
+		},
+		{
+			triggers = ["open", "show"];
+			preset = "appear";
+			duration = 0.15;
+			scale = 0.5;
+		}
+		)
+	}

+ 138 - 0
config/bspwm/picom_configurations/picom_animation/picom.conf

@@ -0,0 +1,138 @@
+shadow = true;
+
+shadow-radius = 7;
+#shadow-opacity = .6
+shadow-offset-x = -7;
+shadow-offset-y = -7;
+shadow-color = "#000000"
+
+## ----- Fading ----- ##
+
+fading = true;
+
+fade-in-step = 0.03;
+fade-out-step = 0.03;
+fade-delta = 5
+no-fading-openclose = false
+no-fading-destroyed-argb = false
+
+## ----- Transparency ----- ##
+
+frame-opacity = 1.0;
+
+# inactive-dim-fixed = true
+
+## ----- Corners ----- ##
+
+corner-radius = 6
+
+#################################
+#       General Settings        #
+#################################
+
+# Available backends "xrender" "glx" "egl"
+backend = "glx"
+
+dithered-present = false;
+vsync = true;
+
+detect-rounded-corners = true;
+detect-client-opacity = true;
+detect-transient = true;
+
+use-damage = true;
+# xrender-sync-fence = false
+# transparent-clipping = false
+
+#################################
+#             Rules             #
+#################################
+
+blur:
+
+	{
+		method = "gaussian";
+		size = 10;
+		deviation = 2.5;
+	}
+
+rules: (
+
+	{
+		blur-background = false;
+		fade = false;
+	},
+
+	{
+		match = "window_type = 'normal'";
+		fade = true;	#-fade-switch
+		shadow = true;	#-shadow-switch
+	},
+
+	{
+		match = "window_type = 'dialog'";
+		shadow = true;	#-shadow-switch
+	},
+
+	{
+		match = "window_type = 'tooltip'";
+		corner-radius = 0;
+		opacity = 0.90;
+	},
+
+	{
+		match = "window_type = 'dock'";
+		corner-radius = 0;
+		fade = true;
+	},
+
+	{
+		match = "window_type = 'dropdown_menu' || window_type = 'menu' || window_type = 'popup' || window_type = 'popup_menu'";
+		corner-radius = 0;
+	},
+
+	{
+		match = "class_g = 'Alacritty'	|| class_g = 'kitty' || class_g = 'FloaTerm'";
+		opacity = 1.0;	#-term-opacity-switch
+		blur-background = false;	#-blur-switch
+	},
+
+	{
+		match = "class_g = 'Scratch' || class_g = 'Updating'";
+		opacity = 0.93;
+		blur-background = false;	#-blur-switch
+	},
+
+	{
+		match = "class_g = 'Polybar'	|| "
+				"class_g = 'eww-bar'	|| "
+				"class_g = 'Viewnior'	|| "
+				"class_g = 'Rofi'		|| "
+				"class_g = 'mpv'		|| "
+				"class_g = 'scratch'	|| "
+				"class_g = 'Dunst'		|| "
+				"class_g = 'retroarch'";
+		corner-radius = 0;
+	},
+
+	{
+		match = "name = 'Notification'		|| "
+				"class_g ?= 'Notify-osd'    || "
+				"class_g = 'Dunst'			|| "
+				"class_g = 'Polybar'		|| "
+				"class_g = 'jgmenu'			|| "
+				"class_g = 'scratch'		|| "
+				"class_g = 'Spotify'		|| "
+				"class_g = 'retroarch'		|| "
+				"class_g = 'firefox'		|| "
+				"class_g = 'Rofi'			|| "
+				"class_g = 'Screenkey'		|| "
+				"class_g = 'mpv'			|| "
+				"class_g = 'Viewnior'		|| "
+				"_GTK_FRAME_EXTENTS@";
+		shadow = false;
+	},
+
+@include "picom-animations.conf"
+
+)

BIN
config/dconf/user


+ 497 - 0
config/dunst/dunstr.def

@@ -0,0 +1,497 @@
+# See dunst(5) for all configuration options
+
+[global]
+    ### Display ###
+
+    # Which monitor should the notifications be displayed on.
+    monitor = 0
+
+    # Display notification on focused monitor.  Possible modes are:
+    #   mouse: follow mouse pointer
+    #   keyboard: follow window with keyboard focus
+    #   none: don't follow anything
+    #
+    # "keyboard" needs a window manager that exports the
+    # _NET_ACTIVE_WINDOW property.
+    # This should be the case for almost all modern window managers.
+    #
+    # If this option is set to mouse or keyboard, the monitor option
+    # will be ignored.
+    follow = none
+
+    ### Geometry ###
+
+    # The width of the window, excluding the frame.
+    # dynamic width from 0 to 300
+    # width = (0, 300)
+    # constant width of 300
+    width = 300
+
+    # The height of a single notification, excluding the frame.
+    # dynamic height from 0 to 300
+    height = (0, 300)
+    # constant height of 300
+    # height = 300
+    # NOTE: Dunst from version 1.11 and older don't support dynamic height
+    #       and the given value is treated as the maximum height
+
+    # Position the notification in the top right corner
+    origin = top-right
+
+    # Offset from the origin
+    # NOTE: Dunst from version 1.11 and older use this alternative notation
+    # offset = 10x50
+    offset = (10, 50)
+
+    # Scale factor. It is auto-detected if value is 0.
+    scale = 0
+
+    # Maximum number of notification (0 means no limit)
+    notification_limit = 20
+
+    ### Progress bar ###
+
+    # Turn on the progress bar. It appears when a progress hint is passed with
+    # for example dunstify -h int:value:12
+    progress_bar = true
+
+    # Set the progress bar height. This includes the frame, so make sure
+    # it's at least twice as big as the frame width.
+    progress_bar_height = 10
+
+    # Set the frame width of the progress bar
+    progress_bar_frame_width = 1
+
+    # Set the minimum width for the progress bar
+    progress_bar_min_width = 150
+
+    # Set the maximum width for the progress bar
+    progress_bar_max_width = 300
+
+    # Corner radius for the progress bar. 0 disables rounded corners.
+    progress_bar_corner_radius = 0
+
+    # Define which corners to round when drawing the progress bar. If progress_bar_corner_radius
+    # is set to 0 this option will be ignored.
+    progress_bar_corners = all
+
+    # Corner radius for the icon image.
+    icon_corner_radius = 0
+
+    # Define which corners to round when drawing the icon image. If icon_corner_radius
+    # is set to 0 this option will be ignored.
+    icon_corners = all
+
+    # Show how many messages are currently hidden (because of
+    # notification_limit).
+    indicate_hidden = yes
+
+    # The transparency of the window.  Range: [0; 100].
+    # This option will only work if a compositing window manager is
+    # present (e.g. xcompmgr, compiz, etc.). (X11 only)
+    transparency = 0
+
+    # Draw a line of "separator_height" pixel height between two
+    # notifications.
+    # Set to 0 to disable.
+    # If gap_size is greater than 0, this setting will be ignored.
+    separator_height = 2
+
+    # Padding between text and separator.
+    padding = 8
+
+    # Horizontal padding.
+    horizontal_padding = 8
+
+    # Padding between text and icon.
+    text_icon_padding = 0
+
+    # Defines width in pixels of frame around the notification window.
+    # Set to 0 to disable.
+    frame_width = 3
+
+    # Defines color of the frame around the notification window.
+    frame_color = "#aaaaaa"
+
+    # Size of gap to display between notifications - requires a compositor.
+    # If value is greater than 0, separator_height will be ignored and a border
+    # of size frame_width will be drawn around each notification instead.
+    # Click events on gaps do not currently propagate to applications below.
+    gap_size = 0
+
+    # Define a color for the separator.
+    # possible values are:
+    #  * auto: dunst tries to find a color fitting to the background;
+    #  * foreground: use the same color as the foreground;
+    #  * frame: use the same color as the frame;
+    #  * anything else will be interpreted as a X color.
+    separator_color = frame
+
+    # Sort type.
+    # possible values are:
+    #  * id: sort by id
+    #  * urgency_ascending: sort by urgency (low then normal then critical)
+    #  * urgency_descending: sort by urgency (critical then normal then low)
+    #  * update: sort by update (most recent always at the top)
+    sort = yes
+
+    # Don't remove messages, if the user is idle (no mouse or keyboard input)
+    # for longer than idle_threshold seconds.
+    # Set to 0 to disable.
+    # A client can set the 'transient' hint to bypass this. See the rules
+    # section for how to disable this if necessary
+    # idle_threshold = 120
+
+    ### Text ###
+
+    font = Monospace 8
+
+    # The spacing between lines.  If the height is smaller than the
+    # font height, it will get raised to the font height.
+    line_height = 0
+
+    # Possible values are:
+    # full: Allow a small subset of html markup in notifications:
+    #        <b>bold</b>
+    #        <i>italic</i>
+    #        <s>strikethrough</s>
+    #        <u>underline</u>
+    #
+    #        For a complete reference see
+    #        <https://docs.gtk.org/Pango/pango_markup.html>.
+    #
+    # strip: This setting is provided for compatibility with some broken
+    #        clients that send markup even though it's not enabled on the
+    #        server. Dunst will try to strip the markup but the parsing is
+    #        simplistic so using this option outside of matching rules for
+    #        specific applications *IS GREATLY DISCOURAGED*.
+    #
+    # no:    Disable markup parsing, incoming notifications will be treated as
+    #        plain text. Dunst will not advertise that it has the body-markup
+    #        capability if this is set as a global setting.
+    #
+    # It's important to note that markup inside the format option will be parsed
+    # regardless of what this is set to.
+    markup = full
+
+    # The format of the message.  Possible variables are:
+    #   %a  appname
+    #   %s  summary
+    #   %b  body
+    #   %c  category
+    #   %S  stack_tag
+    #   %i  iconname (including its path)
+    #   %I  iconname (without its path)
+    #   %p  progress value if set ([  0%] to [100%]) or nothing
+    #   %n  progress value if set without any extra characters
+    #   %%  literal %
+    # Markup is allowed
+    format = "<b>%s</b>\n%b"
+
+    # Alignment of message text.
+    # Possible values are "left", "center" and "right".
+    alignment = left
+
+    # Vertical alignment of message text and icon.
+    # Possible values are "top", "center" and "bottom".
+    vertical_alignment = center
+
+    # Show age of message if message is older than show_age_threshold
+    # seconds.
+    # Set to -1 to disable.
+    show_age_threshold = 60
+
+    # Specify where to make an ellipsis in long lines.
+    # Possible values are "start", "middle" and "end".
+    ellipsize = middle
+
+    # Ignore newlines '\n' in notifications.
+    ignore_newline = no
+
+    # Stack together notifications with the same content
+    stack_duplicates = true
+
+    # Hide the count of stacked notifications with the same content
+    hide_duplicate_count = false
+
+    # Display indicators for URLs (U) and actions (A).
+    show_indicators = yes
+
+    ### Icons ###
+
+    # Recursive icon lookup. You can set a single theme, instead of having to
+    # define all lookup paths.
+    enable_recursive_icon_lookup = true
+
+    # Set icon theme (only used for recursive icon lookup)
+    icon_theme = Adwaita
+    # You can also set multiple icon themes, with the leftmost one being used first.
+    # icon_theme = "Adwaita, breeze"
+
+    # Align icons left/right/top/off
+    icon_position = left
+
+    # Scale small icons up to this size, set to 0 to disable. Helpful
+    # for e.g. small files or high-dpi screens. In case of conflict,
+    # max_icon_size takes precedence over this.
+    min_icon_size = 32
+
+    # Scale larger icons down to this size, set to 0 to disable
+    max_icon_size = 128
+
+    # Paths to default icons (only necessary when not using recursive icon lookup)
+    icon_path = /usr/share/icons/gnome/16x16/status/:/usr/share/icons/gnome/16x16/devices/
+
+    ### History ###
+
+    # Should a notification popped up from history be sticky or timeout
+    # as if it would normally do.
+    sticky_history = yes
+
+    # Maximum amount of notifications kept in history
+    history_length = 20
+
+    ### Misc/Advanced ###
+
+    # dmenu path.
+    dmenu = /usr/bin/dmenu -p dunst:
+
+    # Browser for opening urls in context menu.
+    browser = /usr/bin/xdg-open
+
+    # Always run rule-defined scripts, even if the notification is suppressed
+    always_run_script = true
+
+    # Define the title of the windows spawned by dunst (X11 only)
+    title = Dunst
+
+    # Define the class of the windows spawned by dunst (X11 only)
+    class = Dunst
+
+    # Define the corner radius of the notification window
+    # in pixel size. If the radius is 0, you have no rounded
+    # corners.
+    # The radius will be automatically lowered if it exceeds half of the
+    # notification height to avoid clipping text and/or icons.
+    corner_radius = 0
+
+    # Define which corners to round when drawing the window. If the corner radius
+    # is set to 0 this option will be ignored.
+    #
+    # Comma-separated list of the corners. The accepted corner values are bottom-right,
+    # bottom-left, top-right, top-left, top, bottom, left, right or all.
+    corners = all
+
+    # Ignore the dbus closeNotification message.
+    # Useful to enforce the timeout set by dunst configuration. Without this
+    # parameter, an application may close the notification sent before the
+    # user defined timeout.
+    ignore_dbusclose = false
+
+    ### Wayland ###
+    # These settings are Wayland-specific. They have no effect when using X11
+
+    # Uncomment this if you want to let notifications appear under fullscreen
+    # applications (default: overlay)
+    # layer = top
+
+    # Set this to true to use X11 output on Wayland.
+    force_xwayland = false
+
+    ### Legacy
+
+    # Use the Xinerama extension instead of RandR for multi-monitor support.
+    # This setting is provided for compatibility with older nVidia drivers that
+    # do not support RandR and using it on systems that support RandR is highly
+    # discouraged.
+    #
+    # By enabling this setting dunst will not be able to detect when a monitor
+    # is connected or disconnected which might break follow mode if the screen
+    # layout changes.
+    force_xinerama = false
+
+    ### mouse
+
+    # Defines list of actions for each mouse event
+    # Possible values are:
+    # * none: Don't do anything.
+    # * do_action: Invoke the action determined by the action_name rule. If there is no
+    #              such action, open the context menu.
+    # * open_url: If the notification has exactly one url, open it. If there are multiple
+    #             ones, open the context menu.
+    # * close_current: Close current notification.
+    # * remove_current: Remove current notification from history.
+    # * close_all: Close all notifications.
+    # * context: Open context menu for the notification.
+    # * context_all: Open context menu for all notifications.
+    # These values can be strung together for each mouse event, and
+    # will be executed in sequence.
+    mouse_left_click = close_current
+    mouse_middle_click = do_action, close_current
+    mouse_right_click = close_all
+
+# Experimental features that may or may not work correctly. Do not expect them
+# to have a consistent behaviour across releases.
+[experimental]
+    # Calculate the dpi to use on a per-monitor basis.
+    # If this setting is enabled the Xft.dpi value will be ignored and instead
+    # dunst will attempt to calculate an appropriate dpi value for each monitor
+    # using the resolution and physical size. This might be useful in setups
+    # where there are multiple screens with very different dpi values.
+    per_monitor_dpi = false
+
+
+[urgency_low]
+    # IMPORTANT: colors have to be defined in quotation marks.
+    # Otherwise the "#" and following would be interpreted as a comment.
+    background = "#222222"
+    foreground = "#888888"
+    timeout = 10
+    # Icon for notifications with low urgency
+    default_icon = dialog-information
+
+[urgency_normal]
+    background = "#285577"
+    foreground = "#ffffff"
+    timeout = 10
+    override_pause_level = 30
+    # Icon for notifications with normal urgency
+    default_icon = dialog-information
+
+[urgency_critical]
+    background = "#900000"
+    foreground = "#ffffff"
+    frame_color = "#ff0000"
+    timeout = 0
+    override_pause_level = 60
+    # Icon for notifications with critical urgency
+    default_icon = dialog-warning
+
+# Every section that isn't one of the above is interpreted as a rules to
+# override settings for certain messages.
+#
+# Messages can be matched by
+#    appname (discouraged, see desktop_entry)
+#    body
+#    category
+#    desktop_entry
+#    icon
+#    match_transient
+#    msg_urgency
+#    stack_tag
+#    summary
+#
+# and you can override the
+#    background
+#    foreground
+#    format
+#    frame_color
+#    fullscreen
+#    new_icon
+#    set_stack_tag
+#    set_transient
+#    set_category
+#    timeout
+#    urgency
+#    icon_position
+#    skip_display
+#    history_ignore
+#    action_name
+#    word_wrap
+#    ellipsize
+#    alignment
+#    hide_text
+#    override_pause_level
+#
+# Shell-like globbing will get expanded.
+#
+# Instead of the appname filter, it's recommended to use the desktop_entry filter.
+# GLib based applications export their desktop-entry name. In comparison to the appname,
+# the desktop-entry won't get localized.
+#
+# You can also allow a notification to appear even when paused. Notification will appear whenever notification's override_pause_level >= dunst's paused level.
+# This can be used to set partial pause modes, where more urgent notifications get through, but less urgent stay paused. To do that, you can override the following in the rules:
+# override_pause_level = X
+
+# SCRIPTING
+# You can specify a script that gets run when the rule matches by
+# setting the "script" option.
+# The script will be called as follows:
+#   script appname summary body icon urgency
+# where urgency can be "LOW", "NORMAL" or "CRITICAL".
+#
+# NOTE: It might be helpful to run dunst -print in a terminal in order
+# to find fitting options for rules.
+
+# Disable the transient hint so that idle_threshold cannot be bypassed from the
+# client
+#[transient_disable]
+#    match_transient = yes
+#    set_transient = no
+#
+# Make the handling of transient notifications more strict by making them not
+# be placed in history.
+#[transient_history_ignore]
+#    match_transient = yes
+#    history_ignore = yes
+
+# fullscreen values
+# show: show the notifications, regardless if there is a fullscreen window opened
+# delay: displays the new notification, if there is no fullscreen window active
+#        If the notification is already drawn, it won't get undrawn.
+# pushback: same as delay, but when switching into fullscreen, the notification will get
+#           withdrawn from screen again and will get delayed like a new notification
+#[fullscreen_delay_everything]
+#    fullscreen = delay
+#[fullscreen_show_critical]
+#    msg_urgency = critical
+#    fullscreen = show
+
+#[espeak]
+#    summary = "*"
+#    script = dunst_espeak.sh
+
+#[script-test]
+#    summary = "*script*"
+#    script = dunst_test.sh
+
+#[ignore]
+#    # This notification will not be displayed
+#    summary = "foobar"
+#    skip_display = true
+
+#[history-ignore]
+#    # This notification will not be saved in history
+#    summary = "foobar"
+#    history_ignore = yes
+
+#[skip-display]
+#    # This notification will not be displayed, but will be included in the history
+#    summary = "foobar"
+#    skip_display = yes
+
+#[signed_on]
+#    appname = Pidgin
+#    summary = "*signed on*"
+#    urgency = low
+#
+#[signed_off]
+#    appname = Pidgin
+#    summary = *signed off*
+#    urgency = low
+#
+#[says]
+#    appname = Pidgin
+#    summary = *says*
+#    urgency = critical
+#
+#[twitter]
+#    appname = Pidgin
+#    summary = *twitter.com*
+#    urgency = normal
+#
+#[stack-volumes]
+#    appname = "some_volume_notifiers"
+#    set_stack_tag = "volume"
+#
+# vim: ft=cfg

+ 56 - 0
config/dunst/dunstrc

@@ -0,0 +1,56 @@
+[global]
+  monitor = 0
+  follow = mouse
+  shrink = no
+  padding = 20
+  horizontal_padding = 20
+  
+  offset = 16x60
+  origin = top-right
+
+  frame_width = 2
+  separator_height = 2
+  frame_color = "#161320"
+  separator_color = "#161320"
+
+  sort = no
+  font = Hack Nerd Font 15
+  markup = full
+  format = "<b>%s</b>\n%b"
+  alignment = left
+  show_age_threshold = 60
+  word_wrap = yes
+  ignore_newline = no
+  stack_duplicates = true
+  hide_duplicate_count = no
+  show_indicators = yes
+
+  icon_position = left
+  max_icon_size= 60
+  sticky_history = no
+  history_length = 6
+  title = Dunst
+  class = Dunst
+  corner_radius = 0
+
+  mouse_left_click = close_current
+  mouse_middle_click = do_action
+  mouse_right_click = close_all
+
+[urgency_low]
+  background = "#1E1E2E"
+  frame_color = "#989CFA"
+  foreground = "#D9E0EE"
+  timeout = 5
+
+[urgency_normal]
+  background = "#1E1E2E"
+  frame_color = "#989CFA"
+  foreground = "#D9E0EE"
+  timeout = 5
+
+[urgency_critical]
+  background = "#1E1E2E"
+  frame_color = "#989CFA"
+  foreground = "#D9E0EE"
+  timeout = 10

+ 46 - 0
config/nvim/init.vim

@@ -0,0 +1,46 @@
+"	$$$$$$$$\ $$$$$$$$\   $$\             $$\        $$$$$$\              $$\     
+"	\__$$  __|$$  _____|$$$$ |            $$ |      $$$ __$$\             $$ |    
+"	   $$ |   $$ |      \_$$ |   $$$$$$$\ $$$$$$$\  $$$$\ $$ | $$$$$$$\ $$$$$$\   
+"	   $$ |   $$$$$\      $$ |  $$  _____|$$  __$$\ $$\$$\$$ |$$  _____|\_$$  _|  
+"	   $$ |   $$  __|     $$ |  $$ /      $$ |  $$ |$$ \$$$$ |\$$$$$$\    $$ |    
+"	   $$ |   $$ |        $$ |  $$ |      $$ |  $$ |$$ |\$$$ | \____$$\   $$ |$$\ 
+"	   $$ |   $$$$$$$$\ $$$$$$\ \$$$$$$$\ $$ |  $$ |\$$$$$$  /$$$$$$$  |  \$$$$  |
+"	   \__|   \________|\______| \_______|\__|  \__| \______/ \_______/    \____/
+
+"Base"
+:set number
+:set autoindent
+:set tabstop=4
+:set shiftwidth=4
+:set smarttab
+:set softtabstop=4
+:set mouse=a
+:set termguicolors
+
+"Plugins"
+call plug#begin()
+
+Plug 'vim-airline/vim-airline'
+Plug 'vim-airline/vim-airline-themes'
+Plug 'scrooloose/nerdtree'
+Plug 'ap/vim-css-color'
+Plug 'tpope/vim-surround'
+Plug 'morhetz/gruvbox'
+Plug 'EdenEast/nightfox.nvim'
+
+call plug#end()
+
+syntax enable
+colorscheme carbonfox
+
+let NERDTreeShowHidden = 1
+nnoremap <C-n> :NERDTree<CR>
+nnoremap <C-t> :NERDTreeToggle<CR>
+
+" off arrows
+nnoremap <Left> :echoe "Use h"<CR>
+nnoremap <Right> :echoe "Use l"<CR>
+nnoremap <Up> :echoe "Use k"<CR>
+nnoremap <Down> :echoe "Use j"<CR>
+
+imap jj <ESC>

+ 398 - 0
config/polybar/config.ini

@@ -0,0 +1,398 @@
+; ===================================================================
+;   Максимальный конфиг Polybar для Arch Linux (v2)
+;   Шрифт: Hack Nerd Font
+;   Темы: Arch Blue, Gruvbox
+;   Комментарии на русском языке
+;
+;   Поместить этот файл в: ~/.config/polybar/config.ini
+; ===================================================================
+
+; -------------------------------------------------------------------
+;   Раздел с цветовыми палитрами
+; -------------------------------------------------------------------
+
+; [!] Тема Arch (синяя)
+[colors-arch]
+background = #282A36
+background-alt = #3A3C4E
+foreground = #F8F8F2
+foreground-alt = #BFBFBF
+primary = #1793D1  ; Arch Blue
+secondary = #5294E2
+alert = #FF5555
+disabled = #6272A4
+green = #50FA7B
+
+; [!] Тема Gruvbox (темная)
+[colors-gruvbox]
+background = #282828
+background-alt = #3c3836
+foreground = #ebdbb2
+foreground-alt = #a89984
+primary = #458588
+secondary = #b16286
+alert = #fb4934
+disabled = #665c54
+green = #b8bb26
+
+
+; -------------------------------------------------------------------
+;   [!] АКТИВНАЯ ТЕМА [!]
+;   Чтобы сменить тему, скопируй сюда значения
+;   из [colors-arch] или [colors-gruvbox] выше.
+;   Сейчас активна тема [colors-arch].
+; -------------------------------------------------------------------
+[colors]
+background = #282A36
+background-alt = #3A3C4E
+foreground = #F8F8F2
+foreground-alt = #BFBFBF
+primary = #1793D1
+secondary = #5294E2
+alert = #FF5555
+disabled = #6272A4
+green = #50FA7B
+
+; -------------------------------------------------------------------
+;   Основные настройки бара
+; -------------------------------------------------------------------
+[bar/main]
+; Выбор монитора. 'primary' - основной.
+; Узнать: 'xrandr -q' (например, 'eDP-1')
+#monitor = ${env:MONITOR:primary}
+
+; Геометрия
+width = 95%
+offset-x = 2.5%
+
+height = 32
+radius = 8.0
+
+; [!] Эта настройка оцентрует бар,
+; так как его ширина теперь меньше 100%
+fixed-center = true
+
+; Расположение (false = вверху)
+bottom = false
+
+; Отступы
+padding-left = 1
+padding-right = 1
+
+; Отступы для модулей
+module-margin = 1
+
+; Цвета
+background = ${colors.background}
+foreground = ${colors.foreground}
+
+; Шрифты
+; [!] Мы используем 'Hack Nerd Font', как ты и просил.
+; 'font-0' - основной шрифт
+; 'font-1' - шрифт с иконками (Nerd Font)
+font-0 = "Hack Nerd Font:style=Regular:size=12;2"
+font-1 = "Hack Nerd Font:style=Bold:size=12;2"
+
+
+; Для больших иконок
+font-2 = "Hack Nerd Font:style=Regular:size=12;3"
+
+; Для цифр с номерами workspace
+font-3 = "Hack Nerd Font:style=Bold:size=18;3"
+
+; Расположение модулей
+separator = |
+modules-left = arch-icon bspwm xwindow
+modules-center = date
+modules-right = pulseaudio network bluetooth updates cpu memory filesystem temperature battery powermenu
+
+; Включить поддержку IPC (для отправки команд в polybar)
+enable-ipc = true
+
+; Системный трей
+tray-position = right
+tray-padding = 2
+
+wm-restack = bspwm
+; -------------------------------------------------------------------
+;   Модули: Левая часть
+; -------------------------------------------------------------------
+
+; [!] Иконка Arch (как ты и просил)
+[module/arch-icon]
+type = custom/text
+; Иконка Arch из Nerd Font
+content = "  "
+content-foreground = ${colors.primary}
+; Действие по клику ЛКМ: открыть меню приложений (rofi)
+click-left = rofi -show drun -theme-str 'window {width: 30%;}'
+
+[module/bspwm]
+type = internal/bspwm
+pin-workspaces = true
+enable-click = true
+enable-scroll = true
+format = <label-state>
+
+ws-icon-0 = 1;%{T4}%{F#F9DE8F}󰬺%{T-}
+ws-icon-1 = 2;%{T4}%{F#ff9b93}󰬻%{T-}
+ws-icon-2 = 3;%{T4}%{F#95e1d3}󰬼%{T-}
+ws-icon-3 = 4;%{T4}%{F#81A1C1}󰬽%{T-}
+ws-icon-4 = 5;%{T4}%{F#A3BE8C}󰬾%{T-}
+ws-icon-5 = 6;%{T4}%{F#F9DE8F}󰬿%{T-}
+ws-icon-6 = 7;%{T4}%{F#ff9b93}󰭀%{T-}
+
+;label-focused = %icon%
+label-focused = X
+label-focused-foreground = ${colors.primary}
+label-focused-underline = ${colors.primary}
+label-focused-padding = 1
+
+label-occupied = %icon%
+label-occupied-foreground = ${colors.foreground-alt}
+label-occupied-padding = 1
+label-empty = %icon%
+label-empty-foreground = ${colors.disabled}
+label-empty-padding = 1
+
+label-urgent = %icon%
+label-urgent-foreground = ${colors.alert}
+label-urgent-padding = 1
+
+; [Модуль] Заголовок активного окна
+[module/xwindow]
+type = internal/xwindow
+; Ограничиваем длину
+label = %title:0:40:...%
+label-foreground = ${colors.foreground-alt}
+
+; -------------------------------------------------------------------
+;   Модули: Центральная часть
+; -------------------------------------------------------------------
+
+[module/date]
+type = internal/date
+interval = 1.0
+
+; Формат времени (ЧЧ:ММ)
+time = %H:%M
+; Альтернативный формат (появляется при наведении)
+time-alt = %A, %d %B %Y
+
+; Отображение
+format = <label>
+
+format-prefix = "  "
+; Иконка календаря
+
+format-prefix-foreground = ${colors.secondary}
+label = %time%
+
+; Действие по клику ЛКМ: показать календарь
+click-left = yad --calendar --title="Календарь" --no-buttons --close-on-unfocus &
+
+; -------------------------------------------------------------------
+;   Модули: Правая часть
+; -------------------------------------------------------------------
+
+; [Модуль] Звук (Pulseaudio)
+[module/pulseaudio]
+type = internal/pulseaudio
+use-ui-max = false ; Не позволять громкости > 100%
+
+; Формат
+format-volume = <ramp-volume> <label-volume>
+label-volume = %percentage%%
+format-muted = <label-muted>
+label-muted =  Muted
+label-muted-foreground = ${colors.disabled}
+
+; Иконки громкости (0%, 33%, 66%, 100%)
+ramp-volume-0 = 
+ramp-volume-1 = 
+ramp-volume-2 = 
+
+; Действия
+click-middle = pactl set-sink-mute @DEFAULT_SINK@ toggle
+click-right = pavucontrol &
+scroll-up = pulseaudio-ctl up 5
+scroll-down = pulseaudio-ctl down 5
+
+; [Модуль] Сеть (Wi-Fi)
+; [!] Требует настройки
+[module/network]
+type = internal/network
+; [!] Замени 'wlan0' на имя своего Wi-Fi интерфейса
+; Узнать: 'ip link'
+interface = wlp0s20f0u7
+interface-type = wireless
+interval = 3.0
+
+; Подключено
+format-connected = <label-connected>
+label-connected =  %essid%
+label-connected-foreground = ${colors.green}
+
+; Отключено
+format-disconnected = <label-disconnected>
+label-disconnected =  (нет сети)
+label-disconnected-foreground = ${colors.disabled}
+
+; [!] Управление сетью (как ты просил)
+; ЛКМ: Открыть 'networkmanager_dmenu' для выбора сети
+click-left = networkmanager_dmenu
+
+; [Модуль] Bluetooth
+; [!] Требует кастомных скриптов (см. ниже)
+[module/bluetooth]
+type = custom/script
+; Скрипт статуса
+exec = ~/.config/polybar/scripts/get_bluetooth_status.sh
+interval = 5
+tail = true
+
+format = <label>
+label = %output%
+
+; [!] Управление Bluetooth (как ты просил)
+; ЛКМ: Открыть GUI 'blueman-manager'
+click-left = blueman-manager &
+; ПКМ: Включить/Выключить Bluetooth
+click-right = ~/.config/polybar/scripts/toggle_bluetooth.sh &
+
+; [Модуль] Проверка обновлений (Arch)
+; [!] Требует 'pacman-contrib' и кастомного скрипта
+[module/updates]
+type = custom/script
+; Скрипт проверки
+exec = ~/.config/polybar/scripts/check-updates.sh
+interval = 600 ; Каждые 10 минут
+
+format = <label>
+label = %output%
+
+; Действие
+; ЛКМ: Запустить обновление системы в терминале
+; [!] Замени 'alacritty' на свой терминал (kitty, st, etc.)
+click-left = alacritty -e sudo pacman -Sy &
+
+; [Модуль] CPU
+[module/cpu]
+type = internal/cpu
+interval = 2
+format = <label>
+
+format-prefix = "  "
+; Иконка CPU
+
+format-prefix-foreground = ${colors.secondary}
+label = %percentage:2%%
+
+; [Модуль] RAM
+[module/memory]
+type = internal/memory
+interval = 2
+format = <label>
+
+format-prefix = "  " 
+; Иконка RAM
+
+format-prefix-foreground = ${colors.secondary}
+label = %percentage_used:2%%
+
+; [Модуль] Файловая система ( / )
+[module/filesystem]
+type = internal/fs
+interval = 30
+mount-0 = /
+
+format-mounted = <label-mounted>
+
+format-mounted-prefix = "  "
+; Иконка диска
+
+format-mounted-prefix-foreground = ${colors.secondary}
+label-mounted = %percentage_used%%
+
+; [Модуль] Температура (CPU)
+[module/temperature]
+type = internal/temperature
+interval = 3
+; [!] Путь к датчику может отличаться!
+; Проверь: /sys/class/thermal/thermal_zone*
+thermal-zone = 0
+units = true
+
+format = <label>
+format-warn = <label-warn>
+format-prefix = "  "
+; Иконка термометра
+
+label = %temperature-c%
+label-warn = %temperature-c%
+label-warn-foreground = ${colors.alert}
+
+; [Модуль] Батарея
+; Если у тебя ПК, просто удали 'battery' из 'modules-right'
+[module/battery]
+type = internal/battery
+; [!] Проверь имя: 'ls /sys/class/power_supply/' (часто BAT0)
+battery = BAT0
+adapter = AC0
+full-at = 99
+poll-interval = 5
+
+; Зарядка
+format-charging = <animation-charging> <label-charging>
+label-charging = %percentage%%
+label-charging-foreground = ${colors.green}
+
+; Разрядка
+format-discharging = <ramp-capacity> <label-discharging>
+label-discharging = %percentage%%
+
+; Полный заряд
+format-full = <label-full>
+label-full =  100%
+label-full-foreground = ${colors.green}
+
+; Иконки разрядки (0%, 25%, 50%, 75%, 100%)
+ramp-capacity-0 = 
+ramp-capacity-1 = 
+ramp-capacity-2 = 
+ramp-capacity-3 = 
+ramp-capacity-4 = 
+ramp-capacity-0-foreground = ${colors.alert}
+
+; Анимация зарядки
+animation-charging-0 = 
+animation-charging-1 = 
+animation-charging-2 = 
+animation-charging-3 = 
+animation-charging-4 = 
+animation-charging-framerate = 750
+
+; [Модуль] Меню выключения (Powermenu)
+; [!] Требует 'rofi' и кастомный скрипт
+[module/powermenu]
+type = custom/text
+; Иконка выключения
+content = 
+content-foreground = ${colors.alert}
+content-padding = 1
+
+; ЛКМ: запустить скрипт powermenu
+click-left = ~/.config/polybar/scripts/powermenu.sh
+
+; -------------------------------------------------------------------
+;   Прочие настройки
+; -------------------------------------------------------------------
+[settings]
+screenchange-reload = true
+
+pseudo-transparency = false
+; Нужен композитор (picom) для 'false'
+
+; ===================================================================
+;   Конец конфига
+; ===================================================================

+ 212 - 0
config/polybar/config.ini.old

@@ -0,0 +1,212 @@
+;==========================================================
+;
+;
+;   ██████╗  ██████╗ ██╗  ██╗   ██╗██████╗  █████╗ ██████╗
+;   ██╔══██╗██╔═══██╗██║  ╚██╗ ██╔╝██╔══██╗██╔══██╗██╔══██╗
+;   ██████╔╝██║   ██║██║   ╚████╔╝ ██████╔╝███████║██████╔╝
+;   ██╔═══╝ ██║   ██║██║    ╚██╔╝  ██╔══██╗██╔══██║██╔══██╗
+;   ██║     ╚██████╔╝███████╗██║   ██████╔╝██║  ██║██║  ██║
+;   ╚═╝      ╚═════╝ ╚══════╝╚═╝   ╚═════╝ ╚═╝  ╚═╝╚═╝  ╚═╝
+;
+;
+;   To learn more about how to configure Polybar
+;   go to https://github.com/polybar/polybar
+;
+;   The README contains a lot of information
+;
+;==========================================================
+
+[colors]
+background = #282A2E
+background-alt = #373B41
+foreground = #C5C8C6
+primary = #F0C674
+secondary = #8ABEB7
+alert = #A54242
+disabled = #707880
+
+[bar/example]
+width = 198%
+height = 26pt
+radius = 8
+
+; dpi = 96
+
+background = ${colors.background}
+foreground = ${colors.foreground}
+
+line-size = 3pt
+
+border-size = 4pt
+border-color = #00000000
+
+padding-left = 0
+padding-right = 1
+
+module-margin = 1
+
+separator = |
+separator-foreground = ${colors.disabled}
+
+font-0 = Hack Nerd Font:style=Bold:pixelsize=13;2
+
+modules-left = xworkspaces xwindow
+modules-right = filesystem pulseaudio xkeyboard memory cpu wlan eth date
+
+cursor-click = pointer
+cursor-scroll = ns-resize
+
+enable-ipc = true
+
+; wm-restack = generic
+wm-restack = bspwm
+; wm-restack = i3
+
+; override-redirect = true
+
+; This module is not active by default (to enable it, add it to one of the
+; modules-* list above).
+; Please note that only a single tray can exist at any time. If you launch
+; multiple bars with this module, only a single one will show it, the others
+; will produce a warning. Which bar gets the module is timing dependent and can
+; be quite random.
+; For more information, see the documentation page for this module:
+; https://polybar.readthedocs.io/en/stable/user/modules/tray.html
+[module/systray]
+type = internal/tray
+
+format-margin = 8pt
+tray-spacing = 16pt
+
+[module/xworkspaces]
+type = internal/xworkspaces
+
+label-active = %name%
+label-active-background = ${colors.background-alt}
+label-active-underline= ${colors.primary}
+label-active-padding = 1
+
+label-occupied = %name%
+label-occupied-padding = 1
+
+label-urgent = %name%
+label-urgent-background = ${colors.alert}
+label-urgent-padding = 1
+
+label-empty = %name%
+label-empty-foreground = ${colors.disabled}
+label-empty-padding = 1
+
+[module/xwindow]
+type = internal/xwindow
+label = %title:0:60:...%
+
+[module/filesystem]
+type = internal/fs
+interval = 25
+
+mount-0 = /
+
+label-mounted = %{F#F0C674}%mountpoint%%{F-} %percentage_used%%
+
+label-unmounted = %mountpoint% not mounted
+label-unmounted-foreground = ${colors.disabled}
+
+[module/pulseaudio]
+type = internal/pulseaudio
+
+format-volume-prefix = "VOL "
+format-volume-prefix-foreground = ${colors.primary}
+format-volume = <label-volume>
+
+label-volume = %percentage%%
+
+label-muted = muted
+label-muted-foreground = ${colors.disabled}
+
+[module/xkeyboard]
+type = internal/xkeyboard
+blacklist-0 = num lock
+
+label-layout = %layout%
+label-layout-foreground = ${colors.primary}
+
+label-indicator-padding = 2
+label-indicator-margin = 1
+label-indicator-foreground = ${colors.background}
+label-indicator-background = ${colors.secondary}
+
+[module/memory]
+type = internal/memory
+interval = 2
+format-prefix = "RAM "
+format-prefix-foreground = ${colors.primary}
+label = %percentage_used:2%%
+
+[module/cpu]
+type = internal/cpu
+interval = 2
+format-prefix = "CPU "
+format-prefix-foreground = ${colors.primary}
+label = %percentage:2%%
+
+[network-base]
+type = internal/network
+interval = 5
+format-connected = <label-connected>
+format-disconnected = <label-disconnected>
+label-disconnected = %{F#F0C674}%ifname%%{F#707880} disconnected
+
+[module/wlan]
+inherit = network-base
+interface-type = wireless
+label-connected = %{F#F0C674}%ifname%%{F-} %essid% %local_ip%
+
+[module/eth]
+inherit = network-base
+interface-type = wired
+label-connected = %{F#F0C674}%ifname%%{F-} %local_ip%
+
+[module/date]
+type = internal/date
+interval = 1
+
+date = %H:%M
+date-alt = %d.%m.%Y %H:%M:%S
+
+label = %date%
+label-foreground = ${colors.primary}
+
+[settings]
+screenchange-reload = true
+pseudo-transparency = true
+
+[module/battery]
+type = internal/battery
+
+; This is useful in case the battery never reports 100% charge
+; Default: 100
+full-at = 99
+
+; format-low once this charge percentage is reached
+; Default: 10
+; New in version 3.6.0
+low-at = 5
+
+; Use the following command to list batteries and adapters:
+; $ ls -1 /sys/class/power_supply/
+battery = BAT0
+adapter = AC0
+
+; If an inotify event haven't been reported in this many
+; seconds, manually poll for new values.
+;
+; Needed as a fallback for systems that don't report events
+; on sysfs/procfs.
+;
+; Disable polling by setting the interval to 0.
+;
+; Default: 5
+poll-interval = 5
+
+; vim:ft=dosini

+ 12 - 0
config/polybar/launch.sh

@@ -0,0 +1,12 @@
+#!/bin/bash
+
+# Завершить текущие экземпляры polybar
+killall -q polybar
+
+# Ожидание полного завершения работы процессов
+while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done
+
+# Запуск Polybar со стандартным расположением конфигурационного файла в ~/.config/polybar/config
+polybar main &
+
+notify-send "Polybar загрузился..."

+ 18 - 0
config/polybar/scripts/check-updates.sh

@@ -0,0 +1,18 @@
+#!/bin/bash
+# ~/.config/polybar/scripts/check-updates.sh
+
+# Иконка
+icon=""
+
+if ! command -v checkupdates &> /dev/null; then
+    echo "$icon (ошибка)"
+    exit
+fi
+
+updates=$(checkupdates 2>/dev/null | wc -l)
+
+if [ "$updates" -gt 0 ]; then
+    echo "$icon $updates" # Показать иконку и кол-во
+else
+    echo "$icon 0" # Показать иконку и 0
+fi

+ 23 - 0
config/polybar/scripts/get_bluetooth_status.sh

@@ -0,0 +1,23 @@
+#!/bin/bash
+# ~/.config/polybar/scripts/get_bluetooth_status.sh
+
+# Цвета из конфига polybar (если хочешь)
+COLOR_DISABLED="#665c54" # ${colors.disabled}
+COLOR_DEFAULT="#ebdbb2"  # ${colors.foreground}
+
+if [ $(bluetoothctl show | grep "Powered: yes" | wc -c) -eq 0 ]; then
+  # Выключено
+  echo "%{F$COLOR_DISABLED}%{F-}" # Иконка выкл
+else
+  # Включено
+  if [ $(echo "info" | bluetoothctl | grep "Device" | wc -c) -eq 0 ]; then
+    # Нет подключенных устройств
+    echo "%{F$COLOR_DEFAULT}%{F-}" # Иконка вкл
+  else
+    # Есть подключенное устройство
+    echo "%{F$COLOR_DEFAULT}%{F-}" # Показываем просто иконку, что есть коннект
+    # Если хочешь имя устройства (может быть длинным):
+    # device_name=$(echo "info" | bluetoothctl | grep "Name:" | cut -d ' ' -f 2-)
+    # echo " $device_name"
+  fi
+fi

+ 34 - 0
config/polybar/scripts/powermenu.sh

@@ -0,0 +1,34 @@
+#!/bin/bash
+# ~/.config/polybar/scripts/powermenu.sh
+
+# Иконки (Nerd Font)
+shutdown=" Выключение"
+reboot=" Перезагрузка"
+lock=" Блокировка"
+logout=" Выход"
+
+# Опции
+options="$shutdown\n$reboot\n$lock\n$logout"
+
+# Rofi
+selected=$(echo -e "$options" | rofi -dmenu -p "Система" -i -theme-str 'window {width: 20%;}')
+
+# Выполнение
+case "$selected" in
+    "$shutdown")
+        systemctl poweroff
+        ;;
+    "$reboot")
+        systemctl reboot
+        ;;
+    "$lock")
+        # [!] Замени 'betterlockscreen -l' на свою команду блокировки
+        betterlockscreen -l
+        ;;
+    "$logout")
+        # [!] Замени на команду выхода из твоего WM
+        # i3:     i3-msg exit
+        # bspwm:  bspc quit
+        bspc exit
+        ;;
+esac

+ 8 - 0
config/polybar/scripts/toggle_bluetooth.sh

@@ -0,0 +1,8 @@
+#!/bin/bash
+# ~/.config/polybar/scripts/toggle_bluetooth.sh
+
+if [ $(bluetoothctl show | grep "Powered: yes" | wc -c) -eq 0 ]; then
+  bluetoothctl power on
+else
+  bluetoothctl power off
+fi

+ 0 - 0
config/ranger/colorschemes/__init__.py


BIN
config/ranger/colorschemes/__pycache__/__init__.cpython-313.pyc


BIN
config/ranger/colorschemes/__pycache__/default.cpython-313.pyc


+ 188 - 0
config/ranger/colorschemes/default.py

@@ -0,0 +1,188 @@
+# This file is part of ranger, the console file manager.
+# License: GNU GPL version 3, see the file "AUTHORS" for details.
+
+from __future__ import absolute_import, division, print_function
+
+from ranger.gui.color import (BRIGHT, black, blue, bold, cyan, default,
+                              default_colors, dim, green, magenta, normal, red,
+                              reverse, white, yellow)
+from ranger.gui.colorscheme import ColorScheme
+
+
+class Default(ColorScheme):
+    progress_bar_color = blue
+
+    def use(self, context):
+        fg, bg, attr = default_colors
+
+        if context.reset:
+            return default_colors
+
+        elif context.in_browser:
+            if context.selected:
+                attr = reverse
+            else:
+                attr = normal
+            if context.empty or context.error:
+                bg = red
+            if context.border:
+                fg = blue
+            if context.document:
+                attr |= normal
+                fg = magenta
+            if context.media:
+                if context.image:
+                    fg = yellow
+                elif context.video:
+                    fg = red
+                elif context.audio:
+                    fg = green
+                else:
+                    fg = magenta
+            if context.container:
+                fg = red
+            if context.directory:
+                attr |= bold
+                fg = blue
+                fg += BRIGHT
+            elif context.executable and not \
+                    any((context.media, context.container,
+                         context.fifo, context.socket)):
+                attr |= bold
+                fg = green
+                fg += BRIGHT
+            if context.socket:
+                attr |= bold
+                fg = magenta
+                fg += BRIGHT
+            if context.fifo or context.device:
+                fg = yellow
+                if context.device:
+                    attr |= bold
+                    fg += BRIGHT
+            if context.link:
+                fg = cyan if context.good else magenta
+            if context.tag_marker and not context.selected:
+                attr |= bold
+                if fg in (red, magenta):
+                    fg = white
+                else:
+                    fg = red
+                fg += BRIGHT
+            if not context.selected and (context.cut or context.copied):
+                attr |= bold
+                fg = black
+                fg += BRIGHT
+                # If the terminal doesn't support bright colors, use dim white
+                # instead of black.
+                if BRIGHT == 0:
+                    attr |= dim
+                    fg = white
+            if context.main_column:
+                # Doubling up with BRIGHT here causes issues because it's
+                # additive not idempotent.
+                if context.selected:
+                    attr |= bold
+                if context.marked:
+                    attr |= bold
+                    fg = cyan
+            if context.badinfo:
+                if attr & reverse:
+                    bg = magenta
+                else:
+                    fg = magenta
+
+            if context.inactive_pane:
+                fg = cyan
+
+        elif context.in_titlebar:
+            if context.hostname:
+                fg = red if context.bad else green
+            elif context.directory:
+                fg = blue
+            elif context.tab:
+                if context.good:
+                    bg = green
+            elif context.link:
+                fg = blue
+            attr |= bold
+
+        elif context.in_statusbar:
+            if context.permissions:
+                if context.good:
+                    fg = cyan
+                elif context.bad:
+                    fg = magenta
+            if context.marked:
+                attr |= bold | reverse
+                fg = yellow
+                fg += BRIGHT
+            if context.frozen:
+                attr |= bold | reverse
+                fg = cyan
+                fg += BRIGHT
+            if context.message:
+                if context.bad:
+                    attr |= bold
+                    fg = red
+                    fg += BRIGHT
+            if context.loaded:
+                bg = self.progress_bar_color
+            if context.vcsinfo:
+                fg = blue
+                attr &= ~bold
+            if context.vcscommit:
+                fg = yellow
+                attr &= ~bold
+            if context.vcsdate:
+                fg = cyan
+                attr &= ~bold
+
+        if context.text:
+            if context.highlight:
+                attr |= reverse
+
+        if context.in_taskview:
+            if context.title:
+                fg = blue
+
+            if context.selected:
+                attr |= reverse
+
+            if context.loaded:
+                if context.selected:
+                    fg = self.progress_bar_color
+                else:
+                    bg = self.progress_bar_color
+
+        if context.vcsfile and not context.selected:
+            attr &= ~bold
+            if context.vcsconflict:
+                fg = magenta
+            elif context.vcsuntracked:
+                fg = cyan
+            elif context.vcschanged:
+                fg = red
+            elif context.vcsunknown:
+                fg = red
+            elif context.vcsstaged:
+                fg = green
+            elif context.vcssync:
+                fg = green
+            elif context.vcsignored:
+                fg = default
+
+        elif context.vcsremote and not context.selected:
+            attr &= ~bold
+            if context.vcssync or context.vcsnone:
+                fg = green
+            elif context.vcsbehind:
+                fg = red
+            elif context.vcsahead:
+                fg = blue
+            elif context.vcsdiverged:
+                fg = magenta
+            elif context.vcsunknown:
+                fg = red
+
+        return fg, bg, attr

+ 0 - 0
config/ranger/plugins/__init__.py


BIN
config/ranger/plugins/__pycache__/__init__.cpython-313.pyc


+ 674 - 0
config/ranger/plugins/ranger_devicons/LICENSE

@@ -0,0 +1,674 @@
+                    GNU GENERAL PUBLIC LICENSE
+                       Version 3, 29 June 2007
+
+ Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+                            Preamble
+
+  The GNU General Public License is a free, copyleft license for
+software and other kinds of works.
+
+  The licenses for most software and other practical works are designed
+to take away your freedom to share and change the works.  By contrast,
+the GNU General Public License is intended to guarantee your freedom to
+share and change all versions of a program--to make sure it remains free
+software for all its users.  We, the Free Software Foundation, use the
+GNU General Public License for most of our software; it applies also to
+any other work released this way by its authors.  You can apply it to
+your programs, too.
+
+  When we speak of free software, we are referring to freedom, not
+price.  Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+them if you wish), that you receive source code or can get it if you
+want it, that you can change the software or use pieces of it in new
+free programs, and that you know you can do these things.
+
+  To protect your rights, we need to prevent others from denying you
+these rights or asking you to surrender the rights.  Therefore, you have
+certain responsibilities if you distribute copies of the software, or if
+you modify it: responsibilities to respect the freedom of others.
+
+  For example, if you distribute copies of such a program, whether
+gratis or for a fee, you must pass on to the recipients the same
+freedoms that you received.  You must make sure that they, too, receive
+or can get the source code.  And you must show them these terms so they
+know their rights.
+
+  Developers that use the GNU GPL protect your rights with two steps:
+(1) assert copyright on the software, and (2) offer you this License
+giving you legal permission to copy, distribute and/or modify it.
+
+  For the developers' and authors' protection, the GPL clearly explains
+that there is no warranty for this free software.  For both users' and
+authors' sake, the GPL requires that modified versions be marked as
+changed, so that their problems will not be attributed erroneously to
+authors of previous versions.
+
+  Some devices are designed to deny users access to install or run
+modified versions of the software inside them, although the manufacturer
+can do so.  This is fundamentally incompatible with the aim of
+protecting users' freedom to change the software.  The systematic
+pattern of such abuse occurs in the area of products for individuals to
+use, which is precisely where it is most unacceptable.  Therefore, we
+have designed this version of the GPL to prohibit the practice for those
+products.  If such problems arise substantially in other domains, we
+stand ready to extend this provision to those domains in future versions
+of the GPL, as needed to protect the freedom of users.
+
+  Finally, every program is threatened constantly by software patents.
+States should not allow patents to restrict development and use of
+software on general-purpose computers, but in those that do, we wish to
+avoid the special danger that patents applied to a free program could
+make it effectively proprietary.  To prevent this, the GPL assures that
+patents cannot be used to render the program non-free.
+
+  The precise terms and conditions for copying, distribution and
+modification follow.
+
+                       TERMS AND CONDITIONS
+
+  0. Definitions.
+
+  "This License" refers to version 3 of the GNU General Public License.
+
+  "Copyright" also means copyright-like laws that apply to other kinds of
+works, such as semiconductor masks.
+
+  "The Program" refers to any copyrightable work licensed under this
+License.  Each licensee is addressed as "you".  "Licensees" and
+"recipients" may be individuals or organizations.
+
+  To "modify" a work means to copy from or adapt all or part of the work
+in a fashion requiring copyright permission, other than the making of an
+exact copy.  The resulting work is called a "modified version" of the
+earlier work or a work "based on" the earlier work.
+
+  A "covered work" means either the unmodified Program or a work based
+on the Program.
+
+  To "propagate" a work means to do anything with it that, without
+permission, would make you directly or secondarily liable for
+infringement under applicable copyright law, except executing it on a
+computer or modifying a private copy.  Propagation includes copying,
+distribution (with or without modification), making available to the
+public, and in some countries other activities as well.
+
+  To "convey" a work means any kind of propagation that enables other
+parties to make or receive copies.  Mere interaction with a user through
+a computer network, with no transfer of a copy, is not conveying.
+
+  An interactive user interface displays "Appropriate Legal Notices"
+to the extent that it includes a convenient and prominently visible
+feature that (1) displays an appropriate copyright notice, and (2)
+tells the user that there is no warranty for the work (except to the
+extent that warranties are provided), that licensees may convey the
+work under this License, and how to view a copy of this License.  If
+the interface presents a list of user commands or options, such as a
+menu, a prominent item in the list meets this criterion.
+
+  1. Source Code.
+
+  The "source code" for a work means the preferred form of the work
+for making modifications to it.  "Object code" means any non-source
+form of a work.
+
+  A "Standard Interface" means an interface that either is an official
+standard defined by a recognized standards body, or, in the case of
+interfaces specified for a particular programming language, one that
+is widely used among developers working in that language.
+
+  The "System Libraries" of an executable work include anything, other
+than the work as a whole, that (a) is included in the normal form of
+packaging a Major Component, but which is not part of that Major
+Component, and (b) serves only to enable use of the work with that
+Major Component, or to implement a Standard Interface for which an
+implementation is available to the public in source code form.  A
+"Major Component", in this context, means a major essential component
+(kernel, window system, and so on) of the specific operating system
+(if any) on which the executable work runs, or a compiler used to
+produce the work, or an object code interpreter used to run it.
+
+  The "Corresponding Source" for a work in object code form means all
+the source code needed to generate, install, and (for an executable
+work) run the object code and to modify the work, including scripts to
+control those activities.  However, it does not include the work's
+System Libraries, or general-purpose tools or generally available free
+programs which are used unmodified in performing those activities but
+which are not part of the work.  For example, Corresponding Source
+includes interface definition files associated with source files for
+the work, and the source code for shared libraries and dynamically
+linked subprograms that the work is specifically designed to require,
+such as by intimate data communication or control flow between those
+subprograms and other parts of the work.
+
+  The Corresponding Source need not include anything that users
+can regenerate automatically from other parts of the Corresponding
+Source.
+
+  The Corresponding Source for a work in source code form is that
+same work.
+
+  2. Basic Permissions.
+
+  All rights granted under this License are granted for the term of
+copyright on the Program, and are irrevocable provided the stated
+conditions are met.  This License explicitly affirms your unlimited
+permission to run the unmodified Program.  The output from running a
+covered work is covered by this License only if the output, given its
+content, constitutes a covered work.  This License acknowledges your
+rights of fair use or other equivalent, as provided by copyright law.
+
+  You may make, run and propagate covered works that you do not
+convey, without conditions so long as your license otherwise remains
+in force.  You may convey covered works to others for the sole purpose
+of having them make modifications exclusively for you, or provide you
+with facilities for running those works, provided that you comply with
+the terms of this License in conveying all material for which you do
+not control copyright.  Those thus making or running the covered works
+for you must do so exclusively on your behalf, under your direction
+and control, on terms that prohibit them from making any copies of
+your copyrighted material outside their relationship with you.
+
+  Conveying under any other circumstances is permitted solely under
+the conditions stated below.  Sublicensing is not allowed; section 10
+makes it unnecessary.
+
+  3. Protecting Users' Legal Rights From Anti-Circumvention Law.
+
+  No covered work shall be deemed part of an effective technological
+measure under any applicable law fulfilling obligations under article
+11 of the WIPO copyright treaty adopted on 20 December 1996, or
+similar laws prohibiting or restricting circumvention of such
+measures.
+
+  When you convey a covered work, you waive any legal power to forbid
+circumvention of technological measures to the extent such circumvention
+is effected by exercising rights under this License with respect to
+the covered work, and you disclaim any intention to limit operation or
+modification of the work as a means of enforcing, against the work's
+users, your or third parties' legal rights to forbid circumvention of
+technological measures.
+
+  4. Conveying Verbatim Copies.
+
+  You may convey verbatim copies of the Program's source code as you
+receive it, in any medium, provided that you conspicuously and
+appropriately publish on each copy an appropriate copyright notice;
+keep intact all notices stating that this License and any
+non-permissive terms added in accord with section 7 apply to the code;
+keep intact all notices of the absence of any warranty; and give all
+recipients a copy of this License along with the Program.
+
+  You may charge any price or no price for each copy that you convey,
+and you may offer support or warranty protection for a fee.
+
+  5. Conveying Modified Source Versions.
+
+  You may convey a work based on the Program, or the modifications to
+produce it from the Program, in the form of source code under the
+terms of section 4, provided that you also meet all of these conditions:
+
+    a) The work must carry prominent notices stating that you modified
+    it, and giving a relevant date.
+
+    b) The work must carry prominent notices stating that it is
+    released under this License and any conditions added under section
+    7.  This requirement modifies the requirement in section 4 to
+    "keep intact all notices".
+
+    c) You must license the entire work, as a whole, under this
+    License to anyone who comes into possession of a copy.  This
+    License will therefore apply, along with any applicable section 7
+    additional terms, to the whole of the work, and all its parts,
+    regardless of how they are packaged.  This License gives no
+    permission to license the work in any other way, but it does not
+    invalidate such permission if you have separately received it.
+
+    d) If the work has interactive user interfaces, each must display
+    Appropriate Legal Notices; however, if the Program has interactive
+    interfaces that do not display Appropriate Legal Notices, your
+    work need not make them do so.
+
+  A compilation of a covered work with other separate and independent
+works, which are not by their nature extensions of the covered work,
+and which are not combined with it such as to form a larger program,
+in or on a volume of a storage or distribution medium, is called an
+"aggregate" if the compilation and its resulting copyright are not
+used to limit the access or legal rights of the compilation's users
+beyond what the individual works permit.  Inclusion of a covered work
+in an aggregate does not cause this License to apply to the other
+parts of the aggregate.
+
+  6. Conveying Non-Source Forms.
+
+  You may convey a covered work in object code form under the terms
+of sections 4 and 5, provided that you also convey the
+machine-readable Corresponding Source under the terms of this License,
+in one of these ways:
+
+    a) Convey the object code in, or embodied in, a physical product
+    (including a physical distribution medium), accompanied by the
+    Corresponding Source fixed on a durable physical medium
+    customarily used for software interchange.
+
+    b) Convey the object code in, or embodied in, a physical product
+    (including a physical distribution medium), accompanied by a
+    written offer, valid for at least three years and valid for as
+    long as you offer spare parts or customer support for that product
+    model, to give anyone who possesses the object code either (1) a
+    copy of the Corresponding Source for all the software in the
+    product that is covered by this License, on a durable physical
+    medium customarily used for software interchange, for a price no
+    more than your reasonable cost of physically performing this
+    conveying of source, or (2) access to copy the
+    Corresponding Source from a network server at no charge.
+
+    c) Convey individual copies of the object code with a copy of the
+    written offer to provide the Corresponding Source.  This
+    alternative is allowed only occasionally and noncommercially, and
+    only if you received the object code with such an offer, in accord
+    with subsection 6b.
+
+    d) Convey the object code by offering access from a designated
+    place (gratis or for a charge), and offer equivalent access to the
+    Corresponding Source in the same way through the same place at no
+    further charge.  You need not require recipients to copy the
+    Corresponding Source along with the object code.  If the place to
+    copy the object code is a network server, the Corresponding Source
+    may be on a different server (operated by you or a third party)
+    that supports equivalent copying facilities, provided you maintain
+    clear directions next to the object code saying where to find the
+    Corresponding Source.  Regardless of what server hosts the
+    Corresponding Source, you remain obligated to ensure that it is
+    available for as long as needed to satisfy these requirements.
+
+    e) Convey the object code using peer-to-peer transmission, provided
+    you inform other peers where the object code and Corresponding
+    Source of the work are being offered to the general public at no
+    charge under subsection 6d.
+
+  A separable portion of the object code, whose source code is excluded
+from the Corresponding Source as a System Library, need not be
+included in conveying the object code work.
+
+  A "User Product" is either (1) a "consumer product", which means any
+tangible personal property which is normally used for personal, family,
+or household purposes, or (2) anything designed or sold for incorporation
+into a dwelling.  In determining whether a product is a consumer product,
+doubtful cases shall be resolved in favor of coverage.  For a particular
+product received by a particular user, "normally used" refers to a
+typical or common use of that class of product, regardless of the status
+of the particular user or of the way in which the particular user
+actually uses, or expects or is expected to use, the product.  A product
+is a consumer product regardless of whether the product has substantial
+commercial, industrial or non-consumer uses, unless such uses represent
+the only significant mode of use of the product.
+
+  "Installation Information" for a User Product means any methods,
+procedures, authorization keys, or other information required to install
+and execute modified versions of a covered work in that User Product from
+a modified version of its Corresponding Source.  The information must
+suffice to ensure that the continued functioning of the modified object
+code is in no case prevented or interfered with solely because
+modification has been made.
+
+  If you convey an object code work under this section in, or with, or
+specifically for use in, a User Product, and the conveying occurs as
+part of a transaction in which the right of possession and use of the
+User Product is transferred to the recipient in perpetuity or for a
+fixed term (regardless of how the transaction is characterized), the
+Corresponding Source conveyed under this section must be accompanied
+by the Installation Information.  But this requirement does not apply
+if neither you nor any third party retains the ability to install
+modified object code on the User Product (for example, the work has
+been installed in ROM).
+
+  The requirement to provide Installation Information does not include a
+requirement to continue to provide support service, warranty, or updates
+for a work that has been modified or installed by the recipient, or for
+the User Product in which it has been modified or installed.  Access to a
+network may be denied when the modification itself materially and
+adversely affects the operation of the network or violates the rules and
+protocols for communication across the network.
+
+  Corresponding Source conveyed, and Installation Information provided,
+in accord with this section must be in a format that is publicly
+documented (and with an implementation available to the public in
+source code form), and must require no special password or key for
+unpacking, reading or copying.
+
+  7. Additional Terms.
+
+  "Additional permissions" are terms that supplement the terms of this
+License by making exceptions from one or more of its conditions.
+Additional permissions that are applicable to the entire Program shall
+be treated as though they were included in this License, to the extent
+that they are valid under applicable law.  If additional permissions
+apply only to part of the Program, that part may be used separately
+under those permissions, but the entire Program remains governed by
+this License without regard to the additional permissions.
+
+  When you convey a copy of a covered work, you may at your option
+remove any additional permissions from that copy, or from any part of
+it.  (Additional permissions may be written to require their own
+removal in certain cases when you modify the work.)  You may place
+additional permissions on material, added by you to a covered work,
+for which you have or can give appropriate copyright permission.
+
+  Notwithstanding any other provision of this License, for material you
+add to a covered work, you may (if authorized by the copyright holders of
+that material) supplement the terms of this License with terms:
+
+    a) Disclaiming warranty or limiting liability differently from the
+    terms of sections 15 and 16 of this License; or
+
+    b) Requiring preservation of specified reasonable legal notices or
+    author attributions in that material or in the Appropriate Legal
+    Notices displayed by works containing it; or
+
+    c) Prohibiting misrepresentation of the origin of that material, or
+    requiring that modified versions of such material be marked in
+    reasonable ways as different from the original version; or
+
+    d) Limiting the use for publicity purposes of names of licensors or
+    authors of the material; or
+
+    e) Declining to grant rights under trademark law for use of some
+    trade names, trademarks, or service marks; or
+
+    f) Requiring indemnification of licensors and authors of that
+    material by anyone who conveys the material (or modified versions of
+    it) with contractual assumptions of liability to the recipient, for
+    any liability that these contractual assumptions directly impose on
+    those licensors and authors.
+
+  All other non-permissive additional terms are considered "further
+restrictions" within the meaning of section 10.  If the Program as you
+received it, or any part of it, contains a notice stating that it is
+governed by this License along with a term that is a further
+restriction, you may remove that term.  If a license document contains
+a further restriction but permits relicensing or conveying under this
+License, you may add to a covered work material governed by the terms
+of that license document, provided that the further restriction does
+not survive such relicensing or conveying.
+
+  If you add terms to a covered work in accord with this section, you
+must place, in the relevant source files, a statement of the
+additional terms that apply to those files, or a notice indicating
+where to find the applicable terms.
+
+  Additional terms, permissive or non-permissive, may be stated in the
+form of a separately written license, or stated as exceptions;
+the above requirements apply either way.
+
+  8. Termination.
+
+  You may not propagate or modify a covered work except as expressly
+provided under this License.  Any attempt otherwise to propagate or
+modify it is void, and will automatically terminate your rights under
+this License (including any patent licenses granted under the third
+paragraph of section 11).
+
+  However, if you cease all violation of this License, then your
+license from a particular copyright holder is reinstated (a)
+provisionally, unless and until the copyright holder explicitly and
+finally terminates your license, and (b) permanently, if the copyright
+holder fails to notify you of the violation by some reasonable means
+prior to 60 days after the cessation.
+
+  Moreover, your license from a particular copyright holder is
+reinstated permanently if the copyright holder notifies you of the
+violation by some reasonable means, this is the first time you have
+received notice of violation of this License (for any work) from that
+copyright holder, and you cure the violation prior to 30 days after
+your receipt of the notice.
+
+  Termination of your rights under this section does not terminate the
+licenses of parties who have received copies or rights from you under
+this License.  If your rights have been terminated and not permanently
+reinstated, you do not qualify to receive new licenses for the same
+material under section 10.
+
+  9. Acceptance Not Required for Having Copies.
+
+  You are not required to accept this License in order to receive or
+run a copy of the Program.  Ancillary propagation of a covered work
+occurring solely as a consequence of using peer-to-peer transmission
+to receive a copy likewise does not require acceptance.  However,
+nothing other than this License grants you permission to propagate or
+modify any covered work.  These actions infringe copyright if you do
+not accept this License.  Therefore, by modifying or propagating a
+covered work, you indicate your acceptance of this License to do so.
+
+  10. Automatic Licensing of Downstream Recipients.
+
+  Each time you convey a covered work, the recipient automatically
+receives a license from the original licensors, to run, modify and
+propagate that work, subject to this License.  You are not responsible
+for enforcing compliance by third parties with this License.
+
+  An "entity transaction" is a transaction transferring control of an
+organization, or substantially all assets of one, or subdividing an
+organization, or merging organizations.  If propagation of a covered
+work results from an entity transaction, each party to that
+transaction who receives a copy of the work also receives whatever
+licenses to the work the party's predecessor in interest had or could
+give under the previous paragraph, plus a right to possession of the
+Corresponding Source of the work from the predecessor in interest, if
+the predecessor has it or can get it with reasonable efforts.
+
+  You may not impose any further restrictions on the exercise of the
+rights granted or affirmed under this License.  For example, you may
+not impose a license fee, royalty, or other charge for exercise of
+rights granted under this License, and you may not initiate litigation
+(including a cross-claim or counterclaim in a lawsuit) alleging that
+any patent claim is infringed by making, using, selling, offering for
+sale, or importing the Program or any portion of it.
+
+  11. Patents.
+
+  A "contributor" is a copyright holder who authorizes use under this
+License of the Program or a work on which the Program is based.  The
+work thus licensed is called the contributor's "contributor version".
+
+  A contributor's "essential patent claims" are all patent claims
+owned or controlled by the contributor, whether already acquired or
+hereafter acquired, that would be infringed by some manner, permitted
+by this License, of making, using, or selling its contributor version,
+but do not include claims that would be infringed only as a
+consequence of further modification of the contributor version.  For
+purposes of this definition, "control" includes the right to grant
+patent sublicenses in a manner consistent with the requirements of
+this License.
+
+  Each contributor grants you a non-exclusive, worldwide, royalty-free
+patent license under the contributor's essential patent claims, to
+make, use, sell, offer for sale, import and otherwise run, modify and
+propagate the contents of its contributor version.
+
+  In the following three paragraphs, a "patent license" is any express
+agreement or commitment, however denominated, not to enforce a patent
+(such as an express permission to practice a patent or covenant not to
+sue for patent infringement).  To "grant" such a patent license to a
+party means to make such an agreement or commitment not to enforce a
+patent against the party.
+
+  If you convey a covered work, knowingly relying on a patent license,
+and the Corresponding Source of the work is not available for anyone
+to copy, free of charge and under the terms of this License, through a
+publicly available network server or other readily accessible means,
+then you must either (1) cause the Corresponding Source to be so
+available, or (2) arrange to deprive yourself of the benefit of the
+patent license for this particular work, or (3) arrange, in a manner
+consistent with the requirements of this License, to extend the patent
+license to downstream recipients.  "Knowingly relying" means you have
+actual knowledge that, but for the patent license, your conveying the
+covered work in a country, or your recipient's use of the covered work
+in a country, would infringe one or more identifiable patents in that
+country that you have reason to believe are valid.
+
+  If, pursuant to or in connection with a single transaction or
+arrangement, you convey, or propagate by procuring conveyance of, a
+covered work, and grant a patent license to some of the parties
+receiving the covered work authorizing them to use, propagate, modify
+or convey a specific copy of the covered work, then the patent license
+you grant is automatically extended to all recipients of the covered
+work and works based on it.
+
+  A patent license is "discriminatory" if it does not include within
+the scope of its coverage, prohibits the exercise of, or is
+conditioned on the non-exercise of one or more of the rights that are
+specifically granted under this License.  You may not convey a covered
+work if you are a party to an arrangement with a third party that is
+in the business of distributing software, under which you make payment
+to the third party based on the extent of your activity of conveying
+the work, and under which the third party grants, to any of the
+parties who would receive the covered work from you, a discriminatory
+patent license (a) in connection with copies of the covered work
+conveyed by you (or copies made from those copies), or (b) primarily
+for and in connection with specific products or compilations that
+contain the covered work, unless you entered into that arrangement,
+or that patent license was granted, prior to 28 March 2007.
+
+  Nothing in this License shall be construed as excluding or limiting
+any implied license or other defenses to infringement that may
+otherwise be available to you under applicable patent law.
+
+  12. No Surrender of Others' Freedom.
+
+  If conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License.  If you cannot convey a
+covered work so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you may
+not convey it at all.  For example, if you agree to terms that obligate you
+to collect a royalty for further conveying from those to whom you convey
+the Program, the only way you could satisfy both those terms and this
+License would be to refrain entirely from conveying the Program.
+
+  13. Use with the GNU Affero General Public License.
+
+  Notwithstanding any other provision of this License, you have
+permission to link or combine any covered work with a work licensed
+under version 3 of the GNU Affero General Public License into a single
+combined work, and to convey the resulting work.  The terms of this
+License will continue to apply to the part which is the covered work,
+but the special requirements of the GNU Affero General Public License,
+section 13, concerning interaction through a network will apply to the
+combination as such.
+
+  14. Revised Versions of this License.
+
+  The Free Software Foundation may publish revised and/or new versions of
+the GNU General Public License from time to time.  Such new versions will
+be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+  Each version is given a distinguishing version number.  If the
+Program specifies that a certain numbered version of the GNU General
+Public License "or any later version" applies to it, you have the
+option of following the terms and conditions either of that numbered
+version or of any later version published by the Free Software
+Foundation.  If the Program does not specify a version number of the
+GNU General Public License, you may choose any version ever published
+by the Free Software Foundation.
+
+  If the Program specifies that a proxy can decide which future
+versions of the GNU General Public License can be used, that proxy's
+public statement of acceptance of a version permanently authorizes you
+to choose that version for the Program.
+
+  Later license versions may give you additional or different
+permissions.  However, no additional obligations are imposed on any
+author or copyright holder as a result of your choosing to follow a
+later version.
+
+  15. Disclaimer of Warranty.
+
+  THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
+APPLICABLE LAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
+HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
+OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
+THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+PURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
+IS WITH YOU.  SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
+ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
+
+  16. Limitation of Liability.
+
+  IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
+THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
+GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
+USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
+DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
+PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
+EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGES.
+
+  17. Interpretation of Sections 15 and 16.
+
+  If the disclaimer of warranty and limitation of liability provided
+above cannot be given local legal effect according to their terms,
+reviewing courts shall apply local law that most closely approximates
+an absolute waiver of all civil liability in connection with the
+Program, unless a warranty or assumption of liability accompanies a
+copy of the Program in return for a fee.
+
+                     END OF TERMS AND CONDITIONS
+
+            How to Apply These Terms to Your New Programs
+
+  If you develop a new program, and you want it to be of the greatest
+possible use to the public, the best way to achieve this is to make it
+free software which everyone can redistribute and change under these terms.
+
+  To do so, attach the following notices to the program.  It is safest
+to attach them to the start of each source file to most effectively
+state the exclusion of warranty; and each file should have at least
+the "copyright" line and a pointer to where the full notice is found.
+
+    <one line to give the program's name and a brief idea of what it does.>
+    Copyright (C) <year>  <name of author>
+
+    This program is free software: you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation, either version 3 of the License, or
+    (at your option) any later version.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with this program.  If not, see <http://www.gnu.org/licenses/>.
+
+Also add information on how to contact you by electronic and paper mail.
+
+  If the program does terminal interaction, make it output a short
+notice like this when it starts in an interactive mode:
+
+    <program>  Copyright (C) <year>  <name of author>
+    This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
+    This is free software, and you are welcome to redistribute it
+    under certain conditions; type `show c' for details.
+
+The hypothetical commands `show w' and `show c' should show the appropriate
+parts of the General Public License.  Of course, your program's commands
+might be different; for a GUI interface, you would use an "about box".
+
+  You should also get your employer (if you work as a programmer) or school,
+if any, to sign a "copyright disclaimer" for the program, if necessary.
+For more information on this, and how to apply and follow the GNU GPL, see
+<http://www.gnu.org/licenses/>.
+
+  The GNU General Public License does not permit incorporating your program
+into proprietary programs.  If your program is a subroutine library, you
+may consider it more useful to permit linking proprietary applications with
+the library.  If this is what you want to do, use the GNU Lesser General
+Public License instead of this License.  But first, please read
+<http://www.gnu.org/philosophy/why-not-lgpl.html>.

+ 22 - 0
config/ranger/plugins/ranger_devicons/LICENSE_NERDFONT

@@ -0,0 +1,22 @@
+The MIT License (MIT)
+
+Copyright (c) 2014 Ryan L McIntyre
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+

+ 22 - 0
config/ranger/plugins/ranger_devicons/README.md

@@ -0,0 +1,22 @@
+# File icons for the Ranger file manager
+
+This plugin introduces a new linemode that prefixes file names with a file icon
+
+![image](screenshot.png)
+
+## Prerequisites
+This plugin uses glyphs from a patched NERDfont. So in order for this plugin to work you need to
+install a NERDfont and set it as the default font for your terminal.
+
+I personally use the Source Code Pro patched NERDfont(this is also the font displayed in the
+screenshot), this and other NERDfonts and the install instructions for these fonts can be found in
+the following repository: https://github.com/ryanoasis/nerd-fonts
+
+## Install instructions
+Ranger has added support for loading directories in the plugins folder which makes it easier to install and keep plugins updated.
+To install, just clone the repo into the plugins folder:
+```bash
+git clone https://github.com/alexanderjeurissen/ranger_devicons ~/.config/ranger/plugins/ranger_devicons
+```
+
+Then execute the following `echo "default_linemode devicons" >> $HOME/.config/ranger/rc.conf` (or wherever your `rc.conf` is located).

+ 19 - 0
config/ranger/plugins/ranger_devicons/__init__.py

@@ -0,0 +1,19 @@
+import ranger.api
+from ranger.core.linemode import LinemodeBase
+from .devicons import *
+
+@ranger.api.register_linemode
+class DevIconsLinemode(LinemodeBase):
+  name = "devicons"
+
+  uses_metadata = False
+
+  def filetitle(self, file, metadata):
+    return devicon(file) + ' ' + file.relative_path
+
+@ranger.api.register_linemode
+class DevIconsLinemodeFile(LinemodeBase):
+  name = "filename"
+
+  def filetitle(self, file, metadata):
+    return devicon(file) + ' ' + file.relative_path

BIN
config/ranger/plugins/ranger_devicons/__pycache__/__init__.cpython-313.pyc


BIN
config/ranger/plugins/ranger_devicons/__pycache__/devicons.cpython-313.pyc


+ 363 - 0
config/ranger/plugins/ranger_devicons/devicons.py

@@ -0,0 +1,363 @@
+#!/usr/bin/python
+# coding=UTF-8
+# These glyphs, and the mapping of file extensions to glyphs
+# has been copied from the vimscript code that is present in
+# https://github.com/ryanoasis/vim-devicons
+import re;
+import os;
+
+# all those glyphs will show as weird squares if you don't have the correct patched font
+# My advice is to use NerdFonts which can be found here:
+# https://github.com/ryanoasis/nerd-fonts
+file_node_extensions = {
+    '7z'       : '',
+    'a'        : '',
+    'ai'       : '',
+    'apk'      : '',
+    'asm'      : '',
+    'asp'      : '',
+    'aup'      : '',
+    'avi'      : '',
+    'awk'      : '',
+    'bash'     : '',
+    'bat'      : '',
+    'bmp'      : '',
+    'bz2'      : '',
+    'c'        : '',
+    'c++'      : '',
+    'cab'      : '',
+    'cbr'      : '',
+    'cbz'      : '',
+    'cc'       : '',
+    'class'    : '',
+    'clj'      : '',
+    'cljc'     : '',
+    'cljs'     : '',
+    'cmake'    : '',
+    'coffee'   : '',
+    'conf'     : '',
+    'cp'       : '',
+    'cpio'     : '',
+    'cpp'      : '',
+    'cs'       : '',
+    'csh'      : '',
+    'css'      : '',
+    'cue'      : '',
+    'cvs'      : '',
+    'cxx'      : '',
+    'd'        : '',
+    'dart'     : '',
+    'db'       : '',
+    'deb'      : '',
+    'diff'     : '',
+    'dll'      : '',
+    'doc'      : '',
+    'docx'     : '',
+    'dump'     : '',
+    'edn'      : '',
+    'eex'      : '',
+    'efi'      : '',
+    'ejs'      : '',
+    'elf'      : '',
+    'elm'      : '',
+    'epub'     : '',
+    'erl'      : '',
+    'ex'       : '',
+    'exe'      : '',
+    'exs'      : '',
+    'f#'       : '',
+    'fifo'     : '|',
+    'fish'     : '',
+    'flac'     : '',
+    'flv'      : '',
+    'fs'       : '',
+    'fsi'      : '',
+    'fsscript' : '',
+    'fsx'      : '',
+    'gem'      : '',
+    'gemspec'  : '',
+    'gif'      : '',
+    'go'       : '',
+    'gz'       : '',
+    'gzip'     : '',
+    'h'        : '',
+    'haml'     : '',
+    'hbs'      : '',
+    'hh'       : '',
+    'hpp'      : '',
+    'hrl'      : '',
+    'hs'       : '',
+    'htaccess' : '',
+    'htm'      : '',
+    'html'     : '',
+    'htpasswd' : '',
+    'hxx'      : '',
+    'ico'      : '',
+    'img'      : '',
+    'ini'      : '',
+    'iso'      : '',
+    'jar'      : '',
+    'java'     : '',
+    'jl'       : '',
+    'jpeg'     : '',
+    'jpg'      : '',
+    'js'       : '',
+    'json'     : '',
+    'jsx'      : '',
+    'key'      : '',
+    'ksh'      : '',
+    'leex'     : '',
+    'less'     : '',
+    'lha'      : '',
+    'lhs'      : '',
+    'log'      : '',
+    'lua'      : '',
+    'lzh'      : '',
+    'lzma'     : '',
+    'm4a'      : '',
+    'm4v'      : '',
+    'markdown' : '',
+    'md'       : '',
+    'mdx'      : '',
+    'mjs'      : '',
+    'mkv'      : '',
+    'ml'       : 'λ',
+    'mli'      : 'λ',
+    'mov'      : '',
+    'mp3'      : '',
+    'mp4'      : '',
+    'mpeg'     : '',
+    'mpg'      : '',
+    'msi'      : '',
+    'mustache' : '',
+    'nix'      : '',
+    'o'        : '',
+    'ogg'      : '',
+    'pdf'      : '',
+    'php'      : '',
+    'pl'       : '',
+    'pm'       : '',
+    'png'      : '',
+    'pp'       : '',
+    'ppt'      : '',
+    'pptx'     : '',
+    'ps1'      : '',
+    'psb'      : '',
+    'psd'      : '',
+    'pub'      : '',
+    'py'       : '',
+    'pyc'      : '',
+    'pyd'      : '',
+    'pyo'      : '',
+    'r'        : 'ﳒ',
+    'rake'     : '',
+    'rar'      : '',
+    'rb'       : '',
+    'rc'       : '',
+    'rlib'     : '',
+    'rmd'      : '',
+    'rom'      : '',
+    'rpm'      : '',
+    'rproj'    : '鉶',
+    'rs'       : '',
+    'rss'      : '',
+    'rtf'      : '',
+    's'        : '',
+    'sass'     : '',
+    'scala'    : '',
+    'scss'     : '',
+    'sh'       : '',
+    'slim'     : '',
+    'sln'      : '',
+    'so'       : '',
+    'sql'      : '',
+    'styl'     : '',
+    'suo'      : '',
+    'swift'    : '',
+    't'        : '',
+    'tar'      : '',
+    'tex'      : 'ﭨ',
+    'tgz'      : '',
+    'toml'     : '',
+    'ts'       : '',
+    'tsx'      : '',
+    'twig'     : '',
+    'vim'      : '',
+    'vimrc'    : '',
+    'vue'      : '﵂',
+    'wav'      : '',
+    'webm'     : '',
+    'webmanifest' : '',
+    'webp'     : '',
+    'xbps'     : '',
+    'xcplayground' : '',
+    'xhtml'    : '',
+    'xls'      : '',
+    'xlsx'     : '',
+    'xml'      : '',
+    'xul'      : '',
+    'xz'       : '',
+    'yaml'     : '',
+    'yml'      : '',
+    'zip'      : '',
+    'zsh'      : '',
+}
+
+dir_node_exact_matches = {
+# English
+    '.git'                             : '',
+    'Desktop'                          : '',
+    'Documents'                        : '',
+    'Downloads'                        : '',
+    'Dotfiles'                         : '',
+    'Dropbox'                          : '',
+    'Music'                            : '',
+    'Pictures'                         : '',
+    'Public'                           : '',
+    'Templates'                        : '',
+    'Videos'                           : '',
+# Spanish
+    'Escritorio'                       : '',
+    'Documentos'                       : '',
+    'Descargas'                        : '',
+    'Música'                           : '',
+    'Imágenes'                         : '',
+    'Público'                          : '',
+    'Plantillas'                       : '',
+    'Vídeos'                           : '',
+# French
+    'Bureau'                           : '',
+    'Documents'                        : '',
+    'Images'                           : '',
+    'Musique'                          : '',
+    'Publique'                         : '',
+    'Téléchargements'                  : '',
+    'Vidéos'                           : '',
+# Portuguese
+    'Documentos'                       : '',
+    'Imagens'                          : '',
+    'Modelos'                          : '',
+    'Música'                           : '',
+    'Público'                          : '',
+    'Vídeos'                           : '',
+    'Área de trabalho'                 : '',
+# Italian
+    'Documenti'                        : '',
+    'Immagini'                         : '',
+    'Modelli'                          : '',
+    'Musica'                           : '',
+    'Pubblici'                         : '',
+    'Scaricati'                        : '',
+    'Scrivania'                        : '',
+    'Video'                            : '',
+# German
+    'Bilder'                           : '',
+    'Dokumente'                        : '',
+    'Musik'                            : '',
+    'Schreibtisch'                     : '',
+    'Vorlagen'                         : '',
+    'Öffentlich'                       : '',
+# Hungarian
+    'Dokumentumok'                     : '',
+    'Képek'                            : '',
+    'Modelli'                          : '',
+    'Zene'                             : '',
+    'Letöltések'                       : '',
+    'Számítógép'                       : '',
+    'Videók'                           : '',
+}
+
+file_node_exact_matches = {
+    '.bash_aliases'                    : '',
+    '.bash_history'                    : '',
+    '.bash_logout'                     : '',
+    '.bash_profile'                    : '',
+    '.bashprofile'                     : '',
+    '.bashrc'                          : '',
+    '.dmrc'                            : '',
+    '.DS_Store'                        : '',
+    '.fasd'                            : '',
+    '.fehbg'                           : '',
+    '.gitattributes'                   : '',
+    '.gitconfig'                       : '',
+    '.gitignore'                       : '',
+    '.gitlab-ci.yml'                   : '',
+    '.gvimrc'                          : '',
+    '.inputrc'                         : '',
+    '.jack-settings'                   : '',
+    '.mime.types'                      : '',
+    '.ncmpcpp'                         : '',
+    '.nvidia-settings-rc'              : '',
+    '.pam_environment'                 : '',
+    '.profile'                         : '',
+    '.recently-used'                   : '',
+    '.selected_editor'                 : '',
+    '.vim'                             : '',
+    '.viminfo'                         : '',
+    '.vimrc'                           : '',
+    '.Xauthority'                      : '',
+    '.Xdefaults'                       : '',
+    '.xinitrc'                         : '',
+    '.xinputrc'                        : '',
+    '.Xresources'                      : '',
+    '.zshrc'                           : '',
+    '_gvimrc'                          : '',
+    '_vimrc'                           : '',
+    'a.out'                            : '',
+    'authorized_keys'                  : '',
+    'bspwmrc'                          : '',
+    'cmakelists.txt'                   : '',
+    'config'                           : '',
+    'config.ac'                        : '',
+    'config.m4'                        : '',
+    'config.mk'                        : '',
+    'config.ru'                        : '',
+    'configure'                        : '',
+    'docker-compose.yml'               : '',
+    'dockerfile'                       : '',
+    'Dockerfile'                       : '',
+    'dropbox'                          : '',
+    'exact-match-case-sensitive-1.txt' : 'X1',
+    'exact-match-case-sensitive-2'     : 'X2',
+    'favicon.ico'                      : '',
+    'gemfile'                          : '',
+    'gruntfile.coffee'                 : '',
+    'gruntfile.js'                     : '',
+    'gruntfile.ls'                     : '',
+    'gulpfile.coffee'                  : '',
+    'gulpfile.js'                      : '',
+    'gulpfile.ls'                      : '',
+    'ini'                              : '',
+    'known_hosts'                      : '',
+    'ledger'                           : '',
+    'license'                          : '',
+    'LICENSE'                          : '',
+    'LICENSE.md'                       : '',
+    'LICENSE.txt'                      : '',
+    'Makefile'                         : '',
+    'makefile'                         : '',
+    'Makefile.ac'                      : '',
+    'Makefile.in'                      : '',
+    'mimeapps.list'                    : '',
+    'mix.lock'                         : '',
+    'node_modules'                     : '',
+    'package-lock.json'                : '',
+    'package.json'                     : '',
+    'playlists'                        : '',
+    'procfile'                         : '',
+    'Rakefile'                         : '',
+    'rakefile'                         : '',
+    'react.jsx'                        : '',
+    'README'                           : '',
+    'README.markdown'                  : '',
+    'README.md'                        : '',
+    'README.rst'                       : '',
+    'README.txt'                       : '',
+    'sxhkdrc'                          : '',
+    'user-dirs.dirs'                   : '',
+    'webpack.config.js'                : '',
+}
+
+def devicon(file):
+  if file.is_directory: return dir_node_exact_matches.get(file.relative_path, '')
+  return file_node_exact_matches.get(os.path.basename(file.relative_path), file_node_extensions.get(file.extension, ''))

+ 524 - 0
config/ranger/rc.conf

@@ -0,0 +1,524 @@
+set viewmode miller
+set column_ratios 1,3,4
+set hidden_filter ^\.|\.(?:pyc|pyo|bak|swp)$|^lost\+found$|^__(py)?cache__$
+set show_hidden false
+set confirm_on_delete multiple
+set use_preview_script true
+set preview_script ~/.config/ranger/scope.sh
+set automatically_count_files true
+set open_all_images true
+set vcs_aware false
+set vcs_backend_git enabled
+set vcs_backend_hg disabled
+set vcs_backend_bzr disabled
+set vcs_backend_svn disabled
+set vcs_msg_length 50
+set preview_images true
+set preview_images_method ueberzug
+set w3m_delay 0.02
+set w3m_offset 0
+set iterm2_font_width 8
+set iterm2_font_height 11
+set unicode_ellipsis false
+set bidi_support false
+set show_hidden_bookmarks true
+set colorscheme default
+set preview_files true
+set preview_directories true
+set collapse_preview true
+set wrap_plaintext_previews false
+set save_console_history true
+set status_bar_on_top true
+set draw_progress_bar_in_status_bar true
+set dirname_in_tabs false
+set mouse_enabled true
+set display_size_in_main_column true
+set display_size_in_status_bar true
+set display_free_space_in_status_bar true
+set display_tags_in_all_columns true
+set update_title false
+set update_tmux_title true
+set shorten_title 3
+set hostname_in_titlebar true
+set tilde_in_titlebar false
+set max_history_size 20
+# Try to keep so much space between the top/bottom border when scrolling:
+set scroll_offset 8
+
+# Flush the input after each key hit?  (Noticeable when ranger lags)
+set flushinput true
+
+# Padding on the right when there's no preview?
+# This allows you to click into the space to run the file.
+set padding_right true
+
+# Save bookmarks (used with mX and `X) instantly?
+# This helps to synchronize bookmarks between multiple ranger
+# instances but leads to *slight* performance loss.
+# When false, bookmarks are saved when ranger is exited.
+set autosave_bookmarks true
+
+set save_backtick_bookmark true
+set autoupdate_cumulative_size false
+set show_cursor false
+set sort natural
+set sort_reverse false
+set sort_case_insensitive true
+set sort_directories_first true
+set sort_unicode false
+set xterm_alt_key false
+set cd_bookmarks true
+set cd_tab_case sensitive
+set cd_tab_fuzzy false
+set preview_max_size 0
+set hint_collapse_threshold 10
+set show_selection_in_titlebar true
+set metadata_deep_search false
+set clear_filters_on_dir_change false
+set relative_current_zero false
+set one_indexed false
+set save_tabs_on_exit false
+set wrap_scroll false
+set global_inode_type_filter
+set freeze_files false
+set size_in_bytes false
+set nested_ranger_warning true
+
+alias e     edit
+alias q     quit
+alias q!    quit!
+alias qa    quitall
+alias qa!   quitall!
+alias qall  quitall
+alias qall! quitall!
+alias setl  setlocal
+
+alias filter     scout -prts
+alias hide       scout -prtsv
+alias find       scout -aets
+alias mark       scout -mr
+alias unmark     scout -Mr
+alias search     scout -rs
+alias search_inc scout -rts
+alias travel     scout -aefklst
+
+# ==================================================================
+# == Define keys for the browser
+# ===================================================================
+
+# Basic
+map     Q quitall
+map     q quit
+copymap q ZZ ZQ
+
+map R     reload_cwd
+map F     set freeze_files!
+map <C-r> reset
+map <C-l> redraw_window
+map <C-c> abort
+map <esc> change_mode normal
+map ~ set viewmode!
+
+map i display_file
+map <A-j> scroll_preview 1
+map <A-k> scroll_preview -1
+map ? help
+map W display_log
+map w taskview_open
+map S shell $SHELL
+
+map :  console
+map ;  console
+map !  console shell%space
+map @  console -p6 shell  %%s
+map #  console shell -p%space
+map s  console shell%space
+map r  chain draw_possible_programs; console open_with%space
+map f  console find%space
+map cd console cd%space
+
+map <C-p> chain console; eval fm.ui.console.history_move(-1)
+
+# Change the line mode
+map Mf linemode filename
+map Mi linemode fileinfo
+map Mm linemode mtime
+map Mh linemode humanreadablemtime
+map Mp linemode permissions
+map Ms linemode sizemtime
+map MH linemode sizehumanreadablemtime
+map Mt linemode metatitle
+
+# Tagging / Marking
+map t       tag_toggle
+map ut      tag_remove
+map "<any>  tag_toggle tag=%any
+map <Space> mark_files toggle=True
+map v       mark_files all=True toggle=True
+map uv      mark_files all=True val=False
+map V       toggle_visual_mode
+map uV      toggle_visual_mode reverse=True
+
+# For the nostalgics: Midnight Commander bindings
+map <F1> help
+map <F2> rename_append
+map <F3> display_file
+map <F4> edit
+map <F5> copy
+map <F6> cut
+map <F7> console mkdir%space
+map <F8> console delete
+#map <F8> console trash
+map <F10> exit
+
+# In case you work on a keyboard with dvorak layout
+map <UP>       move up=1
+map <DOWN>     move down=1
+map <LEFT>     move left=1
+map <RIGHT>    move right=1
+map <HOME>     move to=0
+map <END>      move to=-1
+map <PAGEDOWN> move down=1   pages=True
+map <PAGEUP>   move up=1     pages=True
+map <CR>       move right=1
+#map <DELETE>   console delete
+map <INSERT>   console touch%space
+
+# VIM-like
+copymap <UP>       k
+copymap <DOWN>     j
+copymap <LEFT>     h
+copymap <RIGHT>    l
+copymap <HOME>     gg
+copymap <END>      G
+copymap <PAGEDOWN> <C-F>
+copymap <PAGEUP>   <C-B>
+
+map J  move down=0.5  pages=True
+map K  move up=0.5    pages=True
+copymap J <C-D>
+copymap K <C-U>
+
+# Jumping around
+map H     history_go -1
+map L     history_go 1
+map ]     move_parent 1
+map [     move_parent -1
+map }     traverse
+map {     traverse_backwards
+map )     jump_non
+
+map gh cd ~
+map ge cd /etc
+map gu cd /usr
+map gd cd /dev
+map gl cd -r .
+map gL cd -r %f
+map go cd /opt
+map gv cd /var
+map gm cd /media
+map gi eval fm.cd('/run/media/' + os.getenv('USER'))
+map gM cd /mnt
+map gs cd /srv
+map gp cd /tmp
+map gr cd /
+map gR eval fm.cd(ranger.RANGERDIR)
+map g/ cd /
+map g? cd /usr/share/doc/ranger
+
+# External Programs
+map E  edit
+map du shell -p du --max-depth=1 -h --apparent-size
+map dU shell -p du --max-depth=1 -h --apparent-size | sort -rh
+map yp yank path
+map yd yank dir
+map yn yank name
+map y. yank name_without_extension
+
+# Filesystem Operations
+map =  chmod
+
+map cw console rename%space
+map a  rename_append
+map A  eval fm.open_console('rename ' + fm.thisfile.relative_path.replace("%", "%%"))
+map I  eval fm.open_console('rename ' + fm.thisfile.relative_path.replace("%", "%%"), position=7)
+
+map pp paste
+map po paste overwrite=True
+map pP paste append=True
+map pO paste overwrite=True append=True
+map pl paste_symlink relative=False
+map pL paste_symlink relative=True
+map phl paste_hardlink
+map pht paste_hardlinked_subtree
+map pd console paste dest=
+map p`<any> paste dest=%any_path
+map p'<any> paste dest=%any_path
+
+map dD console delete
+map dT console trash
+
+map dd cut
+map ud uncut
+map da cut mode=add
+map dr cut mode=remove
+map dt cut mode=toggle
+
+map yy copy
+map uy uncut
+map ya copy mode=add
+map yr copy mode=remove
+map yt copy mode=toggle
+
+# Temporary workarounds
+map dgg eval fm.cut(dirarg=dict(to=0), narg=quantifier)
+map dG  eval fm.cut(dirarg=dict(to=-1), narg=quantifier)
+map dj  eval fm.cut(dirarg=dict(down=1), narg=quantifier)
+map dk  eval fm.cut(dirarg=dict(up=1), narg=quantifier)
+map ygg eval fm.copy(dirarg=dict(to=0), narg=quantifier)
+map yG  eval fm.copy(dirarg=dict(to=-1), narg=quantifier)
+map yj  eval fm.copy(dirarg=dict(down=1), narg=quantifier)
+map yk  eval fm.copy(dirarg=dict(up=1), narg=quantifier)
+
+# Searching
+map /  console search%space
+map n  search_next
+map N  search_next forward=False
+map ct search_next order=tag
+map cs search_next order=size
+map ci search_next order=mimetype
+map cc search_next order=ctime
+map cm search_next order=mtime
+map ca search_next order=atime
+
+# Tabs
+map <C-n>     tab_new
+map <C-w>     tab_close
+map <TAB>     tab_move 1
+map <S-TAB>   tab_move -1
+map <A-Right> tab_move 1
+map <A-Left>  tab_move -1
+map gt        tab_move 1
+map gT        tab_move -1
+map gn        tab_new
+map gc        tab_close
+map uq        tab_restore
+map <a-1>     tab_open 1
+map <a-2>     tab_open 2
+map <a-3>     tab_open 3
+map <a-4>     tab_open 4
+map <a-5>     tab_open 5
+map <a-6>     tab_open 6
+map <a-7>     tab_open 7
+map <a-8>     tab_open 8
+map <a-9>     tab_open 9
+map <a-r>     tab_shift 1
+map <a-l>     tab_shift -1
+
+# Sorting
+map or set sort_reverse!
+map oz set sort=random
+map os chain set sort=size;      set sort_reverse=False
+map ob chain set sort=basename;  set sort_reverse=False
+map on chain set sort=natural;   set sort_reverse=False
+map om chain set sort=mtime;     set sort_reverse=False
+map oc chain set sort=ctime;     set sort_reverse=False
+map oa chain set sort=atime;     set sort_reverse=False
+map ot chain set sort=type;      set sort_reverse=False
+map oe chain set sort=extension; set sort_reverse=False
+
+map oS chain set sort=size;      set sort_reverse=True
+map oB chain set sort=basename;  set sort_reverse=True
+map oN chain set sort=natural;   set sort_reverse=True
+map oM chain set sort=mtime;     set sort_reverse=True
+map oC chain set sort=ctime;     set sort_reverse=True
+map oA chain set sort=atime;     set sort_reverse=True
+map oT chain set sort=type;      set sort_reverse=True
+map oE chain set sort=extension; set sort_reverse=True
+
+map dc get_cumulative_size
+
+# Settings
+map zc    set collapse_preview!
+map zd    set sort_directories_first!
+map zh    set show_hidden!
+map <C-h> set show_hidden!
+copymap <C-h> <backspace>
+copymap <backspace> <backspace2>
+map zI    set flushinput!
+map zi    set preview_images!
+map zm    set mouse_enabled!
+map zp    set preview_files!
+map zP    set preview_directories!
+map zs    set sort_case_insensitive!
+map zu    set autoupdate_cumulative_size!
+map zv    set use_preview_script!
+map zf    console filter%space
+copymap zf zz
+
+# Filter stack
+map .d filter_stack add type d
+map .f filter_stack add type f
+map .l filter_stack add type l
+map .m console filter_stack add mime%space
+map .n console filter_stack add name%space
+map .# console filter_stack add hash%space
+map ." filter_stack add duplicate
+map .' filter_stack add unique
+map .| filter_stack add or
+map .& filter_stack add and
+map .! filter_stack add not
+map .r filter_stack rotate
+map .c filter_stack clear
+map .* filter_stack decompose
+map .p filter_stack pop
+map .. filter_stack show
+
+# Bookmarks
+map `<any>  enter_bookmark %any
+map '<any>  enter_bookmark %any
+map m<any>  set_bookmark %any
+map um<any> unset_bookmark %any
+
+map m<bg>   draw_bookmarks
+copymap m<bg>  um<bg> `<bg> '<bg> p`<bg> p'<bg>
+
+# Generate all the chmod bindings with some python help:
+eval for arg in "rwxXst": cmd("map +u{0} shell -f chmod u+{0} %s".format(arg))
+eval for arg in "rwxXst": cmd("map +g{0} shell -f chmod g+{0} %s".format(arg))
+eval for arg in "rwxXst": cmd("map +o{0} shell -f chmod o+{0} %s".format(arg))
+eval for arg in "rwxXst": cmd("map +a{0} shell -f chmod a+{0} %s".format(arg))
+eval for arg in "rwxXst": cmd("map +{0}  shell -f chmod u+{0} %s".format(arg))
+
+eval for arg in "rwxXst": cmd("map -u{0} shell -f chmod u-{0} %s".format(arg))
+eval for arg in "rwxXst": cmd("map -g{0} shell -f chmod g-{0} %s".format(arg))
+eval for arg in "rwxXst": cmd("map -o{0} shell -f chmod o-{0} %s".format(arg))
+eval for arg in "rwxXst": cmd("map -a{0} shell -f chmod a-{0} %s".format(arg))
+eval for arg in "rwxXst": cmd("map -{0}  shell -f chmod u-{0} %s".format(arg))
+
+# ===================================================================
+# == Define keys for the console
+# ===================================================================
+# Note: Unmapped keys are passed directly to the console.
+
+# Basic
+cmap <tab>   eval fm.ui.console.tab()
+cmap <s-tab> eval fm.ui.console.tab(-1)
+cmap <ESC>   eval fm.ui.console.close()
+cmap <CR>    eval fm.ui.console.execute()
+cmap <C-l>   redraw_window
+
+copycmap <ESC> <C-c>
+copycmap <CR>  <C-j>
+
+# Move around
+cmap <up>    eval fm.ui.console.history_move(-1)
+cmap <down>  eval fm.ui.console.history_move(1)
+cmap <left>  eval fm.ui.console.move(left=1)
+cmap <right> eval fm.ui.console.move(right=1)
+cmap <home>  eval fm.ui.console.move(right=0, absolute=True)
+cmap <end>   eval fm.ui.console.move(right=-1, absolute=True)
+cmap <a-b> eval fm.ui.console.move_word(left=1)
+cmap <a-f> eval fm.ui.console.move_word(right=1)
+
+copycmap <a-b> <a-left>
+copycmap <a-f> <a-right>
+
+# Line Editing
+cmap <backspace>  eval fm.ui.console.delete(-1)
+cmap <delete>     eval fm.ui.console.delete(0)
+cmap <C-w>        eval fm.ui.console.delete_word()
+cmap <A-d>        eval fm.ui.console.delete_word(backward=False)
+cmap <C-k>        eval fm.ui.console.delete_rest(1)
+cmap <C-u>        eval fm.ui.console.delete_rest(-1)
+cmap <C-y>        eval fm.ui.console.paste()
+
+# And of course the emacs way
+copycmap <ESC>       <C-g>
+copycmap <up>        <C-p>
+copycmap <down>      <C-n>
+copycmap <left>      <C-b>
+copycmap <right>     <C-f>
+copycmap <home>      <C-a>
+copycmap <end>       <C-e>
+copycmap <delete>    <C-d>
+copycmap <backspace> <C-h>
+
+# Note: There are multiple ways to express backspaces.  <backspace> (code 263)
+# and <backspace2> (code 127).  To be sure, use both.
+copycmap <backspace> <backspace2>
+
+# This special expression allows typing in numerals:
+cmap <allow_quantifiers> false
+
+# ===================================================================
+# == Pager Keybindings
+# ===================================================================
+
+# Movement
+pmap  <down>      pager_move  down=1
+pmap  <up>        pager_move  up=1
+pmap  <left>      pager_move  left=4
+pmap  <right>     pager_move  right=4
+pmap  <home>      pager_move  to=0
+pmap  <end>       pager_move  to=-1
+pmap  <pagedown>  pager_move  down=1.0  pages=True
+pmap  <pageup>    pager_move  up=1.0    pages=True
+pmap  <C-d>       pager_move  down=0.5  pages=True
+pmap  <C-u>       pager_move  up=0.5    pages=True
+
+copypmap <UP>       k  <C-p>
+copypmap <DOWN>     j  <C-n> <CR>
+copypmap <LEFT>     h
+copypmap <RIGHT>    l
+copypmap <HOME>     g
+copypmap <END>      G
+copypmap <C-d>      d
+copypmap <C-u>      u
+copypmap <PAGEDOWN> n  f  <C-F>  <Space>
+copypmap <PAGEUP>   p  b  <C-B>
+
+# Basic
+pmap     <C-l> redraw_window
+pmap     <ESC> pager_close
+copypmap <ESC> q Q i <F3>
+pmap E      edit_file
+
+# ===================================================================
+# == Taskview Keybindings
+# ===================================================================
+
+# Movement
+tmap <up>        taskview_move up=1
+tmap <down>      taskview_move down=1
+tmap <home>      taskview_move to=0
+tmap <end>       taskview_move to=-1
+tmap <pagedown>  taskview_move down=1.0  pages=True
+tmap <pageup>    taskview_move up=1.0    pages=True
+tmap <C-d>       taskview_move down=0.5  pages=True
+tmap <C-u>       taskview_move up=0.5    pages=True
+
+copytmap <UP>       k  <C-p>
+copytmap <DOWN>     j  <C-n> <CR>
+copytmap <HOME>     g
+copytmap <END>      G
+copytmap <C-u>      u
+copytmap <PAGEDOWN> n  f  <C-F>  <Space>
+copytmap <PAGEUP>   p  b  <C-B>
+
+# Changing priority and deleting tasks
+tmap J          eval -q fm.ui.taskview.task_move(-1)
+tmap K          eval -q fm.ui.taskview.task_move(0)
+tmap dd         eval -q fm.ui.taskview.task_remove()
+tmap <pagedown> eval -q fm.ui.taskview.task_move(-1)
+tmap <pageup>   eval -q fm.ui.taskview.task_move(0)
+tmap <delete>   eval -q fm.ui.taskview.task_remove()
+
+# Basic
+tmap <C-l> redraw_window
+tmap <ESC> taskview_close
+copytmap <ESC> q Q w <C-c>
+default_linemode devicons
+default_linemode devicons
+
+default_linemode devicons

+ 350 - 0
config/ranger/scope.sh

@@ -0,0 +1,350 @@
+#!/usr/bin/env bash
+
+set -o noclobber -o noglob -o nounset -o pipefail
+IFS=$'\n'
+
+## If the option `use_preview_script` is set to `true`,
+## then this script will be called and its output will be displayed in ranger.
+## ANSI color codes are supported.
+## STDIN is disabled, so interactive scripts won't work properly
+
+## This script is considered a configuration file and must be updated manually.
+## It will be left untouched if you upgrade ranger.
+
+## Because of some automated testing we do on the script #'s for comments need
+## to be doubled up. Code that is commented out, because it's an alternative for
+## example, gets only one #.
+
+## Meanings of exit codes:
+## code | meaning    | action of ranger
+## -----+------------+-------------------------------------------
+## 0    | success    | Display stdout as preview
+## 1    | no preview | Display no preview at all
+## 2    | plain text | Display the plain content of the file
+## 3    | fix width  | Don't reload when width changes
+## 4    | fix height | Don't reload when height changes
+## 5    | fix both   | Don't ever reload
+## 6    | image      | Display the image `$IMAGE_CACHE_PATH` points to as an image preview
+## 7    | image      | Display the file directly as an image
+
+## Script arguments
+FILE_PATH="${1}"         # Full path of the highlighted file
+PV_WIDTH="${2}"          # Width of the preview pane (number of fitting characters)
+## shellcheck disable=SC2034 # PV_HEIGHT is provided for convenience and unused
+PV_HEIGHT="${3}"         # Height of the preview pane (number of fitting characters)
+IMAGE_CACHE_PATH="${4}"  # Full path that should be used to cache image preview
+PV_IMAGE_ENABLED="${5}"  # 'True' if image previews are enabled, 'False' otherwise.
+
+FILE_EXTENSION="${FILE_PATH##*.}"
+FILE_EXTENSION_LOWER="$(printf "%s" "${FILE_EXTENSION}" | tr '[:upper:]' '[:lower:]')"
+
+## Settings
+HIGHLIGHT_SIZE_MAX=262143  # 256KiB
+HIGHLIGHT_TABWIDTH=${HIGHLIGHT_TABWIDTH:-8}
+HIGHLIGHT_STYLE=${HIGHLIGHT_STYLE:-pablo}
+HIGHLIGHT_OPTIONS="--replace-tabs=${HIGHLIGHT_TABWIDTH} --style=${HIGHLIGHT_STYLE} ${HIGHLIGHT_OPTIONS:-}"
+PYGMENTIZE_STYLE=${PYGMENTIZE_STYLE:-autumn}
+OPENSCAD_IMGSIZE=${RNGR_OPENSCAD_IMGSIZE:-1000,1000}
+OPENSCAD_COLORSCHEME=${RNGR_OPENSCAD_COLORSCHEME:-Tomorrow Night}
+
+handle_extension() {
+    case "${FILE_EXTENSION_LOWER}" in
+        ## Archive
+        a|ace|alz|arc|arj|bz|bz2|cab|cpio|deb|gz|jar|lha|lz|lzh|lzma|lzo|\
+        rpm|rz|t7z|tar|tbz|tbz2|tgz|tlz|txz|tZ|tzo|war|xpi|xz|Z|zip)
+            atool --list -- "${FILE_PATH}" && exit 5
+            bsdtar --list --file "${FILE_PATH}" && exit 5
+            exit 1;;
+        rar)
+            ## Avoid password prompt by providing empty password
+            unrar lt -p- -- "${FILE_PATH}" && exit 5
+            exit 1;;
+        7z)
+            ## Avoid password prompt by providing empty password
+            7z l -p -- "${FILE_PATH}" && exit 5
+            exit 1;;
+
+        ## PDF
+        pdf)
+            ## Preview as text conversion
+            pdftotext -l 10 -nopgbrk -q -- "${FILE_PATH}" - | \
+              fmt -w "${PV_WIDTH}" && exit 5
+            mutool draw -F txt -i -- "${FILE_PATH}" 1-10 | \
+              fmt -w "${PV_WIDTH}" && exit 5
+            exiftool "${FILE_PATH}" && exit 5
+            exit 1;;
+
+        ## BitTorrent
+        torrent)
+            transmission-show -- "${FILE_PATH}" && exit 5
+            exit 1;;
+
+        ## OpenDocument
+        odt|ods|odp|sxw)
+            ## Preview as text conversion
+            odt2txt "${FILE_PATH}" && exit 5
+            ## Preview as markdown conversion
+            pandoc -s -t markdown -- "${FILE_PATH}" && exit 5
+            exit 1;;
+
+        ## XLSX
+        xlsx)
+            ## Preview as csv conversion
+            xlsx2csv -- "${FILE_PATH}" && exit 5
+            exit 1;;
+
+        ## HTML
+        htm|html|xhtml)
+            ## Preview as text conversion
+            w3m -dump "${FILE_PATH}" && exit 5
+            lynx -dump -- "${FILE_PATH}" && exit 5
+            elinks -dump "${FILE_PATH}" && exit 5
+            pandoc -s -t markdown -- "${FILE_PATH}" && exit 5
+            ;;
+
+        ## JSON
+        json)
+            jq --color-output . "${FILE_PATH}" && exit 5
+            python -m json.tool -- "${FILE_PATH}" && exit 5
+            ;;
+
+        ## Direct Stream Digital/Transfer (DSDIFF) and wavpack aren't detected
+        ## by file(1).
+        dff|dsf|wv|wvc)
+            mediainfo "${FILE_PATH}" && exit 5
+            exiftool "${FILE_PATH}" && exit 5
+            ;; # Continue with next handler on failure
+    esac
+}
+
+handle_image() {
+    ## Size of the preview if there are multiple options or it has to be
+    ## rendered from vector graphics. If the conversion program allows
+    ## specifying only one dimension while keeping the aspect ratio, the width
+    ## will be used.
+    local DEFAULT_SIZE="1920x1080"
+
+    local mimetype="${1}"
+    case "${mimetype}" in
+        ## SVG
+        # image/svg+xml|image/svg)
+        #     convert -- "${FILE_PATH}" "${IMAGE_CACHE_PATH}" && exit 6
+        #     exit 1;;
+
+        ## DjVu
+        # image/vnd.djvu)
+        #     ddjvu -format=tiff -quality=90 -page=1 -size="${DEFAULT_SIZE}" \
+        #           - "${IMAGE_CACHE_PATH}" < "${FILE_PATH}" \
+        #           && exit 6 || exit 1;;
+
+        ## Image
+        image/*)
+            local orientation
+            orientation="$( identify -format '%[EXIF:Orientation]\n' -- "${FILE_PATH}" )"
+            ## If orientation data is present and the image actually
+            ## needs rotating ("1" means no rotation)...
+            if [[ -n "$orientation" && "$orientation" != 1 ]]; then
+                ## ...auto-rotate the image according to the EXIF data.
+                convert -- "${FILE_PATH}" -auto-orient "${IMAGE_CACHE_PATH}" && exit 6
+            fi
+
+            ## `w3mimgdisplay` will be called for all images (unless overriden
+            ## as above), but might fail for unsupported types.
+            exit 7;;
+
+        ## Video
+        # video/*)
+        #     # Thumbnail
+        #     ffmpegthumbnailer -i "${FILE_PATH}" -o "${IMAGE_CACHE_PATH}" -s 0 && exit 6
+        #     exit 1;;
+
+        ## PDF
+        # application/pdf)
+        #     pdftoppm -f 1 -l 1 \
+        #              -scale-to-x "${DEFAULT_SIZE%x*}" \
+        #              -scale-to-y -1 \
+        #              -singlefile \
+        #              -jpeg -tiffcompression jpeg \
+        #              -- "${FILE_PATH}" "${IMAGE_CACHE_PATH%.*}" \
+        #         && exit 6 || exit 1;;
+
+
+        ## ePub, MOBI, FB2 (using Calibre)
+        # application/epub+zip|application/x-mobipocket-ebook|\
+        # application/x-fictionbook+xml)
+        #     # ePub (using https://github.com/marianosimone/epub-thumbnailer)
+        #     epub-thumbnailer "${FILE_PATH}" "${IMAGE_CACHE_PATH}" \
+        #         "${DEFAULT_SIZE%x*}" && exit 6
+        #     ebook-meta --get-cover="${IMAGE_CACHE_PATH}" -- "${FILE_PATH}" \
+        #         >/dev/null && exit 6
+        #     exit 1;;
+
+        ## Font
+        application/font*|application/*opentype)
+            preview_png="/tmp/$(basename "${IMAGE_CACHE_PATH%.*}").png"
+            if fontimage -o "${preview_png}" \
+                         --pixelsize "120" \
+                         --fontname \
+                         --pixelsize "80" \
+                         --text "  ABCDEFGHIJKLMNOPQRSTUVWXYZ  " \
+                         --text "  abcdefghijklmnopqrstuvwxyz  " \
+                         --text "  0123456789.:,;(*!?') ff fl fi ffi ffl  " \
+                         --text "  The quick brown fox jumps over the lazy dog.  " \
+                         "${FILE_PATH}";
+            then
+                convert -- "${preview_png}" "${IMAGE_CACHE_PATH}" \
+                    && rm "${preview_png}" \
+                    && exit 6
+            else
+                exit 1
+            fi
+            ;;
+
+        ## Preview archives using the first image inside.
+        ## (Very useful for comic book collections for example.)
+        # application/zip|application/x-rar|application/x-7z-compressed|\
+        #     application/x-xz|application/x-bzip2|application/x-gzip|application/x-tar)
+        #     local fn=""; local fe=""
+        #     local zip=""; local rar=""; local tar=""; local bsd=""
+        #     case "${mimetype}" in
+        #         application/zip) zip=1 ;;
+        #         application/x-rar) rar=1 ;;
+        #         application/x-7z-compressed) ;;
+        #         *) tar=1 ;;
+        #     esac
+        #     { [ "$tar" ] && fn=$(tar --list --file "${FILE_PATH}"); } || \
+        #     { fn=$(bsdtar --list --file "${FILE_PATH}") && bsd=1 && tar=""; } || \
+        #     { [ "$rar" ] && fn=$(unrar lb -p- -- "${FILE_PATH}"); } || \
+        #     { [ "$zip" ] && fn=$(zipinfo -1 -- "${FILE_PATH}"); } || return
+        #
+        #     fn=$(echo "$fn" | python -c "import sys; import mimetypes as m; \
+        #             [ print(l, end='') for l in sys.stdin if \
+        #               (m.guess_type(l[:-1])[0] or '').startswith('image/') ]" |\
+        #         sort -V | head -n 1)
+        #     [ "$fn" = "" ] && return
+        #     [ "$bsd" ] && fn=$(printf '%b' "$fn")
+        #
+        #     [ "$tar" ] && tar --extract --to-stdout \
+        #         --file "${FILE_PATH}" -- "$fn" > "${IMAGE_CACHE_PATH}" && exit 6
+        #     fe=$(echo -n "$fn" | sed 's/[][*?\]/\\\0/g')
+        #     [ "$bsd" ] && bsdtar --extract --to-stdout \
+        #         --file "${FILE_PATH}" -- "$fe" > "${IMAGE_CACHE_PATH}" && exit 6
+        #     [ "$bsd" ] || [ "$tar" ] && rm -- "${IMAGE_CACHE_PATH}"
+        #     [ "$rar" ] && unrar p -p- -inul -- "${FILE_PATH}" "$fn" > \
+        #         "${IMAGE_CACHE_PATH}" && exit 6
+        #     [ "$zip" ] && unzip -pP "" -- "${FILE_PATH}" "$fe" > \
+        #         "${IMAGE_CACHE_PATH}" && exit 6
+        #     [ "$rar" ] || [ "$zip" ] && rm -- "${IMAGE_CACHE_PATH}"
+        #     ;;
+    esac
+
+    # openscad_image() {
+    #     TMPPNG="$(mktemp -t XXXXXX.png)"
+    #     openscad --colorscheme="${OPENSCAD_COLORSCHEME}" \
+    #         --imgsize="${OPENSCAD_IMGSIZE/x/,}" \
+    #         -o "${TMPPNG}" "${1}"
+    #     mv "${TMPPNG}" "${IMAGE_CACHE_PATH}"
+    # }
+
+    # case "${FILE_EXTENSION_LOWER}" in
+    #     ## 3D models
+    #     ## OpenSCAD only supports png image output, and ${IMAGE_CACHE_PATH}
+    #     ## is hardcoded as jpeg. So we make a tempfile.png and just
+    #     ## move/rename it to jpg. This works because image libraries are
+    #     ## smart enough to handle it.
+    #     csg|scad)
+    #         openscad_image "${FILE_PATH}" && exit 6
+    #         ;;
+    #     3mf|amf|dxf|off|stl)
+    #         openscad_image <(echo "import(\"${FILE_PATH}\");") && exit 6
+    #         ;;
+    # esac
+}
+
+handle_mime() {
+    local mimetype="${1}"
+    case "${mimetype}" in
+        ## RTF and DOC
+        text/rtf|*msword)
+            ## Preview as text conversion
+            ## note: catdoc does not always work for .doc files
+            ## catdoc: http://www.wagner.pp.ru/~vitus/software/catdoc/
+            catdoc -- "${FILE_PATH}" && exit 5
+            exit 1;;
+
+        ## DOCX, ePub, FB2 (using markdown)
+        ## You might want to remove "|epub" and/or "|fb2" below if you have
+        ## uncommented other methods to preview those formats
+        *wordprocessingml.document|*/epub+zip|*/x-fictionbook+xml)
+            ## Preview as markdown conversion
+            pandoc -s -t markdown -- "${FILE_PATH}" && exit 5
+            exit 1;;
+
+        ## XLS
+        *ms-excel)
+            ## Preview as csv conversion
+            ## xls2csv comes with catdoc:
+            ##   http://www.wagner.pp.ru/~vitus/software/catdoc/
+            xls2csv -- "${FILE_PATH}" && exit 5
+            exit 1;;
+
+        ## Text
+        text/* | */xml)
+            ## Syntax highlight
+            if [[ "$( stat --printf='%s' -- "${FILE_PATH}" )" -gt "${HIGHLIGHT_SIZE_MAX}" ]]; then
+                exit 2
+            fi
+            if [[ "$( tput colors )" -ge 256 ]]; then
+                local pygmentize_format='terminal256'
+                local highlight_format='xterm256'
+            else
+                local pygmentize_format='terminal'
+                local highlight_format='ansi'
+            fi
+            env HIGHLIGHT_OPTIONS="${HIGHLIGHT_OPTIONS}" highlight \
+                --out-format="${highlight_format}" \
+                --force -- "${FILE_PATH}" && exit 5
+            env COLORTERM=8bit bat --color=always --style="plain" \
+                -- "${FILE_PATH}" && exit 5
+            pygmentize -f "${pygmentize_format}" -O "style=${PYGMENTIZE_STYLE}"\
+                -- "${FILE_PATH}" && exit 5
+            exit 2;;
+
+        ## DjVu
+        image/vnd.djvu)
+            ## Preview as text conversion (requires djvulibre)
+            djvutxt "${FILE_PATH}" | fmt -w "${PV_WIDTH}" && exit 5
+            exiftool "${FILE_PATH}" && exit 5
+            exit 1;;
+
+        ## Image
+        image/*)
+            ## Preview as text conversion
+            # img2txt --gamma=0.6 --width="${PV_WIDTH}" -- "${FILE_PATH}" && exit 4
+            exiftool "${FILE_PATH}" && exit 5
+            exit 1;;
+
+        ## Video and audio
+        video/* | audio/*)
+            mediainfo "${FILE_PATH}" && exit 5
+            exiftool "${FILE_PATH}" && exit 5
+            exit 1;;
+    esac
+}
+
+handle_fallback() {
+    echo '----- File Type Classification -----' && file --dereference --brief -- "${FILE_PATH}" && exit 5
+    exit 1
+}
+
+
+MIMETYPE="$( file --dereference --brief --mime-type -- "${FILE_PATH}" )"
+if [[ "${PV_IMAGE_ENABLED}" == 'True' ]]; then
+    handle_image "${MIMETYPE}"
+fi
+handle_extension
+handle_mime "${MIMETYPE}"
+handle_fallback
+
+exit 1
+

+ 83 - 0
config/rofi/themes/gruvbox/gruvbox.rasi

@@ -0,0 +1,83 @@
+/*
+ * ROFI color theme
+ *
+ * Based on Something Found in the Internet
+ *
+ * User: Contributors
+ * Copyright: *!
+ */
+
+configuration {
+  font: "JetBrainsMono Nerd Font Medium 10";
+
+  drun {
+    display-name: "";
+  }
+
+  run {
+    display-name: "";
+  }
+
+  window {
+    display-name: "";
+  }
+
+  timeout {
+    delay: 10;
+    action: "kb-cancel";
+  }
+}
+
+* {
+  border: 0;
+  margin: 0;
+  padding: 0;
+  spacing: 0;
+
+  bg: #282828;
+  bg-alt: #3c3836;
+  fg: #fbf1c7;
+  blue: #83a598;
+
+  background-color: @bg;
+  text-color: @fg;
+}
+
+window {
+  transparency: "real";
+}
+
+mainbox {
+  children: [inputbar, listview];
+}
+
+inputbar {
+  background-color: @bg-alt;
+  children: [prompt, entry];
+}
+
+entry {
+  background-color: inherit;
+  padding: 12px 3px;
+}
+
+prompt {
+  background-color: inherit;
+  padding: 12px 16px 12px 12px;
+}
+
+listview {
+  lines: 8;
+}
+
+element {
+  children: [element-text];
+}
+
+element-text {
+  padding: 10px;
+}
+
+element-text selected {
+  text-color: @blue;
+}

+ 87 - 0
config/rofi/themes/nord/nord.rasi

@@ -0,0 +1,87 @@
+/*
+ * ROFI color theme
+ *
+ * Based on Something Found in the Internet
+ *
+ * User: Contributors
+ * Copyright: *!
+ */
+
+configuration {
+  font: "JetBrainsMono Nerd Font Medium 10";
+
+  drun {
+    display-name: "";
+  }
+
+  run {
+    display-name: "";
+  }
+
+  window {
+    display-name: "";
+  }
+
+  timeout {
+    delay: 10;
+    action: "kb-cancel";
+  }
+}
+
+* {
+  border: 0;
+  margin: 0;
+  padding: 0;
+  spacing: 0;
+
+  bg: #2E3440;
+  bg-alt: #3B4252;
+  fg: #81A1C1;
+  fg-alt: #EBCB8B;
+
+  background-color: @bg;
+  text-color: @fg;
+}
+
+window {
+  transparency: "real";
+}
+
+mainbox {
+  children: [inputbar, listview];
+}
+
+inputbar {
+  background-color: @bg-alt;
+  children: [prompt, entry];
+}
+
+entry {
+  background-color: inherit;
+  padding: 12px 3px;
+}
+
+prompt {
+  background-color: inherit;
+  padding: 12px;
+}
+
+listview {
+  lines: 8;
+}
+
+element {
+  children: [element-icon, element-text];
+}
+
+element-icon {
+  padding: 10px 10px;
+}
+
+element-text {
+  padding: 10px 0;
+}
+
+element-text selected {
+  text-color: @fg-alt;
+}

+ 143 - 0
config/sxhkd/sxhkdrc

@@ -0,0 +1,143 @@
+#!/bin/sh
+# ======================================================================
+# SXHKDRC — Конфигурационный файл горячих клавиш
+# ----------------------------------------------------------------------
+# Менеджер горячих клавиш : sxhkd
+# Оконный менеджер         : bspwm
+# ======================================================================
+
+# ======================================================================
+# 1. НЕЗАВИСИМЫЕ ГОРЯЧИЕ КЛАВИШИ
+# ======================================================================
+
+# Запуск терминала Alacritty
+super + Return
+    alacritty
+
+# Запуск меню приложений (Rofi)
+super + @space
+    rofi -show drun -theme $HOME/.config/rofi/themes/nord/nord.rasi
+
+# Перезагрузка конфигурации sxhkd
+super + Escape
+    pkill -USR1 -x sxhkd
+
+# Перезагрузка Polybar
+super + shift + p
+	sh $HOME/.config/polybar/launch.sh
+
+# Смена языка
+Alt_L + shift
+	sh $HOME/bin/change_language.sh
+# Смена языка
+Shift_L + alt
+	sh $HOME/bin/change_language.sh
+
+# ======================================================================
+# 2. УПРАВЛЕНИЕ BSPWM
+# ======================================================================
+
+# Выход / Перезапуск bspwm
+super + alt + {q,r}
+    bspc {quit,wm -r}
+
+# Закрыть / Уничтожить текущее окно
+super + {_,shift + }c
+    bspc node -{c,k}
+
+# Переключение layout (tiled/monocle)
+super + m
+    bspc desktop -l next
+
+# Отправить помеченный узел к предустановленному
+super + y
+    bspc node newest.marked.local -n newest.!automatic.local
+
+# Поменять местами текущий узел и самое большое окно
+super + g
+    bspc node -s biggest.window
+
+
+# ======================================================================
+# 3. СОСТОЯНИЯ И ФЛАГИ ОКНА
+# ======================================================================
+
+# Установить состояние окна (Tiled, Pseudo-tiled, Floating, Fullscreen)
+super + {t,shift + t,s,f}
+    bspc node -t {tiled,pseudo_tiled,floating,fullscreen}
+
+# Установить флаги узла (Marked, Locked, Sticky, Private)
+super + ctrl + {m,x,y,z}
+    bspc node -g {marked,locked,sticky,private}
+
+
+# ======================================================================
+# 4. ФОКУС / ПЕРЕКЛЮЧЕНИЕ / SWAP
+# ======================================================================
+
+# Фокусировка / Перемещение узла
+super + {_,shift + }{h,j,k,l}
+    bspc node -{f,s} {west,south,north,east}
+
+# Фокусировка по иерархии
+super + {p,b,comma,period}
+    bspc node -f @{parent,brother,first,second}
+
+# Следующее / Предыдущее окно
+super + {_,shift + }c
+    bspc node -f {next,prev}.local.!hidden.window
+
+# Следующий / Предыдущий рабочий стол
+super + bracket{left,right}
+    bspc desktop -f {prev,next}.local
+
+# Последний активный узел / рабочий стол
+super + {grave,Tab}
+    bspc {node,desktop} -f last
+
+# Старый / Новый узел в истории
+super + {o,i}
+    bspc wm -h off; bspc node {older,newer} -f; bspc wm -h on
+
+# Фокус / Отправка окна на рабочий стол (1–9, 0)
+super + {_,shift + }{1-9,0}
+    bspc {desktop -f,node -d} '^{1-9,10}'
+
+
+# ======================================================================
+# 5. ПРЕДВЫБОР (Preselect)
+# ======================================================================
+
+# Предвыбор направления
+super + ctrl + {h,j,k,l}
+    bspc node -p {west,south,north,east}
+
+# Предвыбор соотношения деления
+super + ctrl + {1-9}
+    bspc node -o 0.{1-9}
+
+# Отмена предвыбора текущего узла
+super + ctrl + space
+    bspc node -p cancel
+
+# Отмена предвыбора всех узлов
+super + ctrl + shift + space
+    bspc query -N -d | xargs -I id -n 1 bspc node id -p cancel
+
+
+# ======================================================================
+# 6. РАЗМЕР И ПЕРЕМЕЩЕНИЕ (Resize / Move)
+# ======================================================================
+
+# Увеличение размера окна
+super + alt + {h,j,k,l}
+    bspc node -z {left -20 0,bottom 0 20,top 0 -20,right 20 0}
+
+# Уменьшение размера окна
+super + alt + shift + {h,j,k,l}
+    bspc node -z {right -20 0,top 0 20,bottom 0 -20,left 20 0}
+
+# Перемещение плавающего окна
+super + {Left,Down,Up,Right}
+    bspc node -v {-20 0,0 20,0 -20,20 0}
+

+ 2 - 0
home/.Xresources

@@ -0,0 +1,2 @@
+Xcursor.theme: Bibata-Modern-Classic
+Xcursor.size: 24

BIN
home/.te4gh0st/te4gh0st


+ 1 - 0
home/.xinitrc

@@ -0,0 +1 @@
+exec bspwm

+ 39 - 0
home/.zshrc

@@ -0,0 +1,39 @@
+#!/bin/bash
+
+#   $$\               $$\   $$\           $$\        $$$$$$\              $$\
+#   $$ |              $$ |  $$ |          $$ |      $$$ __$$\             $$ |
+# $$$$$$\    $$$$$$\  $$ |  $$ | $$$$$$\  $$$$$$$\  $$$$\ $$ | $$$$$$$\ $$$$$$\
+# \_$$  _|  $$  __$$\ $$$$$$$$ |$$  __$$\ $$  __$$\ $$\$$\$$ |$$  _____|\_$$  _|
+#   $$ |    $$$$$$$$ |\_____$$ |$$ /  $$ |$$ |  $$ |$$ \$$$$ |\$$$$$$\    $$ |
+#   $$ |$$\ $$   ____|      $$ |$$ |  $$ |$$ |  $$ |$$ |\$$$ | \____$$\   $$ |$$\
+#   \$$$$  |\$$$$$$$\       $$ |\$$$$$$$ |$$ |  $$ |\$$$$$$  /$$$$$$$  |  \$$$$  |
+#    \____/  \_______|      \__| \____$$ |\__|  \__| \______/ \_______/    \____/
+#                               $$\   $$ |
+#                               \$$$$$$  |
+#                                \______/
+
+
+# Path to your oh-my-zsh installation.
+export ZSH="$HOME/.oh-my-zsh"
+export EDITOR=/bin/nvim
+
+# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes
+ZSH_THEME="agnoster"
+
+plugins=(git sudo zsh-autosuggestions zsh-syntax-highlighting docker-compose docker golang magic-enter extract )
+source $ZSH/oh-my-zsh.sh
+
+zstyle ':completion:*:*:docker:*' option-stacking yes
+zstyle ':completion:*:*:docker-*:*' option-stacking yes
+# defaults
+MAGIC_ENTER_GIT_COMMAND='git status -u .'
+MAGIC_ENTER_OTHER_COMMAND='ls -lh .'
+
+# Example aliases
+# alias zshconfig="mate ~/.zshrc"
+# alias ohmyzsh="mate ~/.oh-my-zsh"
+
+#te4gh0st logo in start
+~/.te4gh0st/te4gh0st
+
+alias ports="sudo lsof -nP -iTCP -sTCP:LISTEN"

+ 54 - 0
home/CA/te4gh0st_Root_CA.crt

@@ -0,0 +1,54 @@
+-----BEGIN CERTIFICATE-----
+MIIJoTCCBYmgAwIBAgIIMrEciUlo/hMwDQYJKoZIhvcNAQENBQAwQzELMAkGA1UE
+BhMCUlUxFTATBgNVBAoTDHRlNGdoMHN0IExMQzEdMBsGA1UEAxMUdGU0Z2gwc3Qg
+TExDIFJvb3QgQ0EwHhcNMjUxMDI2MDkwMDAwWhcNMzUxMTAxMDkwMDAwWjBDMQsw
+CQYDVQQGEwJSVTEVMBMGA1UEChMMdGU0Z2gwc3QgTExDMR0wGwYDVQQDExR0ZTRn
+aDBzdCBMTEMgUm9vdCBDQTCCBCIwDQYJKoZIhvcNAQEBBQADggQPADCCBAoCggQB
+ALobYKWtqRm1fhZntw6Fr1UAWIhmTZ1E6+iOhUKy1w4oqIFKUHw7pNdcpOEK4hee
+dFfXXSdOlCSz6r+m3fDcnL+/Cf5mZD5QI8NieS8pDi1hefJWdUezsCh65I7mvFF8
+5Yq/Py2CR+VCWC50a4q1RolBgnXfmyZxiK/Tg20egw1eaxLH0agyW0eUfMZDXEIo
+kyVRrELhiMQypv5kSixtRfV7xo71Xf28k6orWU+LAB8+SlGQniwR7GGMOM1AtvQF
+eN9jfhjXhEPn98UY/jh2hEHP2eQK5uNRA9sOphnPB7Pcd0Byy3tUBnjB07nLi9+O
+91zfYBrGxGgn2k071QGllJLcYO8+erTWcCOT53WIYQvN+c2O2rPyktcd5v8QiYok
+ZRuK4wNwhNweLaUkFtp9jgw2yWBRx5xYmSFXaBG9FgtHH/bcA4yF3NRNmJr20udn
+wJRaCHY06ceYFc0+kd6d/8O+KfUotV3TSl2GOe+uRVk/QgTJmWVWttuGJLe6x4ix
+RuUJc+Cjs9A3m+JEMJDwuyPULqLIuDIcD+Lf8dQI+F0eurY2pBBQHwj6+5Zqz1Xy
+ocXqDN5zZoP3hPA5eD9L8qY6yK63CH3S0+zAoTk5oH4gKV9X4C4NrG6RF3isrFyG
+FHv19EqY25GEEddIAVvoUgVxjfzxqer1D1PgpKUr51T4/sWhERCIlslrc7uc5RRy
+1vJLYVr7ClbYJrzlAHHEFKtPzJkG4+ECU9NsUFhIaoS5yxpH4Gfsi2YYVZNytkeV
+KKxjMiNMyM/gWmKGtKbWzK+bNo/58uHO6NX4OFctghQ6vrzugREo0ppQ1zm4uf75
+5I/ZPG1cQF2E7XewttESHEENhrs8gIQ6upBF3ctPBN4+cH1eHzAvMdP4auAz5ZlJ
+M5PjBwdqBAHL12k7gPyiAeup602GjQ5wN/fNpVfoOdjOzrQO2H8ZoPdYyTAvR5co
+r7e3XCxAjCdRaQc7K9iyn2iIHuNoinvTqNsMxhwV97ri9b4Bc9df8r3rJcQ6rNUM
+IetOzY7Sfgq8oMEFfe0XmQi6ULx+r/W+Oy4Xi896KLzAS6QBgtHpP6XSX2of7Dyn
+AOGmvQJgciULK2fIKEeFMSS9xlmpV0Tsw4RzHBvi6U7lRei7eGiA2KxtZbIMB/rF
+FhO3LmFtkAQHve97rp9cyKbMPJlI2D+VzkqODNYoqqjxAstHjRCvRSG8QZFTqxjf
+3qedEPh4I006VL4YM6lOJP+wIRxOsTfEjd7MTuXsLzNjs43hsL9FEpB4dif7I7Xs
+Lgj0p0x88gUX11Q2XSBaeGGov2gSqh0+Fu8JqsUrhGv+ajPy11l3oIhFRctAS0le
+bXz6Y4ZgxhZRWVgui8g92WsCAwEAAaOBmDCBlTASBgNVHRMBAf8ECDAGAQH/AgEB
+MB0GA1UdDgQWBBTnM4QSP1zFCf2dVMY+o+7T5pbs0jAOBgNVHQ8BAf8EBAMCAQYw
+HQYDVR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMBEGCWCGSAGG+EIBAQQEAwIA
+BzAeBglghkgBhvhCAQ0EERYPeGNhIGNlcnRpZmljYXRlMA0GCSqGSIb3DQEBDQUA
+A4IEAQAneIxZP576QMvFQyvextsMdgmpwPgJ0IvVidXkZTtcWjPdkDa7LfipeNtN
+ipYonSFNa6vRNjkA1TCuzJKrjKlv7W0O46wzgvaN/X4Za8zH65npuGwQaAvFX2XG
+R6DBA9d4+wx9d+I4r+I9WgZYaaV6sJQQ1LzWxiqth2Ym4Za81RhAtm5NMUlm7757
+EtgmU6P6Tr1lR4gLxE9+KjYsCD1acfFmfUrgIZVjpwrJDQ8uIzPpPHkButwS0R/V
+vPOmnRIe8rgtUT9VWM/42ijODeKNkEjV2oxyEzXtZF20hkewMyF/LqsIkLkb64y4
+/aigfAtp/QzIanETg6oS4waVLjxHGKUmZKtssAGjZ4wcORWGWS6ioUeNnmOC7iCw
+YndWzn+QdkcPP9m4YBtHanCIDdf6yB5mRrImLNvRZ+6b5vND246bMl80od/8y9xC
+UqCXNokRn8/DM7UHzvb9sFHMhjnquKgfFoSRMaqUrq79A4Z2caQpwGMEJiAteANq
+4x1pe3JCcWuKG/zSNCOxvnlyCg+dG2I4WjDkTOu3khDcHm2vNnJcy34aLVPRg30c
+cBOKBW5ilKnoZ3n+swvTt2+5UrLqthpO+NJAl1ZX7DBkAXQSDn7v5CT9okiIi5jo
+pLuQiRoidsA1fJx87wmNrteY6akzKRxwS1dlkpq3IVRgG+qn1+gOPp8Nj/azyObx
+IaHUuqSpKST70lEaaPxp328lFIJKYuQuLy2qMBrp1OifSDVN4jb2SXC94uNChFYs
+mAUqzFUelRiYd3AmnxZUjCYogVuNowQOFLVRIPQsECOmzi3/9JYBAc9p2rJt4Yv4
+7OIePp19SriLNXZ0kuzmkletTDFKCVwwpPl/pd0IKDtxyMk0wT/eNoa/oQnc9Ceu
+LuVhNRgt1R9TDtsrgE4rCVYIPCcJinhoLZg7IBwz5yjQxdaLR1JBOXhbM/U+dTcK
+ZgUpkuMvxLl+RaAiLKm5oPdYHy9Xejr0b+D6h9NFB1pAdbU/NmLQSQwc8ujvAf2Y
+Wy/IrfpNt+9OrdDvVcRJCblH8TvOrkYitUMLxnSbEOt0IrXtGKKneDf298Kv/xU6
+kPwT7yY6zBKUuU67pzHo5shxiQI0Tp5gYcUi0KvzLRh0F09lbA3MHvzCfxGyF+Jy
+mXNsE/684wBLYehQUwFSnnlzyTHHhLjiJfS+LfC/GKBjKj4hrnntpA+KPWCnOuKw
+8PcmrC9AS0fZFjwF5x3RcaVG3TBD9aIvUKIPlK6qZsnmBHe5tnM2QUxlYPeJvrFV
+Xx1FhI2XIPY9qWvdkg6IZLqrn9WSz+UHWqPZpHJ5Q7SeVof/uwFfLc7udqcJLhpU
+1wvLOgV1jwH+3YyDrV51Ipfxjclu
+-----END CERTIFICATE-----

BIN
home/Wallpaper/archtv.png


+ 2 - 0
home/bin/battery_info.sh

@@ -0,0 +1,2 @@
+#!/bin/bash
+upower -i /org/freedesktop/UPower/devices/battery_BAT0

+ 12 - 0
home/bin/change_language.sh

@@ -0,0 +1,12 @@
+#!/bin/bash
+
+CURRENT_LAYOUT=$(xset -q|grep LED| awk '{ print $10 }')
+
+setxkbmap -layout us,ru -option "grp:alt_shift_toggle"
+if [ "$CURRENT_LAYOUT" = "00000000" ]; then
+	notify-send "Lang: US" -t 700
+fi
+
+if [ "$CURRENT_LAYOUT" = "00001000" ]; then
+    notify-send "Lang: RU" -t 700
+fi

+ 466 - 0
home/bin/speedtest.sh

@@ -0,0 +1,466 @@
+#!/usr/bin/env bash
+#
+# Description: A Bench Script by Teddysun
+#
+# Copyright (C) 2015 - 2023 Teddysun <i@teddysun.com>
+# Thanks: LookBack <admin@dwhd.org>
+# URL: https://teddysun.com/444.html
+# https://github.com/teddysun/across/blob/master/bench.sh
+#
+trap _exit INT QUIT TERM
+
+_red() {
+    printf '\033[0;31;31m%b\033[0m' "$1"
+}
+
+_green() {
+    printf '\033[0;31;32m%b\033[0m' "$1"
+}
+
+_yellow() {
+    printf '\033[0;31;33m%b\033[0m' "$1"
+}
+
+_blue() {
+    printf '\033[0;31;36m%b\033[0m' "$1"
+}
+
+_exists() {
+    local cmd="$1"
+    if eval type type >/dev/null 2>&1; then
+        eval type "$cmd" >/dev/null 2>&1
+    elif command >/dev/null 2>&1; then
+        command -v "$cmd" >/dev/null 2>&1
+    else
+        which "$cmd" >/dev/null 2>&1
+    fi
+    local rt=$?
+    return ${rt}
+}
+
+_exit() {
+    _red "\nThe script has been terminated. Cleaning up files...\n"
+    # clean up
+    rm -fr speedtest.tgz speedtest-cli benchtest_*
+    exit 1
+}
+
+get_opsy() {
+    [ -f /etc/redhat-release ] && awk '{print $0}' /etc/redhat-release && return
+    [ -f /etc/os-release ] && awk -F'[= "]' '/PRETTY_NAME/{print $3,$4,$5}' /etc/os-release && return
+    [ -f /etc/lsb-release ] && awk -F'[="]+' '/DESCRIPTION/{print $2}' /etc/lsb-release && return
+}
+
+next() {
+    printf "%-70s\n" "-" | sed 's/\s/-/g'
+}
+
+speed_test() {
+    local nodeName="$2"
+    if [ -z "$1" ];then 
+        ./speedtest-cli/speedtest --progress=no --accept-license --accept-gdpr >./speedtest-cli/speedtest.log 2>&1
+    else
+        ./speedtest-cli/speedtest --progress=no --server-id="$1" --accept-license --accept-gdpr >./speedtest-cli/speedtest.log 2>&1
+    fi
+    if [ $? -eq 0 ]; then
+        local dl_speed up_speed latency
+        dl_speed=$(awk '/Download/{print $3" "$4}' ./speedtest-cli/speedtest.log)
+        up_speed=$(awk '/Upload/{print $3" "$4}' ./speedtest-cli/speedtest.log)
+        latency=$(awk '/Latency/{print $3" "$4}' ./speedtest-cli/speedtest.log)
+        if [[ -n "${dl_speed}" && -n "${up_speed}" && -n "${latency}" ]]; then
+            printf "\033[0;33m%-18s\033[0;32m%-18s\033[0;31m%-20s\033[0;36m%-12s\033[0m\n" " ${nodeName}" "${up_speed}" "${dl_speed}" "${latency}"
+        fi
+    fi
+}
+
+speed() {
+    speed_test '' 'Speedtest.net'
+
+    speed_test '4718' 'Beeline, Moscow'
+    speed_test '4744' 'Beeline, Kaluga'
+    speed_test '6210' 'Beeline, Sochi'
+    speed_test '5045' 'Beeline, Nvsb'
+    speed_test '6400' 'Beeline, Ekat'
+
+    speed_test '10600' 'MTS, Moscow'
+    speed_test '1907' 'MTS, Moscow'
+    speed_test '1905' 'MTS, Spb'
+    speed_test '4247' 'MTS, Spb'
+    speed_test '3868' 'MTS, Nvsb'
+    speed_test '4908' 'MTS, Ekat'
+    speed_test '1903' 'MTS, Vladiv'
+
+    speed_test '6562' 'Tele2, Moscow'
+    speed_test '20477' 'Tele2, Spb'
+    speed_test '6051' 'Tele2, Spb'
+    speed_test '6616' 'Tele2, Ekat'
+    speed_test '6430' 'Tele2, Nvsb'
+    speed_test '6430' 'Tele2, Nvsb'
+    speed_test '6429' 'Tele2, Rostov'
+
+    speed_test '6386' 'Megafon, Moscow'
+    speed_test '6385' 'Megafon, Spb'
+    speed_test '6437' 'Megafon, Ekat'
+    speed_test '6389' 'Megafon, Nvsb'
+
+    speed_test '6827' 'MGTS, Moscow'
+    speed_test '3682' 'Rostel, Moscow'
+    speed_test '2599' 'Rostel, Spb'
+    speed_test '21011' 'Rostel, Ekat'
+    speed_test '3296' 'Rostel, Nvsb'
+    speed_test '14190' 'dom.ru, Moscow'
+    speed_test '2690' 'Rostel, Spb'
+    speed_test '2696' 'Rostel, Nvsb'
+    speed_test '5844' 'Rostel, Ekat'
+    
+    speed_test '20019' 'Realnet, Simf'
+    speed_test '6918' 'Crimea, Simf'
+    speed_test '7436' 'Crimea, Simf'
+    speed_test '2477' 'Crimea, Simf'
+    speed_test '7486' 'Crimea, Sevas'
+
+    speed_test '4952' 'ETL, Mytish'
+
+}
+
+io_test() {
+    (LANG=C dd if=/dev/zero of=benchtest_$$ bs=512k count="$1" conv=fdatasync && rm -f benchtest_$$) 2>&1 | awk -F, '{io=$NF} END { print io}' | sed 's/^[ \t]*//;s/[ \t]*$//'
+}
+
+calc_size() {
+    local raw=$1
+    local total_size=0
+    local num=1
+    local unit="KB"
+    if ! [[ ${raw} =~ ^[0-9]+$ ]]; then
+        echo ""
+        return
+    fi
+    if [ "${raw}" -ge 1073741824 ]; then
+        num=1073741824
+        unit="TB"
+    elif [ "${raw}" -ge 1048576 ]; then
+        num=1048576
+        unit="GB"
+    elif [ "${raw}" -ge 1024 ]; then
+        num=1024
+        unit="MB"
+    elif [ "${raw}" -eq 0 ]; then
+        echo "${total_size}"
+        return
+    fi
+    total_size=$(awk 'BEGIN{printf "%.1f", '"$raw"' / '$num'}')
+    echo "${total_size} ${unit}"
+}
+
+# since calc_size converts kilobyte to MB, GB and TB
+# to_kibyte converts zfs size from bytes to kilobyte
+to_kibyte() {
+    local raw=$1
+    awk 'BEGIN{printf "%.0f", '"$raw"' / 1024}'
+}
+
+calc_sum() {
+    local arr=("$@")
+    local s
+    s=0
+    for i in "${arr[@]}"; do
+        s=$((s + i))
+    done
+    echo ${s}
+}
+
+check_virt() {
+    _exists "dmesg" && virtualx="$(dmesg 2>/dev/null)"
+    if _exists "dmidecode"; then
+        sys_manu="$(dmidecode -s system-manufacturer 2>/dev/null)"
+        sys_product="$(dmidecode -s system-product-name 2>/dev/null)"
+        sys_ver="$(dmidecode -s system-version 2>/dev/null)"
+    else
+        sys_manu=""
+        sys_product=""
+        sys_ver=""
+    fi
+    if grep -qa docker /proc/1/cgroup; then
+        virt="Docker"
+    elif grep -qa lxc /proc/1/cgroup; then
+        virt="LXC"
+    elif grep -qa container=lxc /proc/1/environ; then
+        virt="LXC"
+    elif [[ -f /proc/user_beancounters ]]; then
+        virt="OpenVZ"
+    elif [[ "${virtualx}" == *kvm-clock* ]]; then
+        virt="KVM"
+    elif [[ "${sys_product}" == *KVM* ]]; then
+        virt="KVM"
+    elif [[ "${cname}" == *KVM* ]]; then
+        virt="KVM"
+    elif [[ "${cname}" == *QEMU* ]]; then
+        virt="KVM"
+    elif [[ "${virtualx}" == *"VMware Virtual Platform"* ]]; then
+        virt="VMware"
+    elif [[ "${sys_product}" == *"VMware Virtual Platform"* ]]; then
+        virt="VMware"
+    elif [[ "${virtualx}" == *"Parallels Software International"* ]]; then
+        virt="Parallels"
+    elif [[ "${virtualx}" == *VirtualBox* ]]; then
+        virt="VirtualBox"
+    elif [[ -e /proc/xen ]]; then
+        if grep -q "control_d" "/proc/xen/capabilities" 2>/dev/null; then
+            virt="Xen-Dom0"
+        else
+            virt="Xen-DomU"
+        fi
+    elif [ -f "/sys/hypervisor/type" ] && grep -q "xen" "/sys/hypervisor/type"; then
+        virt="Xen"
+    elif [[ "${sys_manu}" == *"Microsoft Corporation"* ]]; then
+        if [[ "${sys_product}" == *"Virtual Machine"* ]]; then
+            if [[ "${sys_ver}" == *"7.0"* || "${sys_ver}" == *"Hyper-V" ]]; then
+                virt="Hyper-V"
+            else
+                virt="Microsoft Virtual Machine"
+            fi
+        fi
+    else
+        virt="Dedicated"
+    fi
+}
+
+ipv4_info() {
+    local org city country region
+    org="$(wget -q -T10 -O- ipinfo.io/org)"
+    city="$(wget -q -T10 -O- ipinfo.io/city)"
+    country="$(wget -q -T10 -O- ipinfo.io/country)"
+    region="$(wget -q -T10 -O- ipinfo.io/region)"
+    if [[ -n "${org}" ]]; then
+        echo " Organization       : $(_blue "${org}")"
+    fi
+    if [[ -n "${city}" && -n "${country}" ]]; then
+        echo " Location           : $(_blue "${city} / ${country}")"
+    fi
+    if [[ -n "${region}" ]]; then
+        echo " Region             : $(_yellow "${region}")"
+    fi
+    if [[ -z "${org}" ]]; then
+        echo " Region             : $(_red "No ISP detected")"
+    fi
+}
+
+install_speedtest() {
+    if [ ! -e "./speedtest-cli/speedtest" ]; then
+        sys_bit=""
+        local sysarch
+        sysarch="$(uname -m)"
+        if [ "${sysarch}" = "unknown" ] || [ "${sysarch}" = "" ]; then
+            sysarch="$(arch)"
+        fi
+        if [ "${sysarch}" = "x86_64" ]; then
+            sys_bit="x86_64"
+        fi
+        if [ "${sysarch}" = "i386" ] || [ "${sysarch}" = "i686" ]; then
+            sys_bit="i386"
+        fi
+        if [ "${sysarch}" = "armv8" ] || [ "${sysarch}" = "armv8l" ] || [ "${sysarch}" = "aarch64" ] || [ "${sysarch}" = "arm64" ]; then
+            sys_bit="aarch64"
+        fi
+        if [ "${sysarch}" = "armv7" ] || [ "${sysarch}" = "armv7l" ]; then
+            sys_bit="armhf"
+        fi
+        if [ "${sysarch}" = "armv6" ]; then
+            sys_bit="armel"
+        fi
+        [ -z "${sys_bit}" ] && _red "Error: Unsupported system architecture (${sysarch}).\n" && exit 1
+        url1="https://install.speedtest.net/app/cli/ookla-speedtest-1.2.0-linux-${sys_bit}.tgz"
+        url2="https://dl.lamp.sh/files/ookla-speedtest-1.2.0-linux-${sys_bit}.tgz"
+        if ! wget --no-check-certificate -q -T10 -O speedtest.tgz ${url1}; then
+            if ! wget --no-check-certificate -q -T10 -O speedtest.tgz ${url2}; then
+                _red "Error: Failed to download speedtest-cli.\n" && exit 1
+            fi
+        fi
+        mkdir -p speedtest-cli && tar zxf speedtest.tgz -C ./speedtest-cli && chmod +x ./speedtest-cli/speedtest
+        rm -f speedtest.tgz
+    fi
+    printf "%-18s%-18s%-20s%-12s\n" " Node Name" "Upload Speed" "Download Speed" "Latency"
+}
+
+print_intro() {
+    echo "-------------------- A Bench.sh Script By Teddysun // modify by artydev.ru -------------------"
+    echo " Version            : $(_green v2023-10-15)"
+    echo " Usage              : $(_red "wget -qO- speedtest.artydev.ru | bash")"
+}
+
+# Get System information
+get_system_info() {
+    cname=$(awk -F: '/model name/ {name=$2} END {print name}' /proc/cpuinfo | sed 's/^[ \t]*//;s/[ \t]*$//')
+    cores=$(awk -F: '/^processor/ {core++} END {print core}' /proc/cpuinfo)
+    freq=$(awk -F'[ :]' '/cpu MHz/ {print $4;exit}' /proc/cpuinfo)
+    ccache=$(awk -F: '/cache size/ {cache=$2} END {print cache}' /proc/cpuinfo | sed 's/^[ \t]*//;s/[ \t]*$//')
+    cpu_aes=$(grep -i 'aes' /proc/cpuinfo)
+    cpu_virt=$(grep -Ei 'vmx|svm' /proc/cpuinfo)
+    tram=$(
+        LANG=C
+        free | awk '/Mem/ {print $2}'
+    )
+    tram=$(calc_size "$tram")
+    uram=$(
+        LANG=C
+        free | awk '/Mem/ {print $3}'
+    )
+    uram=$(calc_size "$uram")
+    swap=$(
+        LANG=C
+        free | awk '/Swap/ {print $2}'
+    )
+    swap=$(calc_size "$swap")
+    uswap=$(
+        LANG=C
+        free | awk '/Swap/ {print $3}'
+    )
+    uswap=$(calc_size "$uswap")
+    up=$(awk '{a=$1/86400;b=($1%86400)/3600;c=($1%3600)/60} {printf("%d days, %d hour %d min\n",a,b,c)}' /proc/uptime)
+    if _exists "w"; then
+        load=$(
+            LANG=C
+            w | head -1 | awk -F'load average:' '{print $2}' | sed 's/^[ \t]*//;s/[ \t]*$//'
+        )
+    elif _exists "uptime"; then
+        load=$(
+            LANG=C
+            uptime | head -1 | awk -F'load average:' '{print $2}' | sed 's/^[ \t]*//;s/[ \t]*$//'
+        )
+    fi
+    opsy=$(get_opsy)
+    arch=$(uname -m)
+    if _exists "getconf"; then
+        lbit=$(getconf LONG_BIT)
+    else
+        echo "${arch}" | grep -q "64" && lbit="64" || lbit="32"
+    fi
+    kern=$(uname -r)
+    in_kernel_no_swap_total_size=$(
+        LANG=C
+        df -t simfs -t ext2 -t ext3 -t ext4 -t btrfs -t xfs -t vfat -t ntfs --total 2>/dev/null | grep total | awk '{ print $2 }'
+    )
+    swap_total_size=$(free -k | grep Swap | awk '{print $2}')
+    zfs_total_size=$(to_kibyte "$(calc_sum "$(zpool list -o size -Hp 2> /dev/null)")")
+    disk_total_size=$(calc_size $((swap_total_size + in_kernel_no_swap_total_size + zfs_total_size)))
+    in_kernel_no_swap_used_size=$(
+        LANG=C
+        df -t simfs -t ext2 -t ext3 -t ext4 -t btrfs -t xfs -t vfat -t ntfs --total 2>/dev/null | grep total | awk '{ print $3 }'
+    )
+    swap_used_size=$(free -k | grep Swap | awk '{print $3}')
+    zfs_used_size=$(to_kibyte "$(calc_sum "$(zpool list -o allocated -Hp 2> /dev/null)")")
+    disk_used_size=$(calc_size $((swap_used_size + in_kernel_no_swap_used_size + zfs_used_size)))
+    tcpctrl=$(sysctl net.ipv4.tcp_congestion_control | awk -F ' ' '{print $3}')
+}
+# Print System information
+print_system_info() {
+    if [ -n "$cname" ]; then
+        echo " CPU Model          : $(_blue "$cname")"
+    else
+        echo " CPU Model          : $(_blue "CPU model not detected")"
+    fi
+    if [ -n "$freq" ]; then
+        echo " CPU Cores          : $(_blue "$cores @ $freq MHz")"
+    else
+        echo " CPU Cores          : $(_blue "$cores")"
+    fi
+    if [ -n "$ccache" ]; then
+        echo " CPU Cache          : $(_blue "$ccache")"
+    fi
+    if [ -n "$cpu_aes" ]; then
+        echo " AES-NI             : $(_green "\xe2\x9c\x93 Enabled")"
+    else
+        echo " AES-NI             : $(_red "\xe2\x9c\x97 Disabled")"
+    fi
+    if [ -n "$cpu_virt" ]; then
+        echo " VM-x/AMD-V         : $(_green "\xe2\x9c\x93 Enabled")"
+    else
+        echo " VM-x/AMD-V         : $(_red "\xe2\x9c\x97 Disabled")"
+    fi
+    echo " Total Disk         : $(_yellow "$disk_total_size") $(_blue "($disk_used_size Used)")"
+    echo " Total Mem          : $(_yellow "$tram") $(_blue "($uram Used)")"
+    if [ "$swap" != "0" ]; then
+        echo " Total Swap         : $(_blue "$swap ($uswap Used)")"
+    fi
+    echo " System uptime      : $(_blue "$up")"
+    echo " Load average       : $(_blue "$load")"
+    echo " OS                 : $(_blue "$opsy")"
+    echo " Arch               : $(_blue "$arch ($lbit Bit)")"
+    echo " Kernel             : $(_blue "$kern")"
+    echo " TCP CC             : $(_yellow "$tcpctrl")"
+    echo " Virtualization     : $(_blue "$virt")"
+    echo " IPv4/IPv6          : $online"
+}
+
+print_io_test() {
+    freespace=$(df -m . | awk 'NR==2 {print $4}')
+    if [ -z "${freespace}" ]; then
+        freespace=$(df -m . | awk 'NR==3 {print $3}')
+    fi
+    if [ "${freespace}" -gt 1024 ]; then
+        writemb=2048
+        io1=$(io_test ${writemb})
+        echo " I/O Speed(1st run) : $(_yellow "$io1")"
+        io2=$(io_test ${writemb})
+        echo " I/O Speed(2nd run) : $(_yellow "$io2")"
+        io3=$(io_test ${writemb})
+        echo " I/O Speed(3rd run) : $(_yellow "$io3")"
+        ioraw1=$(echo "$io1" | awk 'NR==1 {print $1}')
+        [ "$(echo "$io1" | awk 'NR==1 {print $2}')" == "GB/s" ] && ioraw1=$(awk 'BEGIN{print '"$ioraw1"' * 1024}')
+        ioraw2=$(echo "$io2" | awk 'NR==1 {print $1}')
+        [ "$(echo "$io2" | awk 'NR==1 {print $2}')" == "GB/s" ] && ioraw2=$(awk 'BEGIN{print '"$ioraw2"' * 1024}')
+        ioraw3=$(echo "$io3" | awk 'NR==1 {print $1}')
+        [ "$(echo "$io3" | awk 'NR==1 {print $2}')" == "GB/s" ] && ioraw3=$(awk 'BEGIN{print '"$ioraw3"' * 1024}')
+        ioall=$(awk 'BEGIN{print '"$ioraw1"' + '"$ioraw2"' + '"$ioraw3"'}')
+        ioavg=$(awk 'BEGIN{printf "%.1f", '"$ioall"' / 3}')
+        echo " I/O Speed(average) : $(_yellow "$ioavg MB/s")"
+    else
+        echo " $(_red "Not enough space for I/O Speed test!")"
+    fi
+}
+
+print_end_time() {
+    end_time=$(date +%s)
+    time=$((end_time - start_time))
+    if [ ${time} -gt 60 ]; then
+        min=$((time / 60))
+        sec=$((time % 60))
+        echo " Finished in        : ${min} min ${sec} sec"
+    else
+        echo " Finished in        : ${time} sec"
+    fi
+    date_time=$(date '+%Y-%m-%d %H:%M:%S %Z')
+    echo " Timestamp          : $date_time"
+    echo " Follow             : $(_green "https://t.me/artydevc")"
+    echo " Follow             : $(_red "https://artydev.ru")"
+}
+
+! _exists "wget" && _red "Error: wget command not found.\n" && exit 1
+! _exists "free" && _red "Error: free command not found.\n" && exit 1
+# check for curl/wget
+_exists "curl" && local_curl=true
+# test if the host has IPv4/IPv6 connectivity
+[[ -n ${local_curl} ]] && ip_check_cmd="curl -s -m 4" || ip_check_cmd="wget -qO- -T 4"
+ipv4_check=$( (ping -4 -c 1 -W 4 ipv4.google.com >/dev/null 2>&1 && echo true) || ${ip_check_cmd} -4 icanhazip.com 2> /dev/null)
+ipv6_check=$( (ping -6 -c 1 -W 4 ipv6.google.com >/dev/null 2>&1 && echo true) || ${ip_check_cmd} -6 icanhazip.com 2> /dev/null)
+if [[ -z "$ipv4_check" && -z "$ipv6_check" ]]; then
+    _yellow "Warning: Both IPv4 and IPv6 connectivity were not detected.\n"
+fi
+[[ -z "$ipv4_check" ]] && online="$(_red "\xe2\x9c\x97 Offline")" || online="$(_green "\xe2\x9c\x93 Online")"
+[[ -z "$ipv6_check" ]] && online+=" / $(_red "\xe2\x9c\x97 Offline")" || online+=" / $(_green "\xe2\x9c\x93 Online")"
+start_time=$(date +%s)
+get_system_info
+check_virt
+clear
+print_intro
+next
+print_system_info
+ipv4_info
+next
+print_io_test
+next
+install_speedtest && speed && rm -fr speedtest-cli
+next
+print_end_time
+next

+ 412 - 0
install.sh

@@ -0,0 +1,412 @@
+#!/bin/bash
+
+# --- НАСТРОЙКИ ---
+# Цвета для вывода
+GREEN="\033[1;32m"
+YELLOW="\033[1;33m"
+RED="\033[1;31m"
+NC="\033[0m" # No Color
+
+# Путь к этому скрипту и его папке
+SCRIPT_DIR=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &>/dev/null && pwd)
+
+# Имена файлов с пакетами
+PACMAN_PKGS="pkglist.txt"
+AUR_PKGS="aurlist.txt"
+
+# --- НАСТРОЙКИ СИМЛИНКОВ (Имена папок в репозитории) ---
+# Вам больше не нужно редактировать массивы!
+# Просто добавляйте файлы в эти папки.
+
+# 1. Папка для конфигов в $HOME/.config
+# (например, ~/dotfiles/config/bspwm -> ~/.config/bspwm)
+CONFIG_DIR_NAME="config"
+
+# 2. Папка для конфигов в $HOME
+# (например, ~/dotfiles/home/.zshrc -> ~/.zshrc)
+HOME_DIR_NAME="home"
+
+# 3. Папка для системных конфигов (управляется отдельной командой)
+# (например, ~/dotfiles/system/etc/vconsole.conf -> /etc/vconsole.conf)
+SYSTEM_DIR_NAME="system"
+
+
+# --- ХЕЛПЕРЫ ---
+msg() {
+    echo -e "${GREEN}[INFO]${NC} $1"
+}
+warn() {
+    echo -e "${YELLOW}[WARN]${NC} $1"
+}
+err() {
+    echo -e "${RED}[ERROR]${NC} $1"
+}
+
+# --- ФУНКЦИИ ---
+
+# 1. Установка YAY (AUR Helper)
+# ... (без изменений) ...
+install_yay() {
+    if ! command -v yay &>/dev/null; then
+        msg "YAY не найден. Установка YAY..."
+        # Проверяем наличие git и base-devel перед установкой yay
+        if ! pacman -Q git &>/dev/null || ! pacman -Q base-devel &>/dev/null; then
+             sudo pacman -S --needed --noconfirm git base-devel
+        fi
+        
+        git clone https://aur.archlinux.org/yay.git /tmp/yay
+        (cd /tmp/yay && makepkg -si --noconfirm)
+        rm -rf /tmp/yay
+        msg "YAY установлен."
+    else
+        msg "YAY уже установлен."
+    fi
+}
+
+# 2. Установка пакетов (Pacman и YAY)
+# ... (без изменений) ...
+install_packages() {
+    msg "Установка пакетов из Pacman ($PACMAN_PKGS)..."
+    # Читаем файл, убираем inline-комментарии (после #),
+    # убираем пустые строки, xargs очищает лишние пробелы
+    # и передает все как отдельные аргументы в pacman.
+    local pacman_args=$(sed 's/#.*//' "$SCRIPT_DIR/$PACMAN_PKGS" | grep -vE '^\s*$' | xargs)
+
+    if [[ ! -z "$pacman_args" ]]; then
+        sudo pacman -S --needed --noconfirm $pacman_args
+    else
+        msg "Список Pacman пуст, пропуск."
+    fi
+    
+    msg "Проверка и установка YAY..."
+    install_yay
+    
+    msg "Установка пакетов из AUR ($AUR_PKGS)..."
+    # Аналогично для YAY
+    local aur_args=$(sed 's/#.*//' "$SCRIPT_DIR/$AUR_PKGS" | grep -vE '^\s*$' | xargs)
+    
+    if [[ ! -z "$aur_args" ]]; then
+        yay -S --needed --noconfirm $aur_args
+    else
+        msg "Список AUR пуст, пропуск."
+    fi
+    
+    msg "Установка пакетов завершена."
+}
+
+# 3. Создание символических ссылок (ОБНОВЛЕНО)
+link_dotfiles() {
+    msg "Создание символических ссылок (симлинков)..."
+    
+    local source_dir=""
+    local target_dir=""
+
+    # --- 1. Линкуем файлы в $HOME (из папки 'home') ---
+    msg "  -> Линковка в $HOME (из '$HOME_DIR_NAME')"
+    source_dir="$SCRIPT_DIR/$HOME_DIR_NAME"
+    target_dir="$HOME"
+    
+    if [ -d "$source_dir" ]; then
+        # Ищем все файлы и папки на первом уровне в 'home/'
+        # -mindepth 1 (чтобы не найти саму папку 'home')
+        # -maxdepth 1 (чтобы найти '.zshrc', 'bin', но не 'bin/скрипт')
+        for item_path in $(find "$source_dir" -mindepth 1 -maxdepth 1); do
+            local item_name=$(basename "$item_path")
+            local source_path="$item_path"
+            local target_path="$target_dir/$item_name"
+            
+            # Бэкапим, если в $HOME уже что-то есть (и это не симлинк)
+            if [ -e "$target_path" ] && [ ! -L "$target_path" ]; then
+                warn "Файл/папка '$target_path' уже существует. Бэкап в '$target_path.bak'..."
+                mv "$target_path" "$target_path.bak"
+            fi
+            
+            ln -sfn "$source_path" "$target_path"
+            msg "    -> $target_path -> $source_path"
+        done
+    else
+        warn "Папка '$source_dir' не найдена. Пропуск $HOME линков."
+    fi
+
+    # --- 2. Линкуем файлы в $HOME/.config (из папки 'config') ---
+    msg "  -> Линковка в $HOME/.config (из '$CONFIG_DIR_NAME')"
+    source_dir="$SCRIPT_DIR/$CONFIG_DIR_NAME"
+    target_dir="$HOME/.config"
+    
+    # Создаем ~/.config, если его нет (на новой системе)
+    mkdir -p "$target_dir"
+    
+    if [ -d "$source_dir" ]; then
+        # Аналогичная логика для папки 'config'
+        for item_path in $(find "$source_dir" -mindepth 1 -maxdepth 1); do
+            local item_name=$(basename "$item_path")
+            local source_path="$item_path"
+            local target_path="$target_dir/$item_name"
+            
+            # Бэкапим, если в ~/.config уже есть такой конфиг (и это не симлинк)
+            if [ -e "$target_path" ] && [ ! -L "$target_path" ]; then
+                warn "Файл/папка '$target_path' уже существует. Бэкап в '$target_path.bak'..."
+                mv "$target_path" "$target_path.bak"
+            fi
+            
+            ln -sfn "$source_path" "$target_path"
+            msg "    -> $target_path -> $source_path"
+        done
+    else
+        warn "Папка '$source_dir' не найдена. Пропуск $HOME/.config линков."
+    fi
+    
+    msg "Симлинки созданы."
+}
+
+# 4. Проверка текущей конфигурации (ОБНОВЛЕНО)
+check_config() {
+    # ... (проверка пакетов остается без изменений) ...
+    msg "Проверка установленных пакетов Pacman..."
+    local missing_pacman=0
+    while IFS= read -r line || [[ -n "$line" ]]; do
+        local pkg=$(echo "$line" | sed 's/#.*//' | xargs)
+        if [[ -z "$pkg" ]]; then continue; fi
+        if ! pacman -Q "$pkg" &>/dev/null; then
+            warn "  -> Не найден (Pacman): $pkg"
+            missing_pacman=1
+        fi
+    done < "$SCRIPT_DIR/$PACMAN_PKGS"
+    if [ $missing_pacman -eq 0 ]; then msg "Все пакеты Pacman установлены."; fi
+
+    msg "Проверка установленных пакетов AUR..."
+    local missing_aur=0
+    while IFS= read -r line || [[ -n "$line" ]]; do
+        local pkg=$(echo "$line" | sed 's/#.*//' | xargs)
+        if [[ -z "$pkg" ]]; then continue; fi
+        if ! pacman -Q "$pkg" &>/dev/null; then
+            warn "  -> Не найден (AUR): $pkg"
+            missing_aur=1
+        fi
+    done < "$SCRIPT_DIR/$AUR_PKGS"
+    if [ $missing_aur -eq 0 ]; then msg "Все пакеты AUR установлены."; fi
+    
+    
+    msg "Проверка симлинков..."
+    
+    # --- 1. Проверка $HOME (из папки 'home') ---
+    local source_dir="$SCRIPT_DIR/$HOME_DIR_NAME"
+    if [ -d "$source_dir" ]; then
+        for item_path in $(find "$source_dir" -mindepth 1 -maxdepth 1); do
+            local item_name=$(basename "$item_path")
+            if [ ! -L "$HOME/$item_name" ]; then
+                warn "  -> Симлинк не найден: $HOME/$item_name"
+            fi
+        done
+    fi
+    
+    # --- 2. Проверка $HOME/.config (из папки 'config') ---
+    source_dir="$SCRIPT_DIR/$CONFIG_DIR_NAME"
+    if [ -d "$source_dir" ]; then
+        for item_path in $(find "$source_dir" -mindepth 1 -maxdepth 1); do
+            local item_name=$(basename "$item_path")
+            if [ ! -L "$HOME/.config/$item_name" ]; then
+                warn "  -> Симлинк не найден: $HOME/.config/$item_name"
+            fi
+        done
+    fi
+    
+    msg "Проверка завершена."
+}
+
+# 5. (Бонус) Проверка драйверов
+# ... (без изменений) ...
+check_drivers() {
+    msg "Проверка оборудования и рекомендации по драйверам..."
+    warn "Это только рекомендации! Не устанавливайте автоматически."
+    
+    # Видеокарта
+    local vga=$(lspci -k | grep -A 2 -E "(VGA|3D)")
+    
+    if echo "$vga" | grep -iq "NVIDIA"; then
+        warn "Найдена карта NVIDIA. Рекомендуемые пакеты:"
+        warn "  -> nvidia (или nvidia-lts, nvidia-dkms)"
+        warn "  -> lib32-nvidia-utils (для 32-bit)"
+        
+    elif echo "$vga" | grep -iq "Intel"; then
+        msg "Найдена карта Intel. Рекомендуемые пакеты (обычно уже в списке):"
+        msg "  -> mesa, lib32-mesa, vulkan-intel"
+        if ! pacman -Q xf86-video-intel &>/dev/null; then
+             warn "  -> xf86-video-intel (старый 2D драйвер, может быть не нужен)"
+        fi
+        
+    elif echo "$vga" | grep -iq "AMD"; then
+        msg "Найдена карта AMD/ATI. Рекомендуемые пакеты (обычно уже в списке):"
+        msg "  -> mesa, lib32-mesa, vulkan-radeon"
+    fi
+    
+    # Wi-Fi / Bluetooth
+    if lspci -k | grep -iq "broadcom"; then
+        warn "Найден чип Broadcom. Вам может понадобиться:"
+        warn "  -> broadcom-wl-dkms (для Wi-Fi)"
+    fi
+    
+    msg "Проверка драйверов завершена."
+}
+
+# 6. (НОВАЯ ФУНКЦИЯ) Интерактивная установка системных конфигов
+apply_system_configs() {
+    msg "--- РЕЖИМ: ПРИМЕНЕНИЕ СИСТЕМНЫХ КОНФИГОВ ---"
+    local system_source_dir="$SCRIPT_DIR/$SYSTEM_DIR_NAME"
+    
+    if [ ! -d "$system_source_dir" ]; then
+        err "Папка '$system_source_dir' не найдена. Создайте ее и поместите туда конфиги."
+        return 1
+    fi
+    
+    # Ищем все *файлы* внутри папки 'system'
+    find "$system_source_dir" -type f | while read -r source_file; do
+        # Получаем относительный путь (например, "etc/vconsole.conf")
+        local rel_path=${source_file#$system_source_dir/}
+        # Получаем абсолютный целевой путь (например, "/etc/vconsole.conf")
+        local target_file="/$rel_path"
+        
+        msg "Найден конфиг: $rel_path"
+        
+        # 1. Проверяем, существует ли оригинал
+        if [ ! -f "$target_file" ]; then
+            warn "Файл '$target_file' не существует. Хотите скопировать новый?"
+            read -p "  [y/N] (Да/Нет): " choice < /dev/tty
+            if [[ "$choice" == "y" || "$choice" == "Y" ]]; then
+                # Создаем дирректорию, если нужно
+                sudo mkdir -p "$(dirname "$target_file")"
+                sudo cp "$source_file" "$target_file"
+                msg "  -> СКОПИРОВАНО: $target_file"
+            else
+                msg "  -> Пропущено."
+            fi
+            continue # Переходим к следующему файлу
+        fi
+        
+        # 2. Оригинал существует, показываем diff
+        if command -v diff &>/dev/null; then
+            msg "Разница между вашим конфигом (dotfiles) и системным (/) :"
+            # diff [оригинал] [новый]
+            diff -u "$target_file" "$source_file" || true # || true чтобы скрипт не падал, если есть разница
+        else
+            warn "Команда 'diff' не найдена. Не могу показать разницу."
+        fi
+        
+        # 3. Запрос на замену
+        warn "Заменить системный файл '$target_file'?"
+        read -p "  [y/N/b] (Да / Нет / Бэкап и замена): " choice < /dev/tty
+        
+        case "$choice" in
+            y|Y)
+                sudo cp "$source_file" "$target_file"
+                msg "  -> ЗАМЕНЕНО: $target_file"
+                ;;
+            b|B)
+                sudo mv "$target_file" "$target_file.bak"
+                sudo cp "$source_file" "$target_file"
+                msg "  -> БЭКАП СОЗДАН: $target_file.bak"
+                msg "  -> ЗАМЕНЕНО: $target_file"
+                ;;
+            *)
+                msg "  -> Пропущено."
+                ;;
+        esac
+    done
+    
+    msg "--- СИСТЕМНЫЕ КОНФИГИ ОБРАБОТАНЫ ---"
+}
+
+# 7. (НОВАЯ ФУНКЦИЯ) Создание стандартных папок пользователя
+create_user_dirs() {
+    msg "Проверка и создание стандартных папок пользователя (Downloads, Desktop...)"
+    
+    if command -v xdg-user-dirs-update &>/dev/null; then
+        msg "  -> Найден xdg-user-dirs-update. Запускаем..."
+        xdg-user-dirs-update
+        msg "  -> XDG папки обновлены."
+    else
+        warn "  -> 'xdg-user-dirs-update' не найден."
+        warn "  -> (Рекомендуется: добавьте 'xdg-user-dirs' в pkglist.txt для корректной локализации)"
+        msg "  -> Создаем базовые папки вручную (на английском)..."
+        
+        # Создаем стандартный набор
+        mkdir -p \
+            "$HOME/Desktop" \
+            "$HOME/Documents" \
+            "$HOME/Downloads" \
+            "$HOME/Music" \
+            "$HOME/Pictures" \
+            "$HOME/Public" \
+            "$HOME/Templates" \
+            "$HOME/Videos"
+        
+        msg "  -> Базовые папки созданы."
+    fi
+}
+
+
+# --- ГЛАВНЫЙ БЛОК (ВЫБОР РЕЖИМА) ---
+
+show_help() {
+    echo "Скрипт управления конфигурацией Arch Linux (Dotfiles)"
+    echo "Использование: $0 [команда]"
+    echo
+    echo "Команды:"
+    echo "  install   - Установить все пакеты и создать симлинки (полная установка)."
+    echo "  check     - Проверить, все ли установлено и настроено."
+    echo "  update    - Обновить конфиг из Git и применить изменения (пакеты, симлинки)."
+    echo "  drivers   - (Бонус) Проверить оборудование и предложить драйверы."
+    echo "  system    - (НОВОЕ) Интерактивно применить системные конфиги из папки '$SYSTEM_DIR_NAME'."
+    echo "  help      - Показать это сообщение."
+}
+
+# Проверяем, что скрипт не запущен от root
+if [ "$EUID" -eq 0 ]; then
+  err "Не запускайте этот скрипт от имени root (используйте 'sudo' только когда он сам попросит)."
+  exit 1
+fi
+
+# Если нет аргументов, показать помощь
+if [ $# -eq 0 ]; then
+    show_help
+    exit 0
+fi
+
+case "$1" in
+    install)
+        msg "--- РЕЖИМ: ПОЛНАЯ УСТАНОВКА ---"
+        install_packages
+        link_dotfiles
+        create_user_dirs # <-- ДОБАВЛЕНО
+        msg "--- УСТАНОВКА ЗАВЕРШЕНА ---"
+        msg "Для применения системных конфигов (vconsole.conf и т.д.) запустите: $0 system"
+        ;;
+    check)
+        msg "--- РЕЖИМ: ПРОВЕРКА КОНФИГУРАЦИИ ---"
+        check_config
+        ;;
+    update)
+        msg "--- РЕЖИМ: ОБНОВЛЕНИЕ КОНФИГУРАЦИИ ---"
+        msg "1. Получение изменений из Git (git pull)..."
+        if ! git pull; then
+            err "Не удалось выполнить 'git pull'. Проверьте подключение и статус репозитория."
+            exit 1
+        fi
+        msg "2. Применение изменений (установка/линковка)..."
+        install_packages
+        link_dotfiles
+        create_user_dirs # <-- ДОБАВЛЕНО
+        msg "--- ОБНОВЛЕНИЕ ЗАВЕРШЕНО ---"
+        ;;
+    drivers)
+        msg "--- РЕЖИМ: ПРОВЕРКА ДРАЙВЕРОВ ---"
+        check_drivers
+        ;;
+    system)
+        # (НОВЫЙ РЕЖИМ)
+        apply_system_configs
+        ;;
+    help|*)
+        show_help
+        ;;
+esac

+ 12 - 0
oh_my_zsh_install.sh

@@ -0,0 +1,12 @@
+#!/bin/bash
+
+#	$$$$$$$$\ $$$$$$$$\   $$\             $$\        $$$$$$\              $$\     
+#	\__$$  __|$$  _____|$$$$ |            $$ |      $$$ __$$\             $$ |    
+#	   $$ |   $$ |      \_$$ |   $$$$$$$\ $$$$$$$\  $$$$\ $$ | $$$$$$$\ $$$$$$\   
+#	   $$ |   $$$$$\      $$ |  $$  _____|$$  __$$\ $$\$$\$$ |$$  _____|\_$$  _|  
+#	   $$ |   $$  __|     $$ |  $$ /      $$ |  $$ |$$ \$$$$ |\$$$$$$\    $$ |    
+#	   $$ |   $$ |        $$ |  $$ |      $$ |  $$ |$$ |\$$$ | \____$$\   $$ |$$\ 
+#	   $$ |   $$$$$$$$\ $$$$$$\ \$$$$$$$\ $$ |  $$ |\$$$$$$  /$$$$$$$  |  \$$$$  |
+#	   \__|   \________|\______| \_______|\__|  \__| \______/ \_______/    \____/
+
+sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

+ 68 - 0
pkglist.txt

@@ -0,0 +1,68 @@
+# ~/dotfiles/pkglist.txt
+# (Комментарии игнорируются)
+
+# --- Система ---
+openssh
+networkmanager
+git
+curl
+wget
+grub
+efibootmgr # Если EFI
+man-db
+man-pages
+texinfo
+vi
+vim
+sudo
+
+# --- Утилиты ФС ---
+btrfs-progs
+exfatprogs
+e2fsprogs
+ntfs-3g
+
+# --- Графика (Xorg) ---
+xorg
+
+# --- Драйверы Intel ---
+mesa
+lib32-mesa
+vulkan-intel
+xf86-video-intel
+
+# --- Основные приложения ---
+firefox
+ranger # Файловый менеджер
+bat # 'cat' с подсветкой
+alacritty # Терминал
+telegram-desktop
+fastfetch
+
+# --- Утилиты (CLI) ---
+jp2a
+img2pdf
+ueberzug # Для превью картинок в ranger
+pacman-contrib # (для 'paccache' и др.)
+
+# --- Окружение (WM) ---
+bspwm
+sxhkd
+rofi
+polybar
+picom
+dunst # Уведомления
+libnotify
+feh # Установка обоев
+upower # Для polybar (батарея)
+libinput
+
+# --- Bluetooth ---
+bluez
+bluez-utils
+blueman
+
+# --- Шрифты и темы ---
+papirus-icon-theme
+ttf-opensans
+ttf-hack-nerd

+ 1 - 0
system/etc/locale.conf

@@ -0,0 +1 @@
+LANG=ru_RU.UTF-8

+ 2 - 0
system/etc/locale.gen

@@ -0,0 +1,2 @@
+en_US.UTF-8 UTF-8
+ru_RU.UTF-8 UTF-8

+ 2 - 0
system/etc/vconsole.conf

@@ -0,0 +1,2 @@
+KEYMAP=ru
+FONT=cyr-sun16