Hyprland dotfiles
| 1 | #!/bin/bash |
| 2 | # /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ ## |
| 3 | # searchable enabled keybinds using rofi |
| 4 | |
| 5 | # kill yad to not interfere with this binds |
| 6 | || |
| 7 | |
| 8 | # check if rofi is already running |
| 9 | if ; then |
| 10 | |
| 11 | fi |
| 12 | |
| 13 | # define the config files |
| 14 | keybinds_conf="/.config/hypr/configs/Keybinds.conf" |
| 15 | user_keybinds_conf="/.config/hypr/UserConfigs/UserKeybinds.conf" |
| 16 | laptop_conf="/.config/hypr/UserConfigs/Laptops.conf" |
| 17 | rofi_theme="/.config/rofi/config-keybinds.rasi" |
| 18 | msg='☣️ NOTE ☣️: Clicking with Mouse or Pressing ENTER will have NO function' |
| 19 | |
| 20 | # combine the contents of the keybinds files and filter for keybinds |
| 21 | keybinds= |
| 22 | |
| 23 | # check if laptop.conf exists and add its keybinds if present |
| 24 | if ; then |
| 25 | laptop_binds= |
| 26 | keybinds+=$'\n'"" |
| 27 | fi |
| 28 | |
| 29 | # check for any keybinds to display |
| 30 | if ; then |
| 31 | |
| 32 | |
| 33 | fi |
| 34 | |
| 35 | # replace $mainmod with super in the displayed keybinds for rofi |
| 36 | display_keybinds= |
| 37 | |
| 38 | # use rofi to display the keybinds with the modified content |
| 39 | | |