Skip to content

Zayon/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

dotfiles

Archlinux Installation

Archlinux Installation gist

Set up dotfiles

pacman -S git
git clone --bare https://github.com/Zayon/dotfiles.git $HOME/.dotfiles
alias dot='/usr/bin/git --git-dir=$HOME/.dotfiles --work-tree=/'
dot checkout
dot config status.showUntrackedFiles no
dot restore .
sudo git --git-dir=$HOME/.dotfiles --work-tree=/ checkout -f

Install stuff

sudo pacman -S reflector
sudo reflector --country France --age 12 --protocol https --sort rate --save /etc/pacman.d/mirrorlist
sudo pacman -S \
    plasma-desktop plasma-pm plasma-pa kscreen \
    powerdevil power-profiles-daemon qt6-tools kwallet-pam \
    breeze-gtk kde-gtk-config xdg-desktop-portal xdg-desktop-portal-kde \
    dolphin gwenview kcalc \
    fish \
    i3 \
    pipewire \
    picom \
    bluez bluez-utils bluedevil \
    firefox \
    rofi \
    spotify-launcher \
    flameshot \
    openssh \
    playerctl \
    wget \
    feh \
    bat \
    exa \
    code \
    fzf \
    ncdu \
    ark \
    xkill \
    vlc \
    python python-dbus \
    docker docker-compose \
    libappindicator-gtk3 \
    chromium \
    xdotool wmctrl \
    fzf git-delta \
    bandwhich \
    task \
    lsp-plugins calf easyeffects \
    sof-firmware # For audio on thinkpads
    sxhkd \
    alacritty kitty \
    xorg-xmodmap \

Install more stuff (AUR)

git clone https://aur.archlinux.org/yay.git
cd yay
makepkg -si

yay phpstorm
yay phpstorm-jre
yay slack-desktop
yay signal-desktop
yay chromium
yay tidgi
yay -S bismuth
yay -S plasma5-applets-eventcalendar
yay -S plasma5-applets-window-title
yay git-interactive-rebase-tool
yay -S c++utilities qtutilities qtforkawesome syncthingtray

Use fish as default shell

chsh -s /usr/bin/fish

Various useful commands

xmodmap .Xmodmap

Backlight

sudo pacman -S light

sudo gpasswd -a $USER video
sudo chmod g+w /sys/class/backlight/intel_backlight/brightness
sudo chgrp video /sys/class/backlight/intel_backlight/brightness

Configure i3 + KDE

sudo vim /usr/share/xsessions/plasma-i3.desktop

[Desktop Entry]
Type=XSession
Exec=env KDEWM=/usr/bin/i3 /usr/bin/startplasma-x11
TryExec=/usr/bin/startplasma-x11
DesktopNames=KDE
Name=Plasma (i3)
Comment=Plasma with i3

Touchpad Gestures

git clone https://github.com/bulletmark/libinput-gestures.git
cd libinput-gestures
sudo make install (or sudo ./libinput-gestures-setup install)

libinput-gestures-setup service
systemctl --user enable libinput-gestures.service

Syncthing

sudo pacman -S syncthing

systemctl enable syncthing@$USER.service

systemctl start syncthing@$USER.service

Web GUI

Firefox config

cd $HOME/.mozilla/firefox/<profile>/
ln -s $HOME/.config/firefox/user.js user.js
ln -s $HOME/.config/firefox/chrome chrome

Network Manager config

#/etc/NetworkManager/conf.d/dns.conf

[main]
dns=none

Set FDN DNS

#/etc/resolv.conf

nameserver 80.67.169.12
nameserver 80.67.169.40

Performances

sudo vim /etc/sysctl.d/99-swappiness.conf

vw.swappiness=10

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published