summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md30
-rwxr-xr-xinstall.fish8
2 files changed, 38 insertions, 0 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..9eff4ac
--- /dev/null
+++ b/README.md
@@ -0,0 +1,30 @@
+# caelestia-scripts
+
+A collection of scripts for my caelestia dotfiles.
+
+## Installation
+
+Run the `install.fish` script in the base of the repo.
+`~/.local/bin` must be in your path.
+
+## Usage
+
+```
+> caelestia help
+Usage: caelestia COMMAND [ ...args ]
+
+COMMAND := help | shell | toggle | workspace-action | scheme | screenshot | record | clipboard | clipboard-delete | emoji-picker | wallpaper | pip
+
+ help: show this help message
+ shell: start the shell or message it
+ toggle: toggle a special workspace
+ workspace-action: execute a Hyprland workspace dispatcher in the current group
+ scheme: change the current colour scheme
+ screenshot: take a screenshot
+ record: take a screen recording
+ clipboard: open clipboard history
+ clipboard-delete: delete an item from clipboard history
+ emoji-picker: open the emoji picker
+ wallpaper: change the wallpaper
+ pip: move the focused window into picture in picture mode or start the pip daemon
+```
diff --git a/install.fish b/install.fish
new file mode 100755
index 0000000..029174c
--- /dev/null
+++ b/install.fish
@@ -0,0 +1,8 @@
+#!/bin/fish
+
+set -q XDG_CONFIG_HOME && set -l config $XDG_CONFIG_HOME/caelestia || set -l config ~/.config/caelestia
+set -l dist $config/scripts
+
+git clone https://github.com/caelestia-dots/scripts.git $dist
+mkdir -p ~/.local/bin
+ln -s $dist/main.fish ~/.local/bin/caelestia