[go: up one dir, main page]

Skip to content

kxxian/dotfilesv2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dotfiles

Dotfiles and instructions to make my Arch Linux portable and easy to replicate

Last Screenshot

image

How I Installed Arch Linux

Basic Steps

  • Boot live environment

  • Connect to the internet iwctl station <INTERFACE> connect <SSID>

  • Use archinstall command archinstall

    This command will make your life easier, some of my choices are:

    Bootloader: grub
    Profile: xorg
    Audio: pipeware
    NetworkConfiguration: NetworkManager
    AdditionalPackages: [
         vi,                 # Text Editor
         vim,                # Text Editor
         neovim,             # Text Editor / IDE
         git,                # Git
         qtile,              # Window manager
         qutebrowser,        # Web Browser
         zip,                # Zip command
         unzip,              # Unzip command
         brightnessctl,      # Brightness control
         zsh,                # Shell
         kitty,              # Terminal Emulator
         arandr,             # Screen profiles
         autorandr,          # Screen profiles
         dunst,              # Notifications
         feh,                # Wallpapers
         rofi                # Menus
    ]

    Note 1: Set a password for root and add an non root user
    Note 2: You dont need chroot into the installed distro, just reboot and login

AUR helper - Yay

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

Fonts

  • Install these fonts
        yay -S ttf-font-awesome ttf-fira-code ttf-nerd-fonts-symbols

Dotfiles (This reposiory)

  • Clone and checkout dotfiles repository

    echo ".dotfiles" >> .gitignore
    git clone --bare <https://github.com/devx-ph/dotfiles.git> $HOME/.dotfiles
    alias dotfiles='/usr/bin/git --git-dir=$HOME/.dotfiles --work-tree=$HOME'
    dotfiles config --local status.showUntrackedFiles no
    dotfiles checkout

    Obs.: When checking out you may receive a message requesting to remove files when you already have them.

Shell - Zsh

  • Run chsh -s /usr/bin/zsh (to make it default shell)
  • Install exa and procs (that replace ls and ps. See more on Rewritten in Rust Commands)
  • Clone zsh-autosuggestions from GitHub
  • Install and configure powerlevel10k (zsh theme)
  • Install fzf fuzzy finder

Terminal Emulator - Kitty

  • Nothing to do

Display Manager - Ly

  • Enable Ly service
        sudo systemctl enable ly.service

Window Manager - Qtile

  • Install these packages:

        yay -S wireless_tools iwgtk alsa-utils flameshot python-pip
    
        # wireless_tools (for wlan widget)
        # iwgtk (for GUI on click of wlan widget)
        # alsa-utils (for volume)
        # flameshot (for screenshots)
        # pip (for install python packages)
  • Install these python packages

        pip install iwlib psutil dbus-next
  • Install a compositor (for transparency, transitions, blurs and more effects)
    I used Pijulius

Note 1: Fonts are required to see all symbols in Qtile. Otherwise you will see weird squares instead symbols.
Note 2: Check Qtile documentation

Wallpapers and Screen Locker (Optional) - Betterlockscreen

  • Download some wallpaper images into ~/.wallpapers
  • Install the screen locker
        yay -S betterlockscreen
        betterlockscreen -u ~/.wallpapers
  • Use Feh to set the wallpaper
        # Example
        feh --bg-fill --randomize ~/.wallpapers/*

App Launcher and menus (Optional) - Rofi & dmenu

  • I used adi1090x/rofi for my rofi theme
    • Install adi1090x rofi theme
    • Run dotfiles restore ~/.config/rofi
    • For power menu works as expected:
      • run visudo and add these lines:
            ## Admin user group is allowed to execute halt and reboot 
            %admin ALL=NOPASSWD: /sbin/halt, /sbin/reboot, /sbin/poweroff
      • And add your user to admin group
            sudo groupadd admin
            sudo usermod igortxra -a -G admin

File Manager - ranger

Other

Discord

yay -S discord ttf-symbola noto-fonts-cjk noto-fonts-emoji

udiskie

yay -S udiskie and see permissions

More Configurations

  • Install and use lxappearance to set themes and icons.

  • Set Qutebrowser as default browser running: xdg-settings set default-web-browser org.qutebrowser.qutebrowser.desktop

  • Set your Qutebrowser quickmarks (I stored somewhere and downloaded)

  • Set a theme for Qutebrowser such as Dracula

  • Screen Profiles

    • First use arandr to configure screen layout
    • After that use autorandr to save the profile
         autorandr --save <profile-name>