owl410 8d4354e168 Обновить 'bspwm/my_bspwm/README.md' | 1 year ago | |
---|---|---|
.. | ||
.build | 2 years ago | |
.config | 2 years ago | |
.fonts | 2 years ago | |
.icons | 2 years ago | |
.img | 2 years ago | |
.themes | 2 years ago | |
.wallpaper | 2 years ago | |
.bash_profile | 2 years ago | |
.bashrc | 2 years ago | |
.gtkrc-2.0 | 2 years ago | |
.xinitrc | 2 years ago | |
README.md | 1 year ago |
DIstro | VOID |
---|---|
WM | BSPWM |
Bar | Polybar |
Terminal | St |
Shell | Fish |
Icon | la-capitaine-icon-theme |
GTK3 | X-Arc-Plus |
Fonts | JetBrainsMono |
VOID INSTALL:
BIOS:
cfdisk /dev/sda
mkfs.btrfs -f /dev/sda4
mount /dev/sda4 /mnt
EFI:
cfdisk /dev/sdd
mkfs.vfat /dev/sdd4
mkfs.btrfs -f /dev/sdd5
mount /dev/sdd5 /mnt
mkdir -p /mnt/boot/efi/
mount /dev/sdd4 /mnt/boot/efi/
REPO=https://repo-default.voidlinux.org/current
ARCH=x86_64
mkdir -p /mnt/var/db/xbps/keys
cp /var/db/xbps/keys/* /mnt/var/db/xbps/keys/
XBPS_ARCH=$ARCH xbps-install -S -r /mnt -R "$REPO" base-system
mount --rbind /sys /mnt/sys && mount --make-rslave /mnt/sys
mount --rbind /dev /mnt/dev && mount --make-rslave /mnt/dev
mount --rbind /proc /mnt/proc && mount --make-rslave /mnt/proc
cp /etc/resolv.conf /mnt/etc/
PS1='(chroot) # ' chroot /mnt/ /bin/bash
xbps-install micro
micro /etc/default/libc-locales
xbps-reconfigure -f glibc-locales
ln -sf /usr/share/zoneinfo/Asia/Novosibirsk /etc/localtime
passwd
useradd -m -g users -G wheel -s /bin/bash username
usermod -aG audio username
passwd user
EDITOR=micro visudo user ALL=(ALL) ALL
cp /proc/mounts /etc/fstab
BIOS:
xbps-install grub
grub-install /dev/sda
echo GRUB_DISABLE_OS_PROBER=false >> /etc/default/grub
update-grub
EFI:
xbps-install grub-x86_64-efi
grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id="Void"
echo GRUB_DISABLE_OS_PROBER=false >> /etc/default/grub
update-grub
xbps-reconfigure -fa
exit
reboot
DHCPCD:
sudo ln -s /etc/sv/dhcpcd /var/service
sudo sv up dhcpcd
AUTOLOGIN & AUTOSTRTX:
sudo micro /etc/sv/agetty-tty1/conf
GETTY_ARGS="-a username --noclear"
micro ./config/fish/config.fish
if status is-login
if test -z "$DISPLAY" -a "$(tty)" = /dev/tty1
exec startx -- -keeptty
end
end
ALSA:
sudo xbps-install alsa-lib alsa-lib-devel alsa-plugins alsa-tools alsa-utils
sudo ln -s /etc/sv/alsa /var/service
sudo sv up alsa
CHRONY:
sudo xbps-install chrony
sudo ln -s /etc/sv/chronyd /var/service
sudo sv up chronyd
KEYBOARD:
sudo micro /etc/X11/xorg.conf.d/00-keyboard.conf
Section "InputClass"
Identifier "system-keyboard"
MatchIsKeyboard "on"
Option "XkbLayout" "us,ru"
Option "XkbModel" "pc105"
Option "XkbOptions" "grp:alt_shift_toggle"
EndSection
FISH-SHELL:
sudo xbps-install fish-shell
fish
curl -sL https://git.io/fisher | source && fisher install jorgebucaran/fisher
fisher install jorgebucaran/nvm.fish
fisher install IlanCosman/tide@v5
chsh -s /usr/bin/fish
set -U fish_greeting
tide configure - что бы конфигурировать тильды
BSPWM:
xbps-install bspwm sxhkd xorg xinit mesa numlockx nitrogen git make patch gcc
libX11-devel libXinerama-devel libXft-devel base-devel unzip fish-shell picom
sudo chmod 777 .config/bspwm/bspwmrc
SOFT:
firefox telegram-desktop viewnior mpv Thunar tumbler mupdf leafpad gimp ardour lmms audacity obs xdg-desktop-portal-wlr transmission transmission-gtk inkscape blender ghostscript
TERMINAL:
htop links cmus neofetch scrot ranger cava ueberzug w3m ImageMagick
POLYBAR:
polybar font-awesome6 jq curl
ICONS CURSORS:
cd ~/.icons
git clone https://github.com/keeferrourke/la-capitaine-icon-theme.git
set XCURSOR_THEME capitaine-cursors
CMUS:
start cmus
disable mpris in the settings
set output_plugin=alsa
set dsp.alsa.device=default
set mixer.alsa.device=default
set mixer.alsa.channel=Master
VIRT-MANAGER:
sudo xbps-install virt-manager qemu bridge-utils dnsmasq
sudo usermod -aG kvm username
sudo usermod -aG libvirt username
sudo ln -s /etc/sv/libvirtd /var/service
sudo ln -s /etc/sv/virtlockd /var/service
sudo ln -s /etc/sv/virtlogd /var/service
sudo ln -s /etc/sv/dbus /var/service
DMENU:
git clone https://git.suckless.org/dmenu
cd dmenu
patch < dmenu-xyw-5.0.diff
sudo make clean install
ST TERMINAL:
git clone https://git.suckless.org/st
cd st
edit config.def.h
sudo make clean install
LUTRIS:
sudo xbps-install void-repo-multilib
sudo xbps-install -Suy
sudo xbps-install lutris MangoHud MangoHud-32bit wine winetricks wine-32bit mesa-dri-32bit libGL-32bit libtxc_dxtn-32bit giflib giflib-32bit libpng libpng-32bit libldap libldap-32bit gnutls gnutls-32bit mpg123 libopenal libopenal-32bit v4l-utils v4l-utils-32bit libgpg-error libgpg-error-32bit alsa-plugins alsa-plugins-32bit alsa-lib alsa-lib-32bit libjpeg-turbo libjpeg-turbo-32bit sqlite sqlite-32bit libXcomposite libXcomposite-32bit libXinerama libXinerama-32bit libgcrypt libgcrypt-32bit ncurses ncurses-libs ncurses-libs-32bit ocl-icd ocl-icd-32bit libxslt libxslt-32bit libva libva-32bit gst-plugins-base1 gst-plugins-base1-32bit amdvlk amdvlk-32bit vkd3d vkd3d-devel vkd3d-32bit vulkan-loader vulkan-loader-32bit libX11-devel libX11-devel-32bit libgpg-error libgpg-error-32bit gdk-pixbuf gdk-pixbuf-32bit libgcc libgcc-32bit libglvnd libglvnd-32bit mesa-vulkan-radeon mesa-vulkan-radeon-32bit vulkan-loader vulkan-loader-32bit