Skip to content
JaKooLit edited this page Dec 26, 2023 · 36 revisions

👋 Welcome to my Hyprland help, and tips and tricks

Tip

Before changing any files or configuration, it is advisable to create a back-up. So you can easily revert back to original settings if things goes sideways.

  • i.e. cp fileName.conf fileName.bak

⌨️ Common Operation Keys

Super = Windows Key

  • common operations

    • Super Shift H keyhint (Keyhints)

    • Super Return term (kitty)

    • Super Q quit (closes (not kills) the active window)

    • Super Shift Q quit (closes a specified window)

    • Super D show app menu (rofi)

  • applications shortcuts

    • Super T file manager (thunar) - if you chose to install

  • container layout

    • uper Shift F toggle tiling/floating mode

    • Super Alt F toggle all windows in float mode

    • Super left mouse button move window

    • Super right mouse button resize window (note! only in float mode)

  • workspaces

    • Super 1 .. 0 switch to workspace 1 .. 10

    • Super CTRL 1 .. 0 move (silent) container to workspace 1 .. 10

    • Super Shift 1 .. 0 move (follow) container to workspace 1 .. 10

    • Super Tab cycle through workspaces

    • Super Shift Tab cycle previous workspaces

  • waybar

    • Super Ctrl B waybar style (waybar)

    • Super Alt B waybar layout (waybar)

  • refresh waybar, dunst, rofi

    • Super Alt R reloads waybar, rofi, dunst

  • These are only some. All keybinds are located in ~/.config/hypr/configs/Keybinds.conf

🖼️ wallpaper / styling stuff

  • CTRL ALT w wallpaper shuffle (right click on wallpaper  waybar module)

  • Super w wallpaper select (click on wallpaper waybar  module) add more wallpaper in ~/Pictures/wallpapers

  • right click on update  waybar module wallpaper cycle using swww
  • for the wallpaper styles and configurations, you can watch my video about it https://youtu.be/6ZGzOjMJBe4
  • scripts for wallpaper stuff are located in ~/.config/hypr/scripts file names DarkLight.sh Wallpaper.sh WallpaperSelect.sh WallpaperRandom.sh (last one for automatic wallpaper changed every 5 mins)
  • if your wallpapers are on a different path, edit the scripts above.

💻 Monitor, executables, keybindings, window rules,

  • files are located in ~/.config/hypr/configs . View with SUPER E
  • Keybindings file is located here ~/.config/hypr/configs/Keybinds.conf

🖼️ Taking Screen shots (you may need to hold down the function (fn) key. You can change keybinds in ~/.config/hypr/configs/Keybinds.conf)

  • Super PrintScr(button) full screenshot
  • Super Shift PrintSrc(button) active window screenshot
  • Super CTRL SHIFT PrintScr full screenshot + timer (5s)
  • Super Alt PrintScr full screenshot + timer (10s)
  • Super Shift S screenshot with swappy

🎗️ clipboard manager (cliphist)

  • Super Alt V launch the rofi menu of clipboard manager
    • click to select the clipboard. And paste as normal (CTRL V or right click menu)

    • to clean up clipboard manager, launch kitty (super enter) then type cliphist wipe

♨️ Adjusting fonts sizes and font scaling including waybar fonts

  • nwg-look is a very good app. Use it to adjust your own preference.
  • for qt-apps, use qt5ct and/or qt6ct
  • HiDPI users, I suggest you do the following to have a better appearance.
  • adjust scaling according to your taste by editing ~/.config/hypr/configs/Monitors.conf

  • adjust font size using nwg-look (GTK Settings)

  • You can tweak the fonts scaling in Font tab in nwg-look

  • Lastly, if desired, adjust waybar fonts sizes in ~/.config/waybar/styles/ . NOT the styles.css since that is only a symlink to the styles in waybar styles folder

💫 GTK and QT apps theming.

  • for GTK apps theming, use nwg-look (GTK Settings) utility. Its a very powerful gtk utility theming. Take note that when changing from Dark Light using the waybar button dark-light, the DarkLight.sh (~/.config/hypr/scripts) will take over. The Darklight.sh is looking for "Light" and "Dark" keywords in ~/.themes, ~/.icons, waybar [Light] or [Dark], ~/Pictures/wallpapers/Dynamic-Wallpapers
  • For QT Apps theming, use qt5ct, and/or qt6ct and Kvantum Manager. By default, the qt-theme (set using kvantum), is set to Tokyo-Night theme. You can change the qt apps theme using kvantum-manager.

⌨️ Keyboard passthrough for VM

  • Starting v2.2.1, the kb_passthrough will be disabled by default. To re-enable, edit ~/.config/hypr/configs/Keybinds.conf At the bottom you will see the Keyboard passthrough

🎗️ waybar customizations

  • waybar font too big or too small. Edit the font-size in waybar styles located in ~/.config/waybar/styles/ . By default, it is set to 97%. After adjusting the GTK font scaling to your liking, edit all the waybar styles. Reduce or increase according to your needs. NOTE that its on percent %. You can also change to px whichever suits you. Note: This corresponds well with nwg-look (GTK Settings). So suggest to adjust first your font settings using nwg-look. And then adjust the waybar.

  • if you want 12h format instead of 24H format, edit the ~/.config/waybar/modules look for clock. for 12h format, should be like %I:%M%P; for 24H format, %H:%M:%S.. ensure to disable one format by adding // before that line. For clock formatting, you can use website: https://help.gnome.org/users/gthumb/stable/gthumb-date-formats.html.en

  • CPU Temperature:

    • a.) to change from deg C to deg F , edit the ~/.config/waybar/modules look for "temperature". Change the format to "format": "{temperatureF}°F {icon}",
    • b.) to fix the temperature if not showing correctly, comment "thermal zone": 0 by putting // before. Delete the // on the "hwmon path". Refresh waybar by pressing SUPER ALT R If still not showing correctly, navigate to /sys/class/hwmon/ and open each hwmon. Look for k10temp for amd. Not sure about intel cpu. and edit accordingly the hwmon path in the "temperature" waybar module.
    • b.1) use this function to easily identify the hwmon path. Ran this in your terminal for i in /sys/class/hwmon/hwmon*/temp*_input; do echo "$(<$(dirname $i)/name): $(cat ${i%_*}_label 2>/dev/null || echo $(basename ${i%_*})) $(readlink -f $i)"; done
  • Weather.sh (Default weather app in waybar) edit ~/.config/hypr/scripts/Weather.sh or Weather.py and add your city. Make sure a major city in your Area. Delete rbn folder in ~/.cache and refresh waybar by either pressing SUPER SHIFT W or choose waybar layout SUPER ALT W. If wanted to use Weather.py for weather, edit weather module located in ~/.config/waybar/modules

  • NOTE!!! some waybars layouts have a separate modules baked into their respective configs (ie Peony, Chrysanthemum, Camelia, etc) and does not get all modules from main waybar modules file. Edit each configs accordingly to your liking (~/.config/waybar/configs)

  • plenty waybar hyprland/workspaces to choose from. Circle, Roman Number, pacman, and workspace number and icons. Just assign accordingly on waybar configs. Check ~/.config/waybar/modules for their modules names

  • Regarding the waybar keyboard module, If you want to add in different waybar layout, the module name is custom/keyboard. Kindly NOTE that this will read your kb_layout in your Settings.conf. to change kb_layout, add in your Settings.conf .... i.e. kb_layout=us,es,ru and then refresh waybar (SUPER ALT R), then you can change keyboard by left clicking the keyboard module.

🎗️ Hyprland configurations

  • Hyprland configuration files are in ~/.config/hypr/configs Can view using SUPER E (by default, will be opened with nano. You can edit default editor by editing ~/.config/hypr/scripts/QuickEdit.sh
  • files located in this folder can be edited using editor of your choice.

🧲 notes for nvidia gpu users

  • Do note that you need to enable or disable some items in ENVariables.conf file located in ~/.config/hypr/configs/ENVariables.conf
  • a guide on wiki - https://wiki.hyprland.org/Nvidia/

🔒 Swaylock

  • Swaylock-effects has ability to either use either current wallpaper as lock screen or current "workspace" screenshot.
  • To be able to do that, edit ~/.config/swaylock/config . Screenshot means your current window / desktop screen.

🎗️ other notes

🎗️ HIDDEN FEATURES!

  • ROFI BEATS or ONLINE Music ( SUPER CTRL S) (note: you may need to install yt-dlp or youtube-dl). You can edit the links of your choice. Script is located in ~/.config/hypr/scripts/RofiBeats.sh
  • EMOTICONS (SUPER ALT E) - useful for chats or messages ). Click to copy and CTRL ALT V to paste

💡 Reducing cpu usages / Battery saving

  • Hyprland has a nice animation but it cost cpu and gpu usages including ram usages.
  • On this dotfiles, you disable the borderangle animation in Hyprland settings under animations.
  • You can also disable blur, reduce the shadow
  • You can also refer to Hyprland Wiki

Installation

FAQ & TIPS

Keybinds

Known Issues & Notes to remember

Changelogs & Release Notes

Other Distros

Gallery & Youtube Videos

HOW TO's (Costumization on KooL's Dots)

Clone this wiki locally