dotfiles icon indicating copy to clipboard operation
dotfiles copied to clipboard

Aesthetic Dotfiles for my Arch Linux rabbit hole 🐇

━━━━━━ ❖ ━━━━━━

stars size Visitors license

HynDuf's dotfiles

:pencil: Table of contents

  • :herb: About
  • :camera: Showcase
    • Overview
    • Rofi Utils
    • Fonts
  • :wrench: Set up
    • Preinstall
    • Dependency
    • Polybar
    • Rofi and Eww
    • Picom
    • Sxhkd Keybindings
    • Others
  • :tada: Credits

:herb: About

Rice Showcase

Thanks for dropping by!

This is my personal repository for my Arch dotfiles (always WIP)

Here are some information about my setup:

:camera: Showcase

Overview

Here are some details about programs in the screenshots:

overview-1 overview-2 overview-3 overview-4 overview-5 overview-6 overview-7 overview-8 overview-9

Rofi Utils

These rofi configurations are highly based on adi1090x/rofi (it's not like I just copied it and changed some colors or anything :flushed:)

Rofi app launchers, directory menu and windows menu

app-menu directory-menu windows-menu

Rofi calculator, emoji selector and wifi menu

calculator emoji-menu wifi-menu

Rofi power menu

rofi-power-menu

Fonts

:wrench: Set up

:warning: Note: This configuration was made for my Laptop (Arch-based distribution specifically), so some things might not work on yours, in that case, please try if you can fix that up as much as possible, or you can open an issue for help :smile:.

This was made for a 1920x1080 and 75 dpi screen.

Most programs can be installed and used easily by following guides from their own github (I already added as many links as possible). Some other harder ones I'll state below.

Preinstall

Just to be tidy, create a folder for your about-to-download packages as you would want to delete redundant things afterward.

mkdir ~/Downloads
cd ~/Downloads

Clone my dotfiles in advance for later uses (~/Downloads/dotfiles):

git clone https://github.com/HynDuf7/dotfiles

Let's set up the necessary scripts. Copy them to yours and grant execute permission (You don't need all the scripts. You can keep only the ones you need):

cp -r ~/Downloads/dotfiles/bin ~/bin
chmod +x ~/bin/*

Dependency

First of all, we need yay and git (if you haven't had them):

sudo pacman -S --needed git base-devel
git clone https://aur.archlinux.org/yay.git
cd yay
makepkg -si

Then let's install all the needed packages:

yay -S bspwm brightnessctl dunst eww-git feh i3lock-color nerd-fonts-jetbrains-mono polybar pomo papirus-icon-theme ranger rofi rofi-calc rofi-emoji sxhkd ttf-fira-code ttf-iosevka-nerd ueberzug

Polybar

polybar

Firstly, let's install Material Icon and Feathers for our polybar icons.

mkdir ~/.fonts
cd ~/Downloads
git clone https://github.com/Murzchnvok/polybar-collection
cp -r ./polybar-collection/fonts/* ~/.fonts/
fc-cache -fv

Copy my polybar setup into yours:

cp -r ~/Downloads/dotfiles/.config/polybar ~/.config/polybar

Enable autostart polybar when starting bspwm:

chmod +x ~/.config/polybar/launch.sh

Then add this to your ~/.config/bspwm/bspwmrc (see mine)

$HOME/.config/polybar/launch.sh &

:warning: Note: My ~/.config/bspwm/bspwmrc file is not for straight copying. There are many things that are personal and unrelated (can cause confusion if you don't understand what they are for). Use it responsibly.

:exclamation: Note: The below section in the polybar is from pomo package which is a pomodoro timer. When running, it would update in the polybar.

pomo

pomo-1

Rofi and Eww

Copy my rofi and eww configuration into yours:

cp -r ~/Downloads/dotfiles/.config/rofi ~/.config/rofi
cp -r ~/Downloads/dotfiles/.config/eww ~/.config/eww

In my ~/.config/sxhkd/sxhkdrc file, you can see some related keybindings:

super + c
    rofi -show drun -theme "$HOME/.config/rofi/themes/app-launcher.rasi"

super + alt + z
	~/bin/powermenu

super + shift + c
    rofi -show calc -modi calc -theme "$HOME/.config/rofi/themes/calc.rasi"

super + shift + x
    ~/bin/noticenter

super + shift + z
    ~/bin/wifimenu

super + shift + f
    ~/bin/calendar-launcher

super + shift + e
    rofi -modi emoji -show emoji -theme "$HOME/.config/rofi/themes/emojimenu.rasi"

From those, you can imply that the command to run the rofi utils are (Bind it to your keymappings or use my sxhkdrc):

  • App launcher/Directory menu/Windows menu:

    rofi -show drun -theme "$HOME/.config/rofi/themes/app-launcher.rasi"
    

    There are some rofi keybindings that you can learn to use to navigate.

  • Calculator (remember the package rofi-calc we have already downloaded at Dependency):

    rofi -show calc -modi calc -theme "$HOME/.config/rofi/themes/calc.rasi"
    
  • Emoji selector (package rofi-emoji):

    rofi -modi emoji -show emoji -theme "$HOME/.config/rofi/themes/emojimenu.rasi"
    
  • Power menu:

    ~/bin/powermenu
    
  • Notification center:

    ~/bin/noticenter
    
  • Wifi menu:

    ~/bin/wifimenu
    
  • Calendar (This is eww widgets and not rofi):

    ~/bin/calendar-launcher
    

Picom

This is a picom fork with spendlid animations so we have to build it on our own.

First install all the dependencies required to build the compositor:

yay -S libconfig libev libxdg-basedir pcre pixman xcb-util-image xcb-util-renderutil hicolor-icon-theme libglvnd libx11 libxcb libxext libdbus asciidoc uthash

Then let's build it:

cd ~/Downloads
git clone https://github.com/pijulius/picom.git
cd picom/
meson --buildtype=release . build --prefix=/usr -Dwith_docs=true
sudo ninja -C build install

Copy my picom configuration into yours:

cp -r ~/Downloads/dotfiles/.config/picom ~/.config/picom

Then enable picom start-up when starting bspwm by adding this to your ~/.config/bspwm/bspwmrc (see mine)

picom &

Sxhkd Keybindings

This is some of main keybindings in my sxhkdrc keybindings of you happen to use it:

Action Keybinding
App launcher super + c
Hide / Unhide Bar super + x
Terminal super + Return
Restart bspwm super + alt + r
Reload sxhkd super + Esc
Close program super + w
Quit bspwm super + alt + q
Increase/Decrease brightness super + F10/F11
Increase/Decrease volume super + shift + F10/F11

Others

For other ones please follow the link to the application you want to install and do it on your own. I believe you can do it in no time. Good luck :wink:

:exclamation: In case you are desperately stuck, create an issue. I would consider updating additional guides for the ones you need.

:tada: Credits