From 458fb492c42f6dbd16947780bd76c620bf9aca5d Mon Sep 17 00:00:00 2001 From: Javier Feliz Date: Mon, 11 Aug 2025 02:31:32 -0400 Subject: [PATCH] banger project opener --- home/hyprland/binds.nix | 4 +++- home/shell.nix | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/home/hyprland/binds.nix b/home/hyprland/binds.nix index a52e877..a4eae1d 100644 --- a/home/hyprland/binds.nix +++ b/home/hyprland/binds.nix @@ -30,7 +30,9 @@ "$mod, e, exec, $file_browser" "$mod SHIFT, n, exec, $terminal --start-as=normal -- bash -ic 'code ~/nix && exit'" "$mod SHIFT, ESC, exec, $terminal --start-as=normal -- bash -ic 'btop'" - "$mod ALT, p, exec, $terminal --start-as=normal -- bash -ic 'proj'" + # "$mod ALT, p, exec, $terminal --start-as=normal -- bash -ic 'proj'" + + "$mod ALT, p, exec, eza -ld $HOME/projects/* --color=never | awk '{print $7}' | wofi --dmenu --prompt \"Open project:\" | xargs -I{} code {} -n && exit" "$mod, RETURN, exec, $webapphttps://chatgpt.com" # Window and workspace navigation diff --git a/home/shell.nix b/home/shell.nix index 752982a..5ed88ad 100755 --- a/home/shell.nix +++ b/home/shell.nix @@ -75,7 +75,7 @@ function proj() { eza -ld $HOME/projects/* --color=never | awk '{print $7}' | - fzf --reverse | xargs -I{} code {} -n && exit + wofi --dmenu --prompt "Open project:" | xargs -I{} code {} -n && exit } function makepasswd() {