From 7ce64d461c7411d95ba60dd44520ffd916a852b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kier=C3=A1n=20Meinhardt?= Date: Tue, 27 Sep 2022 20:40:24 +0200 Subject: [PATCH] fix(notemenu): do not show hidden files --- configs/i3.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/i3.nix b/configs/i3.nix index 85019cd..53bd73e 100644 --- a/configs/i3.nix +++ b/configs/i3.nix @@ -243,7 +243,7 @@ in { note_file=$({ echo diary/$(date -I).md echo diary/$(date -I -d yesterday).md - find . -type f -printf "%T@ %p\n" | sort --reverse --numeric-sort | cut --delimiter=" " --fields=2- + find . ! -name '.*' -type f -printf "%T@ %p\n" | sort --reverse --numeric-sort | cut --delimiter=" " --fields=2- } | rofi -dmenu -i -p 'notes') if test "$note_file" then