diff --git a/files/.config/alacritty/alacritty.yml b/files/.config/alacritty/alacritty.yml index 5db2aab..e8c674d 100644 --- a/files/.config/alacritty/alacritty.yml +++ b/files/.config/alacritty/alacritty.yml @@ -307,7 +307,7 @@ colors: *gruvbox background_opacity: 1 font: - size: 12 + size: 14 normal: # >>= >= #family: JetBrainsMono Nerd Font #family: Iosevka diff --git a/files/.xmonad/.stack-work/stack.sqlite3 b/files/.xmonad/.stack-work/stack.sqlite3 index be9b6b5..07e8503 100644 Binary files a/files/.xmonad/.stack-work/stack.sqlite3 and b/files/.xmonad/.stack-work/stack.sqlite3 differ diff --git a/files/scripts/conf b/files/scripts/conf index 44de7ad..f35a0fb 100755 --- a/files/scripts/conf +++ b/files/scripts/conf @@ -4,7 +4,11 @@ last_selection=$(cat /tmp/fzf-open-conf-last 2>/dev/null) config_files_path="/home/leon/scripts/bookmarks/config_files" config_file_count=$((2+$(cat "$config_files_path" | wc -l))) -options="$last_selection\n$(awk '{print $1}' $config_files_path | grep -v "$last_selection")" +options=$(awk '{print $1}' $config_files_path) +if [ -n "$last_selection" ] ; then + options="$last_selection\n$(echo "$options" | grep -v "$last_selection")" +fi + selected=$(echo -e "$options" | fzf --history=/tmp/conf-open-history --cycle --reverse --height "$config_file_count") test "$selected" = "" && exit 1 echo "$selected" > /tmp/fzf-open-conf-last