Coder Social home page Coder Social logo

kxxian / dotfilesv2 Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 10.03 MB

My Arch Linux Dotfilesv2

Home Page: https://github.com/devx-ph/dotfilesv2

Shell 9.88% Python 27.38% Makefile 2.51% C 39.65% Roff 4.72% Lua 15.86%
archlinux-dotfiles shell-scripts

dotfilesv2's Introduction

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>

dotfilesv2's People

Contributors

kxxian avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.