Skip to content
Ja.KooLit edited this page Oct 20, 2024 · 36 revisions

TIPS & TRICKS

πŸ‘‹ Welcome to my KooL's Dots 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

⌨️ KEYBINDS

πŸ–ΌοΈ 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 WallpaperEffects.sh
  • 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 & ~/.config/hypr/configs/Keybinds.conf

πŸŽ—οΈ 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)

    • some additional actions at the clipboard manager entry (CTRL del or ALT del)

♨️ 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 Catpuccin-Mocha 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

  • 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

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

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

  • unwanted waybar module:

    • Simplest is to edit ~/.config/waybar/modules . Put // before or delete that module.
    • Or you dont really need to worry about since the modules not defined on waybar configs are not loaded.
    • So best and recommended to is to edit both the configs and styles that you prefer on configs and styles folder in ~/.config/waybar . Then simply load it.

Note

DO NOT edit directly the files ~/.config/waybar/config and ~/.config/waybar/style.css These two files are only symlinks to files in ~/.config/waybar/configs/ and ~/.config/waybar/styles/

➰ waybar customizations (Hyprland Workspaces)

  • plenty waybar hyprland/workspaces to choose from. Circle, Roman Number, Kanji pacman, and workspace number and icons. Assign accordingly on waybar configs of choice as per above. Check ~/.config/waybar/modules for their modules names . i.e. hyprland/workspaces#kanji

πŸ–οΈ Weather app related for Waybar and Hyprlock

  • By default, Weather.sh is in use for weather module in waybar and so as data for hyprlock (lockscreen).
  • To change between Weather.sh and Weather.py, edit ~/.config/waybar/ModulesCustom locate custom/weather line 15. Remove // on //"exec": "~/.config/hypr/UserScripts/Weather.py", and put // on line "exec": "~/.config/hypr/UserScripts/Weather.sh", . SUPER ALT R to refresh waybar
  • Weather.sh (Default weather app in waybar) edit ~/.config/hypr/UserScripts/Weather.sh to add your city. Make sure a major city in your Area. Delete rbn folder in ~/.cache and refresh waybar, SUPER ALT R
  • Starting from v2.2.10, the python based Weather script (~/.config/hypr/UserScripts/Weather.py) needs some tinkering on changing desired city. Explanation on how to add location is on the script

πŸŽ—οΈ 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/

πŸ”” 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

πŸŽ—οΈ ROFI BEATS & ROFI EMOTICONS

  • 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 dots, you can disable the borderangle animation in Hyprland settings under animations.
  • You can also disable blur, reduce the shadow etc
  • 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

πŸ«₯ Improving performance for Older Nvidia Cards using driver 470

πŸ”’ hypridle and hyprlock

  • All configs are in ~/.config/hypr/. hypridle.conf and hyprlock.conf . Edit as you see fit for you

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