Прыгнуть до контента

Configuration

Этот контент пока не доступен на русском.

Configuring Hyprland

Hyprland is responsible for…

  • keybinds
  • environment variables
  • display/monitors/workspaces
  • window animations

Refer to the Hyprland Wiki for general configuration instructions. Only details specific to the dotfiles are documented below.

  • ~/.config/hypr/ is Hyprland’s config folder
    • The hyprland subfolder contains the default configs
    • The custom subfolder is for your extra configs

You can make changes in the former subfolder, but they will be overwritten if you decide to update the dotfiles.

Configuring Quickshell

Quickshell is responsible for shell elements such as the bar and sidebars

Simple configuration

Graphical

Hit Super+I or press the gear button on the right sidebar to open settings. Most common settings are there. If you can’t find what you want, you can try the below

Editing the config file

The config file is ~/.config/illogical-impulse/config.json

For explanation of the options and defaults, see ~/.config/quickshell/modules/common/ConfigOptions.qml

Date and time format

You can change the time format between 24h and 12h in the Settings > Services > Time.

Alternatively, in the config file, edit time.format. See https://doc.qt.io/qt-6/qtime.html#toString for the format.

Advanced configuration

  • Edit files in ~/.config/quickshell
  • See Quickshell Docs
    • It is recommended that you at least go through the Introduction, Positioning, and QML Language pages

Misc

Change UI scale

To change the scale of the shell, open ~/.config/quickshell/shell.qml and adjust this line

//@ pragma Env QT_SCALE_FACTOR=1

To change the scale of everything on your screen, see Monitors - Hyprland wiki

Change font size

GTK Apps

  • Use gnome-tweaks if you want a graphical UI with a font picker
  • Otherwise, you can use gsettings
Terminal window
# Syntax
gsettings set org.gnome.desktop.interface font-name 'FONT_NAME FONT_SIZE'
# Default of these dotfiles
gsettings set org.gnome.desktop.interface font-name 'Rubik 11'

Qt Apps

  • Use KDE System settings:
    • Press Super+I or launch it from the app launcher
    • Navigate (or search your way) to Text & Fonts > Fonts and make your choices

Screen lock

Lock timeout

Reference: Hyprland Wiki

Edit ~/.config/hypr/hypridle.conf to your needs.

The lock screen itself

Reference: Hyprland Wiki

Edit ~/.config/hypr/hyprlock.conf as you want.

Use another lock screen program

Reference: Arch Wiki

Take swaylock as example.

Edit ~/.config/hypr/hypridle.conf and modify the value of $lock_cmd as follows:

$lock_cmd = swaylock

Restart hypridle after you make changes (pkill hypridle; hypridle & disown).

Now loginctl lock-session will call swaylock to lock the screen.

Night light

It does not show up?

It turns on automatically at night. Enabling just allows this.

How to “disable” it

In ~/.config/hypr/hyprland/execs.conf, comment out (with a # at the beginning) the following line. Log out and log in.

exec-once = /usr/lib/geoclue-2.0/demos/agent & gammastep