Skip to content
FadilixPublic

About

My dotfiles

Resources

Stars

9 stars

Watchers

1 watching

Forks

Repository files navigation

Hyprland dotfiles

A keyboard-first Hyprland desktop on Arch Linux. Every panel is written in Quickshell: the app launcher, wallpaper picker, theme picker, clipboard, emoji picker and keybind cheat sheet all share one dark glass style, and one command recolors the whole desktop, Dolphin included.

Desktop with floating kitty windows

Screenshots

App launcher btop, yazi and Neovim in tmux
App launcher (Super+D) Floating windows: btop, yazi and Neovim in tmux
Wallpaper picker Theme picker
Wallpaper picker (Super+W) Theme picker (Super+Shift+T)
Top bar and control panel Keybind cheat sheet
Top bar with its control panel open Keybind cheat sheet (Super+F1)
Dolphin Nord, Gruvbox and Rose Pine
Dolphin with the matching theme The launcher in Nord, Gruvbox and Rose Pine

What is included

  • Hyprland: configuration written in Lua (hypr/lua/), master layout, window rules, and keybinds with descriptions that feed the cheat sheet.
  • Quickshell panels (quickshell/): app launcher with fuzzy search and frecency, wallpaper picker, theme picker, clipboard history, emoji picker, web search, power menu, monitor layout and keybind cheat sheet. Lists scroll with momentum like a web page.
  • Top bar (quickshell/latto/): workspaces, keep awake, notifications, network, Bluetooth, volume, battery and clock, with an island in the middle for media, agent activity, notifications and quick controls.
  • Theme system (themes/): seven themes that recolor Quickshell, the top bar, Dolphin and other Qt apps (through Kvantum and qt6ct) and the folder icons.
  • Dolphin as the file manager, with floating, centered dialogs. File pickers use the KDE dialog through the desktop portal once xdg-desktop-portal-kde is installed.
  • Kitty, Neovim (LazyVim), tmux, cava and yazi configurations.

Keybinds

The full list is one keypress away: Super+F1 opens a searchable cheat sheet built from the live Hyprland binds. The ones used most:

Keys Action
Super+D App launcher. Type > to run a command, = to calculate, ? to search the web
Super+W Wallpaper picker
Super+Shift+T Theme picker
Super+V Clipboard history
Super+M Emoji picker
Alt+Space Web search
Super+F1 Keybind cheat sheet
Ctrl+Alt+P Power menu
Super+B, Super+C, Super+E, Super+O, Super+K Browser, VS Code, Dolphin, Obsidian, terminal: focus the open window or start one. Add Ctrl for a new window
Super+S Move the focused window to the main slot
Super+$ and Super+^ Rotate the tiled windows forward and back
Super+Shift+S Screenshot of an area, then edit it

The rotate keys are bound to the physical keys next to Enter, so they work on AZERTY and QWERTY keyboards alike.

Themes

Open the picker with Super+Shift+T, or use the theme command:

theme list            # the current theme is marked with *
theme set nord        # glass, catppuccin-mocha, gruvbox, nord, rose-pine, tokyo-night, wallpaper
  • Quickshell and the top bar change color immediately. Open Dolphin windows close and reopen in place, in the same folder, because Qt apps only read their colors at startup.
  • wallpaper takes its colors from the current wallpaper and follows it when the wallpaper changes.
  • Fonts, kitty and Neovim are never changed.
  • Each theme is a small JSON file in themes/themes/. Copy one and edit the colors to make your own.

Installation

For Arch Linux. The installer brings in the packages this desktop needs and nothing else: Hyprland, Quickshell, the Qt theming tools, fonts, the tools the keybinds call (screenshots, clipboard, volume, brightness), and kitty, Neovim, tmux, yazi and cava. It installs yay first if you don't have it.

git clone https://github.com/Fadilix/dotfiles
cd dotfiles
./install.sh --dry-run   # see what it would do
./install.sh

Before it copies anything, install.sh backs up every file it is about to replace to ~/.dotfiles-backups. The first backup is kept as your original setup, so installing again never overwrites it. It also writes down which packages it installed that you did not already have.

Two extras are off by default and offered during the install:

  • --with-zsh installs the .zshrc with oh-my-zsh, zoxide and fzf
  • --with-kde-portal uses KDE file dialogs in every app (about 50 KDE packages)

Going back

./restore.sh

This puts back the configs you had before the first install, and removes the ones that did not exist then. It then offers to uninstall the packages the install added. Packages you already had are never touched. Your current configs are backed up first, so a restore can be undone too.

./backup.sh               # back up your current configs
./backup.sh --list        # list the backups
./restore.sh --list       # restore any backup, not only the original

Keeping the repo up to date

./fetch_latest_config.sh copies your live configs back into the repository. It skips machine-specific files such as the monitor profile, usage counters and the current theme.

Tips

Remap the Copilot key to Ctrl

Install keyd:

yay -S keyd

Create /etc/keyd/default.conf:

[ids]
*

[main]
# The Copilot key sends Shift+Meta+F23: map it to the right Ctrl
leftshift+leftmeta+f23 = rightcontrol

Then enable it:

sudo systemctl enable --now keyd
sudo keyd reload

Keep the power button from shutting down immediately

  1. In /etc/systemd/logind.conf, uncomment #HandlePowerKey=poweroff and set it to ignore.
  2. Restart the login service with sudo systemctl restart systemd-logind.service, or reboot.

Touchpad: ignore it while typing

See libinput/README.md for the setup, how to check it works, and how to remove it.

Troubleshooting

  • A panel does not open: check qs log -p ~/.config/quickshell. Quickshell keeps the last working configuration running when a file has an error.
  • Dolphin keeps its old colors: close it and open it again; Qt apps read their theme at startup.
  • Scripts do nothing: make sure they are executable with chmod +x.

For anything else, open an issue.

Credits

  • JaKooLit, for the original configuration this one grew from.
  • The Hyprland and Quickshell projects.
  • Catppuccin, Gruvbox, Nord, Rose Pine and Tokyo Night, for their palettes.

About

My dotfiles

Resources

Stars

9 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages