6 Angajamente 81f62986e9 ... 9242af46fd

Autor SHA1 Permisiunea de a trimite mesaje. Dacă este dezactivată, utilizatorul nu va putea trimite nici un fel de mesaj Data
  Vitaliy Timtsurak 9242af46fd Merge branch 'main' of ssh://git.te4gh0st.ru:222/te4gh0st/dotfiles 3 luni în urmă
  Vitaliy Timtsurak 697f52940d fix ssh-agent 3 luni în urmă
  Vitaliy Timtsurak ac893fe305 Add package 3 luni în urmă
  Vitaliy Timtsurak 8974696fef Update laptop external 3 luni în urmă
  Vitaliy Timtsurak e0bb9d35b5 Update laptop external 3 luni în urmă
  Vitaliy Timtsurak 64e342334c Update all .gitignore 3 luni în urmă

+ 1 - 0
aurlist.txt

@@ -6,3 +6,4 @@ networkmanager-dmenu
 nomacs
 google-chrome
 clipton
+ttf-times-new-roman

+ 9 - 1
config/bspwm/bspwmrc

@@ -45,7 +45,15 @@ then
 	bspc monitor HDMI-2 -d 6 7 8 9 10
 elif [ $profile == "laptop" ]
 then
-	bspc monitor eDP-1 -d 1 2 3 4 5 6 7
+	bspc monitor eDP-1 -d 6 7 8 9 10
+	bspc monitor HDMI-1-0 -d 1 2 3 4 5
+
+	if [[ $(xrandr -q | grep " connected" | wc -l) -ge 2 ]]; then
+		bspc monitor eDP-1 -d 6 7 8 9 10
+		bspc monitor HDMI-1-0 -d 1 2 3 4 5
+	else
+		bspc monitor eDP-1 -d 1 2 3 4 5 6 7
+	fi
 else
 	_primary=$(xrandr -q | grep "primary" | cut -d' ' -f1)
 	bspc monitor $_primary -d 1 2 3 

+ 66 - 4
config/polybar/config.ini

@@ -115,6 +115,67 @@ tray-position = right
 tray-padding = 2
 
 wm-restack = bspwm
+
+[bar/laptop_external]
+; Выбор монитора. 'primary' - основной.
+; Узнать: 'xrandr -q' (например, 'eDP-1')
+#monitor = ${env:MONITOR:primary}
+monitor = HDMI-1-0
+
+; Геометрия
+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 = network-wireless
+
+; Включить поддержку IPC (для отправки команд в polybar)
+enable-ipc = true
+
+; Системный трей
+tray-position = right
+tray-padding = 2
+
+wm-restack = bspwm
+
 [bar/bar1]
 ; Выбор монитора. 'primary' - основной.
 ; Узнать: 'xrandr -q' (например, 'eDP-1')
@@ -347,7 +408,7 @@ scroll-down = pulseaudio-ctl down 5
 type = internal/network
 ; [!] Замени 'wlan0' на имя своего Wi-Fi интерфейса
 ; Узнать: 'ip link'
-interface = wlp0s20f0u7
+interface = wlan0:
 interface-type = wireless
 interval = 3.0
 
@@ -363,7 +424,8 @@ label-disconnected-foreground = ${colors.disabled}
 
 ; [!] Управление сетью (как ты просил)
 ; ЛКМ: Открыть 'networkmanager_dmenu' для выбора сети
-click-left = networkmanager_dmenu
+click-right = alacritty -e nmtui &
+click-left = networkmanager_dmenu &
 
 ; [Модуль] Сеть (Wired)
 [module/network-wired]
@@ -421,7 +483,7 @@ label = %output%
 ; Действие
 ; ЛКМ: Запустить обновление системы в терминале
 ; [!] Замени 'alacritty' на свой терминал (kitty, st, etc.)
-click-left = alacritty -e sudo pacman -Sy &
+click-left = alacritty -e sudo pacman -Syu &
 
 ; [Модуль] CPU
 [module/cpu]
@@ -525,7 +587,7 @@ animation-charging-framerate = 750
 type = custom/text
 ; Иконка выключения
 content = 
-content-foreground = ${colors.alert}
+content-foreground = ${colors.foreground}
 content-padding = 1
 
 ; ЛКМ: запустить скрипт powermenu

+ 2 - 2
config/polybar/launch.sh

@@ -23,8 +23,8 @@ then
 	notify-send "Запуск профиля: $profile"
 	# Запуск Polybar
 	if [[ $(xrandr -q | grep " connected" | wc -l) -ge 2 ]]; then
-		polybar bar1 &
-		polybar bar2 &
+		polybar laptop &
+		polybar laptop_external &
 	else
 		polybar laptop &
 	fi

+ 2 - 2
config/polybar/scripts/get_bluetooth_status.sh

@@ -2,8 +2,8 @@
 # ~/.config/polybar/scripts/get_bluetooth_status.sh
 
 # Цвета из конфига polybar (если хочешь)
-COLOR_DISABLED="#665c54" # ${colors.disabled}
-COLOR_DEFAULT="#ebdbb2"  # ${colors.foreground}
+COLOR_DISABLED="#ff5555" # ${colors.disabled}
+COLOR_DEFAULT="#1793d1"  # ${colors.foreground}
 
 if [ $(bluetoothctl show | grep "Powered: yes" | wc -c) -eq 0 ]; then
   # Выключено

+ 12 - 0
config/systemd/user/ssh-agent.service

@@ -0,0 +1,12 @@
+[Unit]
+Description=SSH key agent
+
+[Service]
+Type=simple
+Environment=SSH_AUTH_SOCK=%t/ssh-agent.socket
+Environment=SSH_ASKPASS=/usr/bin/lxqt-openssh-askpass
+Environment=SSH_ASKPASS_REQUIRE=prefer
+ExecStart=/usr/bin/ssh-agent -D -a $SSH_AUTH_SOCK
+
+[Install]
+WantedBy=default.target

+ 1 - 0
home/.local/share/Trash/.gitignore

@@ -0,0 +1 @@
+*

+ 1 - 0
home/.local/share/gvfs-metadata/.gitignore

@@ -0,0 +1 @@
+*

+ 1 - 0
home/.local/share/keyrings/.gitignore

@@ -0,0 +1 @@
+*

+ 1 - 0
home/.local/share/nautilus/.gitignore

@@ -0,0 +1 @@
+*

+ 1 - 0
home/.local/share/nvim/plugged/.gitignore

@@ -0,0 +1 @@
+*

+ 1 - 0
home/.local/share/nvim/site/autoload/.gitignore

@@ -0,0 +1 @@
+*

+ 1 - 0
home/.local/share/ranger/.gitignore

@@ -0,0 +1 @@
+*

+ 1 - 0
home/.local/share/vlc/.gitignore

@@ -0,0 +1 @@
+*

+ 1 - 0
home/.local/state/wireplumber/.gitignore

@@ -0,0 +1 @@
+*

+ 1 - 0
home/.zshrc

@@ -17,6 +17,7 @@
 export ZSH="$HOME/.oh-my-zsh"
 export EDITOR=/bin/nvim
 export PATH="$HOME/bin:$PATH"
+export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/ssh-agent.socket"
 
 # See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes
 ZSH_THEME="agnoster"

+ 1 - 0
home/bin/nekoray/config/.gitignore

@@ -0,0 +1 @@
+*

+ 1 - 0
home/bin/nekoray/config/groups/.gitignore

@@ -0,0 +1 @@
+*

+ 15 - 2
pkglist.txt

@@ -3,6 +3,7 @@
 
 # --- Система ---
 openssh
+inetutils
 networkmanager
 git
 curl
@@ -34,6 +35,7 @@ terminus-font
 unrar
 unzip
 zip
+arandr
 
 # --- Утилиты ФС ---
 btrfs-progs
@@ -65,16 +67,27 @@ kleopatra
 obsidian
 pavucontrol
 smbclient
+gvfs
+gvfs-backends
+gvfs-smb
 thunderbird
+thunderbird-i18n-ru
 virtualbox
 virtualbox-host-modules-arch
 xorg-xinit
+gnome-calculator
+nautilus
+zathura
+zathura-pdf-poppler 
+
 
 # --- Утилиты (CLI) ---
-jp2a
-img2pdf
+jp2a # Для превью в ranger
+img2pdf # Для превью в ranger
 ueberzug # Для превью картинок в ranger
+docx2txt # Для превью в ranger
 pacman-contrib # (для 'paccache' и др.)
+lxqt-openssh-askpass # GUI-окно для ввода пароля (SSH_ASKPASS)
 
 # --- Окружение (WM) ---
 bspwm