~ianmjones/snippetexpander

8a0ed48dc7552183c09a69da0723932496a08cdb — Ian M. Jones a month ago 6a3471c
Add runtime dependencies section to site
1 files changed, 27 insertions(+), 4 deletions(-)

M site/src/routes/+page.svelte
M site/src/routes/+page.svelte => site/src/routes/+page.svelte +27 -4
@@ 148,11 148,11 @@
			<p>
				Download the file with the extension <em>.deb</em> from the
				<a href={latestTagURL}>release page</a>, then use
				<em>apt-get</em> to install it.
				<em>apt</em> to install it.
			</p>
			<pre>
				curl -O {latestDebURL}
				sudo apt-get install {latestDebFile}
				sudo apt install {latestDebFile}
			</pre>
			<h3 id="nixpkgs">Nixpkgs &amp; NixOS</h3>
			<p>


@@ 163,8 163,8 @@
			<p>Here's the basic commands you can use with Nixpkgs.</p>
			<pre>
				nix-env -f '&lt;nixpkgs&gt;' -iA snippetexpanderd
				nix-env -f '&lt;nixpkgs&gt;' -iA snippetexpander
				nix-env -f '&lt;nixpkgs&gt;' -iA snippetexpanderx
				nix-env -f '&lt;nixpkgs&gt;' -iA snippetexpander
				nix-env -f '&lt;nixpkgs&gt;' -iA snippetexpandergui
			</pre>
			<p>


@@ 174,8 174,8 @@
			<pre>
				environment.systemPackages = with pkgs; [
				&nbsp;&nbsp;snippetexpanderd
				&nbsp;&nbsp;snippetexpander
				&nbsp;&nbsp;snippetexpanderx
				&nbsp;&nbsp;snippetexpander
				&nbsp;&nbsp;snippetexpandergui
				];
			</pre>


@@ 221,6 221,29 @@
				go install github.com/wailsapp/wails/v2/cmd/wails@latest
				export PATH="$PATH:$HOME/go/bin"
			</pre>
			<p>Wails is also available in Nixpkgs.</p>
			<pre>
				nix-env -f '&lt;nixpkgs&gt;' -iA wails
			</pre>
			<h3 id="runtime-dependencies">Runtime Dependencies</h3>
			<p>The daemon has the following runtime package dependencies:</p>
			<pre>
				xclip
				wl-clipboard
				xdotool
				wtype
			</pre>
			<p>
				When using X Server for display, xclip is used for copying
				snippets into the clipboard, and xdotool is used to paste the
				snippet, e.g. when using the Search &amp; Paste window.
			</p>
			<p>
				When using Wayland for display, wcopy (from wl-clipboard) is
				used for copying snippets into the clipboard, and wtype is used
				to paste the snippet, e.g. when using the Search &amp; Paste
				window.
			</p>
		</div>
	</div>