This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$hypr = ~/.config/hypr | |
source = $hypr/colors.conf # for custom color | |
# GENERAL | |
general { | |
no_fade_in = true | |
grace = 1 | |
disable_loading_bar = false | |
hide_cursor = true | |
ignore_empty_input = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
parse_ini() { | |
local ini_file="$1" | |
# declare -A config | |
current_section="" | |
while IFS= read -r line; do | |
line=$(echo "$line" | sed -e 's/^[ \t]*//;s/[ \t]*$//') | |
if [[ "$line" =~ ^\; ]] || [[ -z "$line" ]]; then | |
continue |