From da1b48c4c1887102376cf4f422897d20513fb1f6 Mon Sep 17 00:00:00 2001 From: Steve Beaulac Date: Wed, 19 Aug 2026 13:53:18 -0400 Subject: [PATCH] feat: add pi desktop launcher and cleanup terminal-launcher --- desktop/pi.desktop | 9 +++++++++ mise.toml | 1 + script/terminal-launcher | 1 - templates/environments.tmpl | 1 + 4 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 desktop/pi.desktop diff --git a/desktop/pi.desktop b/desktop/pi.desktop new file mode 100644 index 0000000..e98fc38 --- /dev/null +++ b/desktop/pi.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Version=1.0 +Name=Terminal pi +Comment=Terminal with pi +Exec=terminal-launcher "terminal-pi" "mise exec -C ~/Documents/sjb-brain -- pi --fff-enable-home-scan=false --plan" +Terminal=false +Type=Application +Icon=foot +StartupNotify=true diff --git a/mise.toml b/mise.toml index 9b82749..16349c3 100644 --- a/mise.toml +++ b/mise.toml @@ -80,6 +80,7 @@ dotfiles.default_mode = "symlink-each" "~/.local/share/applications/obelix-herdr.desktop" = { source = "desktop/obelix-herdr.desktop", mode = "symlink" } "~/.local/share/applications/nca-ai-01-tmux.desktop" = { source = "desktop/nca-ai-01-tmux.desktop", mode = "symlink" } "~/.local/share/applications/nca-ai-01-herdr.desktop" = { source = "desktop/nca-ai-01-herdr.desktop", mode = "symlink" } +"~/.local/share/applications/pi.desktop" = { source = "desktop/pi.desktop", mode = "symlink" } # scripts. "~/.local/bin/hyprland-activeworkspace" = { source = "script/hyprland-activeworkspace", mode = "symlink" } diff --git a/script/terminal-launcher b/script/terminal-launcher index 14291d5..0879bd9 100755 --- a/script/terminal-launcher +++ b/script/terminal-launcher @@ -1,5 +1,4 @@ #!/bin/sh class=$1 cmd=$2 -terminal="foot -a $class -T $class \"$cmd\"" hyprctl dispatch "focus_or_launch({ match = '$class', cmd = 'foot -a $class -T $class $cmd'})" diff --git a/templates/environments.tmpl b/templates/environments.tmpl index 798068b..b5f68dc 100644 --- a/templates/environments.tmpl +++ b/templates/environments.tmpl @@ -6,3 +6,4 @@ USER_FULLNAME = "{{ vars.USER_FULLNAME }}" USER_EMAIL = "{{ vars.USER_FULLNAME }}" THEME_DIR = "{{ vars.THEME_DIR }}" SECOND_BRAIN = "{{ vars.SECOND_BRAIN }}" +KNOWLEDGES_VAULT = "{{ vars.SECOND_BRAIN }}"