Thanks to visit codestin.com
Credit goes to github.com

Skip to content

anteloalejandro/dotfiles

Repository files navigation

DOTFILES

A minimal but (hopefully) fully usable archlinux installation with Hyprland as the window manager.

Tested on a laptop with NVIDIA-Intel hybrid graphics, and a Asus Zephyrus with NVIDIA-AMD hybrid graphics, so graphics drivers issues shouldn't be a thing.

Features

  • Widgets, applets, notifications, and media controls through ags.
  • Lockscreen/sleep through hypridle and hyprlock.
  • Wallpapers through hyprpaper.
  • rofi-wayland as the launcher/runner.
  • Clipboard support by wl-clipboard, cliphist and rofi-wayland.
  • Brightness and volume controls through brightnessctl and various PipeWire related packages.
  • Smartphone connectivity through kdeconnect.
  • Screenshots through hyprshot.
  • Integrated/Hybrid GPU mode through envycontrol
  • Custom gestures through libinput-gestures

Setup

Just cd into the repo and run ./setup/setup.sh , and read the rest of this section if you want to learn what the script does or if you want to set up the homepage.

Dependencies

A list of dependencies, general apps and utilities and some personal favorites can be found on native-packages.txt and external-packages.txt.

Additionally, Zinit, TPM and the AUR package manager yay have been installed through git directly, and are required.

Services

The following services must be explicitly enabled/disabled. Other background tasks are enabled on Hyprland itself or are enabled by default.

sudo systemctl enable ly                   # login
sudo systemctl enable nvidia-persistenced  # Hybrid graphics
sudo systemctl enable pipewire-pulse       # Pulseudio compat.
sudo systemctl enable tlp                  # power saver
sudo systemctl enable bluetooth            # bluetooth

sudo systemctl disable iwd                 # wifi
sudo systemctl enable NetworkManager       #

Configuring iwd with network manager

See the NetworkManager arch wiki page

Keyboard layout

By default, the keyboard layout is set to es_ES on hyprland.conf, you may want to change that.

Enabling gestures

The user must be part of the input group for the gestures to work.

sudo usermod -aG input $USER

Setting up the homepage

This repo comes with the .homepage submodule, which is a custom browser homepage. Manual setup is required:

First, install a web server, in this case, nginx should be installed if the setup.sh script was used. For nginx, set a new location like so:

server {
    listen       localhost:80;
    server_name  localhost;

    #...

    location / {
        root   /usr/share/nginx/homepage;
        # root   /usr/share/nginx/html;
        index  index.html index.htm;
    }

    # ...
}

Then, link (or mount it) ~/.homepage to /usr/share/nginx/homepage.

sudo ln -s ~/.homepage /usr/share/nginx/homepage

Finally install the New Tab Override extension and set http://localhost as the new tab custom URL and configure Firefox to use localhost as the homepage and New Tab Override for new tabs.

TO-DO

  • Make popup widgets render behind borders
  • Make lockscreen widgets interactable (e.g.: Add a suspend button)
  • Add shadows to make desktop widgets pop more
    • Shadows on the borders (must not go over windows)
    • Shadows arround popup widgets (must go over windows)

Thanks to...

About

Dotfiles for my Archlinux installation with Hyprland as the window manager

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published