Skip to content

cebem1nt/dotfiles

Repository files navigation

My dotfiles

My daily drive archlinux dotfiles including scripts, wallpapers pack and some other tweaks. The "shell" is built using classic rofi, swaync and waybar.

Info

Screenshots

1 2
3 4
5 6
7 8

Important notes

Default terminal emulator

Default terminal emulator is alacritty make sure it is installed. Press SUPER + ; to run it. For more bindings list see Binds

Hyprland coniguration

Hyprland configuration files are located in ~/.config/hypr/ and are splitted into sub-configs that are located under config/. Each one has a link to the wiki page related to it at the top.

XDG Base directories

Warning

I use slightly different XDG directories on my system:

  • Instead of ~/Downloads - ~/dow
  • Instead of ~/Desktop - ~/wsp
  • Instead of ~/Pictures - ~/med/pictures
  • Instead of ~/Videos - ~/med/videos

Please keep that in mind before running the installation. This might screw up some of your things. You can change it, here:

Installation

Note

Please consider using this repo as a guide, example or an inspiration to create your own dotfiles

Author strongly recommends not installing other's dotfiles blindly

Important

Installer script was tested on Arch linux.

On another distro, some things might not work as expected.

If you're on another distro, please install these packages based on your package manager:

  1. packages.txt (oficial repos on Arch)
  2. packages.aur.txt (Arch User Repository packages)

Before running the installer, install the necessary packages. On archlinux, you can copy & paste this:

sudo pacman -S hyprland hyprlock hypridle xdg-desktop-portal-gtk xdg-desktop-portal-hyprland waybar swaync rofi nwg-dock-hyprland awww zsh alacritty thunar spotify-launcher neovim cava pavucontrol eza fzf htop jq wtype nvtop flameshot grim slurp python-psutil qt6ct kvantum powertop nwg-look mission-center papirus-icon-theme noto-fonts noto-fonts-emoji ttf-cascadia-code ttf-cascadia-code-nerd

Also, make sure that you have an AUR helper like yay installed. With an AUR helper install these:

yay -S vscodium-bin zen-browser-bin peaclock kripton-theme-git tokyonight-gtk-theme-git spicetify-cli bibata-cursor-theme

Altenatively, see packages.txt and packages.aur.txt, install manually the packages you think are needed

Clone the repo & run the installer:

git clone https://github.com/cebem1nt/dotfiles.git --depth=1
cd dotfiles
./install.sh # DO NOT run as super user!

Or install components separately by running scripts from install/ directory:

./install/waybar.sh      # Waybar configuration
./install/spicetify.sh   # Spotify theme
./install/scripts.sh     # Scripts
./install/config.sh      # "Almost all" configuration files

Uninstallation

Your previous config files are stored in ~/.local/old (or ~/.local/old-N based on N times executed the install.sh script). You can restore necessary config files manually or using ./restore.sh script:

./restore.sh

Binds

GeneralMenus & NavigationMisc/Hacky
Bind Description
SUPER + ; Open alacritty
SUPER + SHIFT ; Open alacritty in floating mode
SUPER + n Open zen
SUPER + m Open vscodium
SUPER + b Open thunar
SUPER + q Close window
SUPER SHIFT + q Kill window
SUPER + w Center window
SUPER + f Toggle floating window
SUPER SHIFT + f Fullscreen window
SUPER + u Pin window
SUPER + o Toggle windows grouping
SUPER CTRL + r Reload hyprland config
SUPER + z Make active window a bit smaller
SUPER + c Make active window a bit bigger
Bind Description
SUPER + r Drun (app runner)
SUPER + t Notification center
SUPER + v Clipboard
SUPER + y Wallpapers
SUPER + ESCAPE Logout menu
SUPER + e Filebrowser menu
SUPER SHIFT + v Glyphs selector
SUPER SHIFT + r Shell commands runner
SUPER SHIFT + e Bookmarks
SUPER + arrow keys move focus in direction
SUPER + 1...6 go to workspace
SUPER SHIFT + 1...6 move to workspace
SUPER CTRL + 1...6 move & go to workspace
SUPER + s toggle special workspace
SUPER SHIFT + s move to special workspace
Bind Description
SUPER + tab Cycle workspace layout (dwindle, scrolling, ...)
SUPER + SHIFT tab Cycle previous workspace layout
SUPER + > Play next song
SUPER + > Play previous song
SUPER + p Pseudotile window
SUPER + x Hide window (A.K.A "minimize")
SUPER + o Create a window group
SUPER + ] Select next window in group
SUPER + [ Select previous window in group
SUPER SHIFT + > Cycle next wallpaper
SUPER SHIFT + < Cycle prev wallpaper
SUPER SHIFT + / Toggle wallpapes cycle
SUPER SHIFT + y Switch between light and dark theme
SUPER + space Hide/show dock
SUPER SHIFT + space Reload waybar

Note

For more detailed info see ~/.config/hypr/config/binds.lua.

Documentation

Documentation is provided via README.md files in different subdirectories.

Index:

Scripts

I have a huge collection of scripts for the usage on my system. You can find them in ~/.local/bin. Some of them are used from hyprland binds config others are used from waybar modules config. Some are used from swaync buttons config.

You can see full scripts cheatsheet here

Wallpapers menu / daemon

The main script responsible for anything wallpapers related is auto_walls. It can:

  • Pipe wallpapers menu to rofi
  • Set keyboard backlight color based on dominant wallpaper color
  • Set next/previous wallpapers
  • Set next wallpaper once in N minutes

For more info / setup guide see README

Light/Dark theme

themesw is responsible for the theme switching. It stores name of the next theme in ~/.config/themesw/next and basically just runns sub-scripts that switch theme for each individual application. Sub scripts are located at ~/.config/themesw/units

Patched programs

I have a "software patching" hobby, that's why there are configs for a bit modified programs in my dotfiles. To be exact:

  • rofi: 4 addittional drun modes, with pre categorized desktop entries See ~/.config/rofi/bin/drun

     rofi -theme ~/.config/rofi/themes/launcher.rasi \
          -show drun \
          -modi "drun,drun-utils,drun-games,drun-network,drun-media" \
          -drun-exclude-categories "Game" \
          -display-drun "" \
          -display-drun-games "󰊴" \
          -display-drun-utils "" \
          -display-drun-network "󰭹" \
          -display-drun-media "󰲍" \
    image
  • nwg-dock-hyprland: A complete fork: dock reveal on left click instead of hover, won't reveal if there is an app in fullscreen, Misc right click actions reorganization, hyprland v0.55 support

Something doesn't work / need help ?

Feel free to post an issue, open discussion or contribute!

About

my bad, it's hyprland :<

Topics

Resources

License

Stars

Watchers

Forks

Contributors