Hyprland dotfiles
| 1 | #!/bin/bash |
| 2 | # /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ ## |
| 3 | # For Searching via web browsers |
| 4 | |
| 5 | # Define the path to the config file |
| 6 | config_file=/.config/hypr/UserConfigs/01-UserDefaults.conf |
| 7 | |
| 8 | # Check if the config file exists |
| 9 | if ; then |
| 10 | |
| 11 | |
| 12 | fi |
| 13 | |
| 14 | # Process the config file in memory, removing the $ and fixing spaces |
| 15 | config_content= |
| 16 | |
| 17 | # Source the modified content directly from the variable |
| 18 | |
| 19 | |
| 20 | # Check if $term is set correctly |
| 21 | if ; then |
| 22 | |
| 23 | |
| 24 | fi |
| 25 | |
| 26 | # Rofi theme and message |
| 27 | rofi_theme="/.config/rofi/config-search.rasi" |
| 28 | msg='‼️ **note** ‼️ search via default web browser' |
| 29 | |
| 30 | # Kill Rofi if already running before execution |
| 31 | if ; then |
| 32 | |
| 33 | fi |
| 34 | |
| 35 | # Open Rofi and pass the selected query to xdg-open for Google search |
| 36 | | | |