Merge branch 'main' of ssh://codeberg.org/dnscio/nix-config

This commit is contained in:
Dennis 2025-09-09 09:06:21 +02:00
commit fb5b9c6f85
5 changed files with 58 additions and 0 deletions

View file

@ -0,0 +1,7 @@
{ config, ... }:
{
xdg.configFile."raycast-scripts" = {
source = config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/dev/nix-config/modules/raycast/scripts";
};
}

View file

@ -0,0 +1,18 @@
#!/bin/bash
# Required parameters:
# @raycast.schemaVersion 1
# @raycast.title Add to Inbox
# @raycast.mode silent
# Optional parameters:
# @raycast.icon 🤖
# @raycast.argument1 { "type": "text", "placeholder": "Placeholder" }
# Documentation:
# @raycast.description Adds a task to my org inbox
# @raycast.author dnsc
# @raycast.authorURL https://raycast.com/dnsc
emacsclient -e "(dnsc/add-to-inbox \"* TODO $1\n\")"
echo "Added new task to inbox"

View file

@ -0,0 +1,16 @@
#!/bin/bash
# Required parameters:
# @raycast.schemaVersion 1
# @raycast.title Emacs Client
# @raycast.mode silent
# Optional parameters:
# @raycast.icon 🤖
# Documentation:
# @raycast.description Opens new emacsclient frame
# @raycast.author dnsc
# @raycast.authorURL https://raycast.com/dnsc
emacsclient -a "" -c

View file

@ -0,0 +1,16 @@
#!/bin/bash
# Required parameters:
# @raycast.schemaVersion 1
# @raycast.title Open Agenda
# @raycast.mode silent
# Optional parameters:
# @raycast.icon 🤖
# Documentation:
# @raycast.description Opens org agenda.
# @raycast.author dnsc
# @raycast.authorURL https://raycast.com/dnsc
emacsclient -r --eval "(dnsc/open-agenda-only-window)"