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

Skip to content

loukamb/dotfiles

Repository files navigation

Dotfiles

My current set of dotfiles. Attempts to establish the same desktop environment across the Sway, Hyprland, labwc, and Niri compositors. Dotfiles are not always equally maintained, so one set may be outdated.

Keybinds

Across all configurations, the following keybinds are available. (Mod = Windows key)

Action Keybind
Open terminal Mod+Enter
Program launcher Mod+D
Close window* Mod+Shift+Q
Move window Mod+Left Mouse
Resize window* Mod+Right Mouse
Toggle tabbed layout* Mod+W
Toggle fullscreen view Mod+F
Take a screenshot PrntScr
Exit compositor* Mod+Shift+E

*Not available on labwc, since it is a stacking compositor, not a tiling one.

Setup cheat sheet

Written for Arch Linux.

Global

Dependencies

# Packages
sudo pacman -S sddm hyprpicker xdg-desktop-portal-gtk mako waybar wl-clipboard grim slurp foot archlinux-xdg-menu

# Setup MIME types
sudo ln -s /etc/xdg/menus/arch-applications.menu /etc/xdg/menus/applications.menu

# Enable SDDM
sudo systemctl enable sddm

# Enable dark mode
dconf write /org/gnome/desktop/interface/color-scheme '"prefer-dark"'

Waybar

Make sure to delete the existing config.jsonc symlink and rename one of the config.jsonc.* files in waybar to config.jsonc. The existing symlink points to config.jsonc.sway.

NOTE: Keyboard layout display isn't supported on labwc due to the compositor's strict adherance to wlroots protocols.

Hyprland

# Packages
sudo pacman -S hyprland hyprpaper hypridle hyprlock xdg-desktop-portal-hyprland hyprpolkitagent dolphin swayimg

# User services
systemctl --user enable --now hyprpaper.service
systemctl --user enable --now hypridle.service
systemctl --user enable --now waybar.service

Sway

# Packages
sudo pacman -S sway swaylock swayidle swayimg swaybg dolphin

labwc

Notes

  • Certain keybinds are not available due to labwc being a stacking compositor instead of a tiling one.
  • labwc provides no mechanism for output configuration, so wlr-randr is used to adjust monitors. Edit /labwc/autostart to configure.
# Packages
sudo pacman -S labwc swaylock swayidle swayimg swaybg dolphin wlr-randr

Niri

Notes

  • Niri works best with GDM, therefore uwsm isn't necessary. Instead of KDE apps to provide system basics, we use GNOME's (for better or for worse).
# Packages
sudo pacman -S niri gdm xdg-desktop-portal-gnome gnome-keyring swaybg swayidle swaylock nautilus sushi loupe gnome-text-editor

# User services
systemctl --user enable --now waybar.service

# Enable display manager
systemctl enable gdm

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages