From 05ec12bd99fe5b7e3a8629215e49c6b80fa2e311 Mon Sep 17 00:00:00 2001 From: Leon Kowarschick Date: Thu, 14 May 2020 14:59:12 +0200 Subject: [PATCH] asdf --- files/.config/alacritty/alacritty.yml | 2 +- files/.xmonad/.stack-work/stack.sqlite3 | Bin 823296 -> 823296 bytes files/scripts/conf | 6 +++++- 3 files changed, 6 insertions(+), 2 deletions(-) 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 be9b6b5fa0cef2751ff0343e5f69b717215dc7fc..07e8503dc7a7db2df93b46f7eea22c90228dcb1b 100644 GIT binary patch delta 157 zcmZozVAQa{Xo55&-$WT_M!v>`)&$1Z1g6#m=B)`VOZ~+eZZhyS^8Dvv=IUU$$#I|E zhjlZHBvb8VLxsKE&5GWf42hDtoGrD}1GjK!Pj?PvF_$mNEznO+OiIkr%}C8DNG;MW zuFTEJ%*!seG%>cYu-a~D%q7X#UKhjy#H>Kf2E^<@%mKulK+FZi+}rDdc$#bhA%QXy delta 129 zcmZozVAQa{Xo55&&qNt#MxMrm)&$1Z1g6#m=B)`VOZ~+ec^UW`dH(Y-b9FHCa@=S4 zVcpCk$y7VpP+{-%2Zz{9xSMjlIT;cqb2(c?rw4A~(4Nj8$YQ?jIXequdtDF<5VHa? Y8xXStF$WNH0x=g5b8oK;;%Tx40LN}8)Bpeg 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