Konfiguration
Hyprland konfigurieren
Abschnitt betitelt „Hyprland konfigurieren“Hyprland ist zuständig für…
- Tastenkürzel
- Umgebungsvariablen
- Anzeige/Monitore/Arbeitsflächen
- Fensteranimationen
- …
Sieh dir die Hyprland Wiki für allgemeine Konfigurationsanleitungen an. Nur dotfile-spezifische Details sind unten dokumentiert.
~/.config/hypr/is Hyprland’s config folder- The
hyprlandsubfolder contains the default configs - The
customsubfolder is for your extra configs
- The
You can make changes in the former subfolder, but they will be overwritten if you decide to update the dotfiles.
Configuring Quickshell
Abschnitt betitelt „Configuring Quickshell“Quickshell is responsible for shell elements such as the bar and sidebars
Simple configuration
Abschnitt betitelt „Simple configuration“Graphical
Abschnitt betitelt „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
Abschnitt betitelt „Editing the config file“The config file is ~/.config/illogical-impulse/config.json
For explanation of the options and defaults, see ~/.config/quickshell/ii/modules/common/Config.qml
Date and time format
Abschnitt betitelt „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
Abschnitt betitelt „Advanced configuration“- Edit files in
~/.config/quickshell/ii - See Quickshell Docs
- It is recommended that you at least go through the Introduction, Positioning, and QML Language pages
Color theming
Abschnitt betitelt „Color theming“- Install the Material Code extension, then select a wallpaper.
- Optional tweaks
- You can change the “material-code.syntaxTheme” option, which has a really weird default.
- Run “Material Code: Apply styles” to inject yummy rounded corners. If vscode says the installation is corrupt, you can safely select “Don’t show again”.
This works with Microsoft’s proprietary build. If you use some schizo version we don’t guarantee it will work. Well, actually it’s just about differing file paths, so feel free to PR that for the vscode fork you use. The script that handles the color is in dots/.config/quickshell/ii/scripts/colors/code/material-code-set-color.sh
Change UI scale (everything)
Abschnitt betitelt „Change UI scale (everything)“To change the scale of everything on your screen(s), make changes to ~/.config/hypr/custom/general.conf following the instructions on Monitors - Hyprland wiki.
Alternatively, for a GUI, you can use nwg-look (needs to be installed separately). It should work out of the box with these dotfiles.
Change UI scale (shell)
Abschnitt betitelt „Change UI scale (shell)“This works by adjusting the QT_SCALE_FACTOR environment variable. There are 2 methods, namely Quickshell pragma and Hyprland environment variables. The former affects only the shell, but is not update-friendly. The latter affects all Qt apps, but is update-friendly.
Quickshell pragma
Abschnitt betitelt „Quickshell pragma“Open ~/.config/quickshell/ii/shell.qml and adjust this line. Restart Quickshell (Ctrl+Super+R) to apply
//@ pragma Env QT_SCALE_FACTOR=1Hyprland environment variables
Abschnitt betitelt „Hyprland environment variables“Edit ~/.config/hypr/custom/env.conf to include the following line (remember to adjust it to your needs). You’ll need to restart Hyprland (by relogging)
env = QT_SCALE_FACTOR, 1Change font size
Abschnitt betitelt „Change font size“GTK Apps
Abschnitt betitelt „GTK Apps“- Use
gnome-tweaksif you want a graphical UI with a font picker - Otherwise, you can use
gsettings
# 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
Abschnitt betitelt „Qt Apps“You can use the KDE System Settings app to customize fonts
Screen lock/timeout
Abschnitt betitelt „Screen lock/timeout“Timeout
Abschnitt betitelt „Timeout“Reference: Hyprland Wiki
Edit ~/.config/hypr/hypridle.conf to your needs.
Use another lock screen program
Abschnitt betitelt „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 = swaylockRestart hypridle after you make changes (pkill hypridle; hypridle & disown).
Now loginctl lock-session will call swaylock to lock the screen.
Cloudflare WARP
Abschnitt betitelt „Cloudflare WARP“- This might help you bypass your ISP’s restrictions and provide a faster internet.
- You can also use the button in the right sidebar to toggle it.
- To install and configure WARP:
- Install the package by yourself if you haven’t already.
If you’re on Arch(-based) distro, you can install it from AUR withyay:yay -S cloudflare-warp-bin - Enable and start the WARP service:
sudo systemctl enable warp-svc sudo systemctl start warp-svc - Register your device:
It will require you to accept the ToS, just press
warp-cli registration newyand hit Enter. - Test the connection:
You should see
warp-cli connect warp-cli disconnectSuccessas the output for both commands. - To make sure the sidebar button works, you can click the sidebar button, and check the status:
It should output
warp-cli statusStatus update :followed byConnectedorDisconnecteddepending on the current connection status.
You can also check the connection status externally by visiting 1.1.1.1 Connection Information page. - (Optional) If you wish to configure the WARP operating mode (for example, have it establish a tunnel via WARP and use DNS-over-TLS for DNS queries), you can run:
See
warp-cli mode warp+dotwarp-cli mode --helpfor more information.
- Install the package by yourself if you haven’t already.