diff options
Diffstat (limited to 'macos.local/.flake/home/scripts/launcher.nix.org')
-rw-r--r-- | macos.local/.flake/home/scripts/launcher.nix.org | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/macos.local/.flake/home/scripts/launcher.nix.org b/macos.local/.flake/home/scripts/launcher.nix.org deleted file mode 100644 index b9debc7..0000000 --- a/macos.local/.flake/home/scripts/launcher.nix.org +++ /dev/null @@ -1,26 +0,0 @@ -#+title: Launcher Script - -Use =choose-gui= to launch an application. This is used for an =skhd= keyboard command to launch applications. -#+begin_src nix - { config, pkgs, ... }: - - { - home.file."./.local/bin/launcher" = { - executable = true; - text = '' -#+end_src - -Find an app with =choose-gui= and open it. -#+begin_src sh - #!/bin/sh - app="$(ls /Applications/ /Applications/Utilities/ /System/Applications/ /System/Applications/Utilities/ ~/Applications/ | grep '\.app$' | sed 's/\.app$//g' | choose -f "SauceCodePro Nerd Font" -s 15 -b ece0c9).app" - - open -n "$HOME/Applications/$app" || open -n "/Applications/$app" || open -n "/System/Applications/Utilities/$app" || open -n "/System/Applications/$app" || open -n "/Applications/Utilities/$app" -#+end_src - -Close the block. -#+begin_src nix - ''; - }; - } -#+end_src |