adds raycast scripts to config
This commit is contained in:
parent
91dd752b66
commit
75fcf4ca4c
4 changed files with 40 additions and 0 deletions
|
|
@ -20,6 +20,7 @@
|
|||
../modules/wezterm
|
||||
../modules/nvim
|
||||
../modules/lazygit
|
||||
../modules/raycast
|
||||
];
|
||||
|
||||
programs.home-manager.enable = true;
|
||||
|
|
|
|||
7
modules/raycast/default.nix
Normal file
7
modules/raycast/default.nix
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
{ config, ... }:
|
||||
|
||||
{
|
||||
xdg.configFile."raycast" = {
|
||||
source = config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/dev/nix-config/modules/raycast/scripts";
|
||||
};
|
||||
}
|
||||
16
modules/raycast/scripts/emacsclient.sh
Executable file
16
modules/raycast/scripts/emacsclient.sh
Executable 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
|
||||
16
modules/raycast/scripts/open-agenda.sh
Executable file
16
modules/raycast/scripts/open-agenda.sh
Executable 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)"
|
||||
Loading…
Add table
Add a link
Reference in a new issue