Skip to content

retrilzzy/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Retrilz's Dotfiles


General

Hyprlock

Terminals

GTK & Qt

【 🇬🇧 English 】 【 🇷🇺 Русский 】

Last README modification

Navigation

Warning

My configs are not designed for universal use and are not 100% automated, so they may require manual adjustments. I do not guarantee the correct operation of the configs or software on your system.

Installation

Note

You must have a working Hyprland before installation.

Important

The installation script has only been tested on Arch Linux.

  1. System update:

    sudo pacman -Syu
    
  2. Run the installation script:

    curl https://raw.githubusercontent.com/retrilzzy/dotfiles/refs/heads/main/Scripts/install.sh | bash
    
    • Installs the necessary packages.
    • Clones this repository to ~/dotfiles.
    • Creates a backup of your configs in ~/.config-backups/$date_time.
    • Applies the new configs from this repository.

After installation

Actions you probably want to do.

General:

  • Add your wallpapers to ~/Pictures/Wallpapers.
  • Run p10k configure to configure the terminal theme.
  • Remove unnecessary Zsh plugins for you in ~/.zshrc:
    plugins=(...)

PC users:

  • Disable the custom/backlight Waybar module in ~/.config/waybar/config.jsonc.

Restoring config backup

~/dotfiles/Scripts/restore.sh

Detailed overview

Dependencies

Packages installed by install.sh.

System and interface
Package Description
hyprlock Lock screen
hypridle Idle management daemon
hyprshot Screenshot tool
kitty Terminal emulator
nwg-look GTK theme configuration tool
swaync Notification center
vicinae Native launcher
waybar Wayland status bar
waypaper Wallpaper manager
wlogout Logout menu
swww Wallpaper daemon
zsh Command shell
Utilities and tools
Package Description
base-devel Development tools for AUR builds
brightnessctl Brightness control
fastfetch System information viewer
git Version control system
gpu-screen-recorder GPU-accelerated screen recorder
grim Wayland screenshot tool
gnome-keyring Stores encryption keys
imagemagick Image manipulation tools
lsd ls alternative with icons
nautilus File manager
network-manager-applet Network management tray applet
pavucontrol PulseAudio volume control
playerctl Media player control
satty Screenshot tool
trash-cli Command-line trash utility
uwsm Wayland session manager
wl-clip-persist Clipboard persistence
wl-clipboard Wayland clipboard utilities
yay AUR helper
Networking, audio and portals
Package Description
bluez Bluetooth stack
blueman Bluetooth manager
networkmanager Network connection manager
pipewire Audio and video server
pipewire-alsa ALSA compatibility layer
pipewire-pulse PulseAudio compatibility layer
polkit-gnome PolicyKit authentication agent
xdg-desktop-portal Desktop portal service
xdg-desktop-portal-gtk GTK portal backend
xdg-desktop-portal-hyprland Hyprland portal backend
xdg-desktop-portal-wlr wlroots portal backend
xdg-utils XDG integration utilities
Appearance and themes
Package Description
adw-gtk-theme Adwaita theme for GTK
darkly-bin Qt5/Qt6 dark theme
frameworkintegration KDE workspace integration framework
inter-font Inter font family
matugen-bin Generate themes from wallpapers
noto-fonts Noto font family
noto-fonts-cjk Noto fonts for CJK languages
noto-fonts-emoji Noto emoji fonts
noto-fonts-extra Additional Noto fonts
papirus-icon-theme Papirus icon theme
qt5ct-kde Qt5 theme configuration
qt6ct-kde Qt6 theme configuration
ttf-jetbrains-mono-nerd JetBrains Mono with Nerd glyphs
ttf-meslo-nerd-font-powerlevel10k Meslo Nerd font for Powerlevel10k

Hyprland

Dynamic tiling Wayland compositor.

Keybinds

Application launch
Keys Action
Super + W Terminal (Kitty)
Super + Shift + W Terminal in floating mode
Super + R Application menu (Vicinae)
Super + E File manager (Nautilus)
Super + C Code editor (VSCodium*)
Super + B Browser (Brave*)
Super + K Password manager (KeePassXC*)
Super + V Clipboard (Vicinae Clipboard)
Super + N Notification center (SwayNC)
Super + Shift + E Emoji menu (Vicinae Emoji)
Super + Shift + P Wallpaper selector (Vicinae + Script)

*VSCodium, Brave, KeePassXC - are NOT installed automatically by the installation script.

Window interaction
Keys Action
Super + Q Close active window
F11 Fullscreen
Super + A Maximize active window
Super + F Toggle window to "float" mode
Super + Shift + A Switch to pseudo-tiling mode
Super + S Pin window on top of all workspaces
Super + D Toggle window split mode
Alt + Tab Switch to the next window
Super + Arrows Move focus between windows
Super + Control + Arrows Resize active window
Super + Shift + Arrows Move windows
Super + LMB Move windows with the mouse
Super + RMB Resize windows with the mouse
Workspaces
Keys Action
Super + [0-9] Switch between workspaces 1 to 10
Super + Shift + [0-9] Move window to workspace 1 to 10
Super + Tab Switch to a special workspace
Super + Shift + Tab Move window to a special workspace
Screen/power management
Keys Action
Super + L Lock screen
Super + Alt + D Turn display on/off
Super + Alt + S Lock screen and put to sleep
Screenshots
Keys Action
Print Screenshot of the entire screen
Shift + Print Screenshot of the selected area
Super + Shift + S Satty (screenshot annotation tool)
Super + Print Screenshot and auto upload to Zipline
Other
Keys Action
Super + Escape Hide/show Waybar
Super +Alt + P Random background + Generate theme (matugen)
Super + Shift + R Start/stop recording a screen area (gpu-screen-recorder)
Super + H Toggle windows and layers visibility on screen share
Super + M Mute/unmute microphone
Super + Z Zoom in
Super + Mouse wheel Zoom in/out
Super + Shift + Z Reset zoom

Icons

https://github.com/PapirusDevelopmentTeam/papirus-icon-theme

sudo pacman -S papirus-icon-theme

Cursor

https://github.com/ful1e5/Bibata_Cursor

The installation script installs the Bibata-Modern-Classic cursor theme.

mkdir -p /tmp/bibata
curl -L https://github.com/ful1e5/Bibata_Cursor/releases/download/v2.0.7/Bibata-Modern-Classic.tar.xz -o /tmp/bibata/bibata.tar.xz
tar -xf /tmp/bibata/bibata.tar.xz -C /tmp/bibata
sudo cp -r /tmp/bibata/Bibata-Modern-Classic /usr/share/icons/

Fonts

  • Noto - all languages + emoji + special characters:

    sudo pacman -S noto-fonts noto-fonts-emoji noto-fonts-cjk noto-fonts-extra
    
  • JetBrains Mono Nerd for VSCode and Waybar:

    sudo pacman -S ttf-jetbrains-mono-nerd
    
  • Meslo Nerd recommended font for powerlevel10k (Zsh theme):

    yay -S ttf-meslo-nerd-font-powerlevel10k
    
  • Inter required font for Hyprlock:

    sudo pacman -S inter-font
    

Hypridle

Idle behavior. [config]

https://wiki.hypr.land/Hypr-Ecosystem/hypridle | https://github.com/hyprwm/hypridle

sudo pacman -S hypridle
Action Timeout
Brightness reduction 10 min.
Notification 13 min.
Session lock 15 min.
Screen off 16 min.
Sleep mode 18 min.

Hyprlock

Lock screen. [config]

https://github.com/hyprwm/hyprlock

sudo pacman -S hyprlock

Waybar

Wayland bar. [config]

https://github.com/Alexays/Waybar

sudo pacman -S waybar

Vicinae

Focused launcher. [config]

https://github.com/vicinaehq/vicinae

yay -S vicinae-bin

Wlogout

Logout menu. [config]

https://github.com/ArtsyMacaw/wlogout

yay -S wlogout
Screenshot

Screenshot

Terminal

Terminal emulator - Kitty [config]

Shell - Zsh [config]

Extension for Zsh - Oh My Zsh

Theme - powerlevel10k [config]

Kitty keybinds
Window and tab management
Keys Action
Ctrl + A > X Close active window
Ctrl + Q Close kitty window
Ctrl + A > ] Next window
Ctrl + A > [ Previous window
Ctrl + A > . Move window forward
Ctrl + A > , Move window back
Ctrl + A > C Create a new tab in the same directory
Ctrl + A > 1-9 Go to tab 1-9
Ctrl + A > 0 Go to tab 10
Ctrl + A > , Set tab title
F11 Fullscreen mode
Window splitting
Keys Action
Ctrl + Shift + T Create a new window with horizontal splitting
Ctrl + A > - Horizontal splitting in the current directory
Ctrl + A > Shift + - Horizontal splitting
Ctrl + A > | Vertical splitting in the current directory
Ctrl + A > Shift + | Vertical splitting
F4 Split window
F7 Rotate window layout
Movement and focus
Keys Action
Shift + Move window up
Shift + Move window down
Shift + Move window left
Shift + Move window right
Alt + / Ctrl + A > K Focus on the window above
Alt + / Ctrl + A > J Focus on the window below
Alt + / Ctrl + A > H Focus on the window to the left
Alt + / Ctrl + A > L Focus on the window to the right
Ctrl + A > Q Focus on a visible window
Resizing windows
Keys Action
Alt + N Make window narrower
Alt + W Make window wider
Alt + U Make window taller
Alt + D Make window shorter
Ctrl + Home Reset window size
Ctrl + A > Z Zoom in/out window (zoom)
Font
Keys Action
Ctrl + = / Ctrl + + Increase font size
Ctrl + - Decrease font size
Ctrl + 0 Reset font size
Miscellaneous
Keys Action
Ctrl + A > Shift + E Edit kitty.conf in a new tab
Ctrl + A > Shift + R Reload kitty configuration
Ctrl + A > Shift + D Debug configuration
Ctrl + A > Space Hints mode
F3 Hints mode for everything
Ctrl + A > Ctrl + A Send ^A (as in tmux)
Ctrl + A > T Select theme
Ctrl + A > S Save session

Installing Kitty and Zsh:

sudo pacman -S kitty zsh

Changing the shell:

chsh -s $(which zsh)

Installing Oh My Zsh:

sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

Installing the powerlevel10k theme:

git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k

Installing plugins for zsh via Oh My Zsh:

git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions

Installing lsd (ls replacement):

sudo pacman -S lsd

Nwg-look

GTK settings. [config]

https://github.com/nwg-piotr/nwg-look

https://github.com/lassekongo83/adw-gtk3

sudo pacman -S nwg-look adw-gtk-theme
gsettings set org.gnome.desktop.interface gtk-theme 'adw-gtk3-dark' && gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark'

Qt

Qt6 settings. [config]

Qt5 settings. [config]

https://aur.archlinux.org/packages/qt6ct-kde

https://aur.archlinux.org/packages/qt5ct-kde

https://github.com/Bali10050/Darkly

yay -S qt6cd-kde qt5ct-kde darkly-qt5-git darkly-qt6-git

SwayNC

Notifications. [config]

https://github.com/ErikReider/SwayNotificationCenter

sudo pacman -S swaync

Waypaper

GUI for easy wallpaper management.

https://github.com/anufrievroman/waypaper

yay -S waypaper

For static images and gifs (required):

sudo pacman -S swww

For videos (optional):

yay -S mpvpaper

Wallpapers

Fastfetch

Show off your linux [config]

https://github.com/fastfetch-cli/fastfetch

sudo pacman -S fastfetch