Hyprland dotfiles
| 1 | #!/bin/bash |
| 2 | # /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ # |
| 3 | # This file used on waybar modules sourcing defaults set in $HOME/.config/hypr/UserConfigs/01-UserDefaults.conf |
| 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 | # Execute accordingly based on the passed argument |
| 27 | if ; then |
| 28 | |
| 29 | elif ; then |
| 30 | |
| 31 | elif ; then |
| 32 | |
| 33 | elif ; then |
| 34 | & |
| 35 | else |
| 36 | |
| 37 | |
| 38 | |
| 39 | |
| 40 | |
| 41 | fi |