Configuration
本页面没有您所选择的语言版本,已回退到英语。
Configuring Hyprland
Section titled “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
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
Section titled “Configuring Quickshell”Quickshell is responsible for shell elements such as the bar and sidebars
Simple configuration
Section titled “Simple configuration”Graphical
Section titled “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
Section titled “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
Section titled “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
Section titled “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
Section titled “Color theming”Vscode
Section titled “Vscode”- 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
Section titled “Change UI scale”To change the scale of the shell, open ~/.config/quickshell/ii/shell.qml and adjust this line
//@ pragma Env QT_SCALE_FACTOR=1To change the scale of everything on your screen, see Monitors - Hyprland wiki
Change font size
Section titled “Change font size”GTK Apps
Section titled “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
Section titled “Qt Apps”You can use the KDE System Settings app to customize fonts
Screen lock/timeout
Section titled “Screen lock/timeout”Timeout
Section titled “Timeout”Reference: Hyprland Wiki
Edit ~/.config/hypr/hypridle.conf to your needs.
Use another lock screen program
Section titled “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
Section titled “Cloudflare WARP”- This might help you bypass your ISP’s restrictions and provide a faster internet
- There will be a button on the right sidebar to toggle WARP if it’s installed
- To install it, follow this guide: https://pranavk-official.gitlab.io/posts/post-2/