Skip to content
JaKooLit edited this page Jan 6, 2024 · 36 revisions

👋 Welcome to my Hyprland help, and tips and tricks

Note

All links will be based from v2.2.3 (ls ~/.config/hypr to check which Hyprland-Dots you currently have) If you have less than v2.2.3, please upgrade to v2.2.3 atleast

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)

    • Super F full screen

  • 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 Shift 1 .. 0 move (follow) container to workspace 1 .. 10

    • Super CTRL 1 .. 0 move (silent) 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, swaync, rofi

    • Super Alt R reloads waybar, rofi, swaync

  • 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/UserScripts file names WallpaperAutoChange.sh WallpaperSelect.sh WallpaperRandom.sh (first 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/UserConfigs . View with SUPER E
  • Keybindings file is located here ~/.config/hypr/UserConfigs/UserKeybinds.conf

🖼️ Taking Screen shots (you may need to hold down the function (fn) key. You can change keybinds in ~/.config/hypr/UserConfigs/UserKeybinds.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/UserConfigs/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

  • kb_passthrough is disabled by default. To re-enable, edit ~/.config/hypr/UserConfigs/UserKeybinds.conf At the bottom you will see the Keyboard passthrough

🎗️ waybar customizations

Tip

Rename your waybar configs and styles that you have costumized so it wont be overwritten during upgrade (plan for v2.2.4)

  • 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:

    • to change from deg C to deg F , edit the ~/.config/waybar/modules look for "temperature". Change the format to "format": "{temperatureF}°F {icon}",
    • to fix the temperature if not showing correctly, edit the hwmon-path accordingly.
    • use this function to easily identify the hwmon path
      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 
    • look for K10temp for AMD CPU and coretemp for Intel CPU's
  • 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/UserConfigs with some settings ~/.config/hypr/configs in Can view using SUPER E (by default, will be opened with nano. You can edit default editor by editing ~/.config/hypr/scripts/QuickEdit.sh
  • In Generaral, costumize your own dots in ~/.config/hypr/UserConfigs
  • 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/UserConfigs/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.

🔔 SwayNC

  • if you only want to use notification part of swayNC, edit ~/.config/swaync/config.json
  • look at the widgets part. you can disable by putting /* / i.e. /"buttons-grid",*/ or delete that line. Then you can refresh with SUPER ALT R

🎗️ other notes

🎗️ HIDDEN FEATURES!

  • ROFI BEATS or ONLINE Music ( SUPER SHIFT M) (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/UserScripts/RofiBeats.sh .
  • EMOTICONS (SUPER ALT E) - useful for chats or messages ). Click to copy and CTRL 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

📦 Flatpak GTK Themes Dark & Light

  • Using the Dark Light Theme switcher in the waybar (beside the calendar in Waybar Default Layout), you can switch your Flatpak apps to set the Dark / Light GTK themes. However, some system flatpak apps may not honor this
  • work arounds: execute these two commands: in your tty (kitty)
  • sudo flatpak override --filesystem=$HOME/.themes
  • sudo flatpak override --filesystem=$HOME/.themes

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