From 92c42887dc323765cda013362e79ee0df14584a4 Mon Sep 17 00:00:00 2001 From: BardofSprites <89086143+BardofSprites@users.noreply.github.com> Date: Mon, 2 Feb 2026 18:58:25 -0500 Subject: frame class names --- bin/.local/bin/scripts/emacs-launcher | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/bin/.local/bin/scripts/emacs-launcher b/bin/.local/bin/scripts/emacs-launcher index cd5b624..02fa157 100755 --- a/bin/.local/bin/scripts/emacs-launcher +++ b/bin/.local/bin/scripts/emacs-launcher @@ -2,7 +2,7 @@ run_command () { - emacsclient -c -e $1 >/dev/null 2>&1 & + emacsclient -c -F "((name . \"$2\"))" -e "$1" >/dev/null 2>&1 & } options=("calendar" "agenda" "music" "rss" "scratch" "mail") @@ -16,28 +16,28 @@ fi case $choice in "calendar") command="(bard/open-calendar)" - run_command $command + run_command $command "calendar" ;; "agenda") command="(bard/default-agenda)" - run_command $command + run_command $command "agenda" ;; "music") command="(emms)" - run_command $command + run_command $command "music" ;; "rss") command="(elfeed)" - run_command $command + run_command $command "rss" ;; "mail") command="(notmuch)" - run_command $command + run_command $command "mail" ;; "scratch") - scratch.sh + scratch.sh "scratch" ;; - "*") + *) exit 1; ;; esac -- cgit v1.2.3