move to backup
This commit is contained in:
parent
294dc66380
commit
a0e3d792a9
182 changed files with 156 additions and 103 deletions
7
bak/modules/raycast/default.nix
Normal file
7
bak/modules/raycast/default.nix
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
{ config, ... }:
|
||||
|
||||
{
|
||||
xdg.configFile."raycast-scripts" = {
|
||||
source = config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/dev/nix-config/modules/raycast/scripts";
|
||||
};
|
||||
}
|
||||
18
bak/modules/raycast/scripts/add-to-inbox.sh
Executable file
18
bak/modules/raycast/scripts/add-to-inbox.sh
Executable 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"
|
||||
20
bak/modules/raycast/scripts/emacsclient.sh
Executable file
20
bak/modules/raycast/scripts/emacsclient.sh
Executable file
|
|
@ -0,0 +1,20 @@
|
|||
#!/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
|
||||
gsleep 3s
|
||||
|
||||
client_window=$(aerospace list-windows --workspace focused | gcut -d " " -f1)
|
||||
aerospace focus --window-id $client_window
|
||||
16
bak/modules/raycast/scripts/open-agenda.sh
Executable file
16
bak/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