Skip to content

Commit 113381e

Browse files
authored
Merge pull request #90 from rubiin/patch-1
doc: Update README.md to include site
2 parents a809d66 + ecfc9c1 commit 113381e

File tree

4 files changed

+12
-182
lines changed

4 files changed

+12
-182
lines changed

Configs/keybinds_hint.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Example:
3939
Users can also add a global overrides inside ${hydeConfDir}/hyde.conf
4040
Available overrides:
4141
42-
kb_hint_delim=">" ﯦ add a custom custom delimeter
42+
kb_hint_delim=">" ﯦ add a custom custom delimiter
4343
kb_hint_conf=("file1.conf" "file2.conf") ﯦ add a custom keybinds.conf path (add it like an array)
4444
kb_hint_width="30em" ﯦ custom width supports [ 'em' '%' 'px' ]
4545
kb_hint_height="35em" ﯦ custom height supports [ 'em' '%' 'px' ]
@@ -260,7 +260,7 @@ jsonData="$(
260260
hyprctl binds -j | jq -L "$tmpMapDir" -c '
261261
include "hyde-keybinds";
262262
263-
#? Funtions to Convert modmask into Keys, There should be a beter math for this but Im lazy
263+
#? Functions to Convert modmask into Keys, There should be a better math for this but Im lazy
264264
#? Also we can just map it manually too
265265
def get_keys:
266266
if . == 0 then
@@ -299,7 +299,7 @@ def get_keycode:
299299
#!if .modmask and .modmask != " " and .modmask != "" then .modmask |= (split(" ") | map(select(length > 0)) | if length > 1 then join(" + ") else .[0] end) else .modmask = "" end |
300300
if .keybind and .keybind != " " and .keybind != "" then .keybind |= (split(" ") | map(select(length > 0)) | if length > 1 then join(" + ") else .[0] end) else .keybind = "" end | #? Clean up
301301
.arg |= (arg_mapping[.] // .) | #? See above for how arg is converted
302-
#! .desc_executable |= gsub(".sh"; "") | #? Maybe Usefull soon removes ".sh" to file
302+
#! .desc_executable |= gsub(".sh"; "") | #? Maybe Useful soon removes ".sh" to file
303303
#? Creates a key desc... for fallback if "has description" is false
304304
.desc_executable |= (executables_mapping[.] // .) | #? exclusive for "exec" dispatchers
305305
.desc_dispatcher |= (description_mapping[.] // .) | #? for all other dispatchers

Hyde

+3-3
Original file line numberDiff line numberDiff line change
@@ -861,7 +861,7 @@ USAGE
861861
screencap) #? Use rofi to select screenshot options \n !! kills another rofi session
862862
Launch-Screencap
863863
;;
864-
search) #? [*] Web Search\nﯦ supports shorthand e.g 'g: some thing' (this uses google.com to search for 'some thing')\nﯦ ':' is use as delimter\nﯦ Custom search-engines should be in 'search.lst' and be declared inside ./hyde.conf ( e.g search_file="$HOME/.config/hyde/search.lst" )
864+
search) #? [*] Web Search\nﯦ supports shorthand e.g 'g: some thing' (this uses google.com to search for 'some thing')\nﯦ ':' is use as delimiter\nﯦ Custom search-engines should be in 'search.lst' and be declared inside ./hyde.conf ( e.g search_file="$HOME/.config/hyde/search.lst" )
865865

866866
shift
867867
Launch-Search "${@}"
@@ -884,7 +884,7 @@ USAGE
884884
run() { #? Executable utilities
885885
case $1 in
886886

887-
airplane_mode) #? Toogle airplane mode\n\tﯦ Toogles wifi
887+
airplane_mode) #? Toggle airplane mode\n\tﯦ Toogles wifi
888888
airplane-mode
889889
;;
890890
audio_idle) #? Inhibits idle when player status: 'Playing
@@ -909,7 +909,7 @@ run() { #? Executable utilities
909909
--scan ? Use 'tesseract' to scan image then add to clipboard
910910
--stop ? Stop every instance of Screencap
911911
--reset ? Reinitialize
912-
--deps ? Chek and resolve dependencies
912+
--deps ? Check and resolve dependencies
913913
[END]
914914
USAGE
915915
;;

README.md

+3-173
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
![hyde_cli_banner](https://raw.githubusercontent.com/krhyme7/hyde-cli/master/Assets/hyde_cli_banner.png)
55

66
<br>
7-
<a href="#installation"><kbd> <br> Installation <br> </kbd></a>&ensp;&ensp;
7+
<a href="https://hydeproject.pages.dev/guides/installation/"><kbd> <br> Installation <br> </kbd></a>&ensp;&ensp;
88
<a href="https://raw.githubusercontent.com/HyDE-Project/Hyde-cli/master/USAGE.md"><kbd> <br> Usage <br> </kbd></a>&ensp;&ensp;
9-
<a href="#faq"><kbd> <br> FAQ <br> </kbd></a>&ensp;&ensp;
9+
<a href="https://hydeproject.pages.dev/reference/faqs/"><kbd> <br> FAQ <br> </kbd></a>&ensp;&ensp;
1010
<a href="#support"><kbd> <br> Support <br> </kbd></a>&ensp;&ensp;
11-
<a href="#roadmap"><kbd> <br> Roadmap <br> </kbd></a>&ensp;&ensp;
11+
<a href="https://hydeproject.pages.dev/reference/roadmap/"><kbd> <br> Roadmap <br> </kbd></a>&ensp;&ensp;
1212
<a href="https://github.com/HyDE-Project/Hyde-cli/wiki"><kbd> <br> Wiki <br> </kbd></a>&ensp;&ensp;
1313
<a href="https://discord.gg/qWehcFJxPa"><kbd> <br> HyDE Discord <br> </kbd></a>
1414
<br><br><br>
@@ -23,165 +23,6 @@ For example, we have a functional TUI restore tool that follows `restore_cfg.lst
2323
> While Hyde-cli is stable, it is important to note that these scripts do alter and *could* potentially mess up your system configuration.
2424
> We ask that you use this tool carefully and report any bugs you find.
2525
26-
## Installation
27-
28-
To install, execute the following command:
29-
30-
```
31-
curl -sL https://raw.githubusercontent.com/HyDE-Project/Hyde-cli/master/install.sh | bash
32-
```
33-
34-
> [!Note]
35-
> For User who do not have root access:
36-
> ` export HYDE_LOCAL=1 ` to install this package locally
37-
38-
For other working install solutions, see the following below.
39-
40-
### Arch Linux
41-
42-
Use your preferred AUR helper `paru` or `yay`:
43-
44-
```
45-
paru -Sy hyde-cli-git
46-
```
47-
48-
```
49-
yay -Sy hyde-cli-git
50-
```
51-
52-
Use makepkg:
53-
54-
```
55-
git clone https://aur.archlinux.org/hyde-cli-git.git
56-
cd ./hyde-cli
57-
makepkg -si
58-
```
59-
60-
### Make
61-
62-
Install required dependencies: `git make fzf tree ttf-jetbrains-mono-nerd`.
63-
64-
Clone:
65-
66-
```
67-
git clone https://github.com/HyDE-Project/Hyde-cli
68-
cd ./Hyde-cli
69-
```
70-
71-
To install:
72-
73-
```
74-
make
75-
```
76-
77-
To uninstall:
78-
79-
```
80-
make uninstall
81-
```
82-
83-
To update:
84-
85-
```
86-
make update clean install
87-
```
88-
89-
> [!Note]
90-
> User who do not have root access should provide this flag for ` make `; ` make LOCAL=1 `
91-
92-
## Usage
93-
94-
Run: `Hyde man` if Hyde-cli is installed.
95-
<br>
96-
View [USAGE](https://raw.githubusercontent.com/HyDE-Project/Hyde-cli/master/USAGE.md)
97-
98-
---
99-
100-
#### Installation Instructions for HyDE with Hyde-install
101-
102-
> [!Note]
103-
> To achieve the best experience, it is encouraged you perform a fresh install of HyDE.
104-
105-
1) **Basic Installation**
106-
107-
- To install HyDE with the defaults, simply run the following command:
108-
109-
```
110-
Hyde-install
111-
```
112-
113-
> [!Important]
114-
> *Already have HyDE before you discover this CLI?*
115-
> Simply run this command
116-
> ` Hyde-install --link --dir ~/HyDE `
117-
> Note that the ` ~/HydE ` is the path to the clone directory.
118-
> See **Advanced Installation** below for more info.
119-
120-
2) **Advanced Installation**
121-
122-
- For more control over the installation process, you can use the following options:
123-
124-
- **Specify Local Directory**: To clone HyDE into a specific local directory and run the installation, use the `-d` or `--dir` flag followed by the path of the directory.
125-
126-
```
127-
Hyde-install --dir /path/to/directory
128-
```
129-
130-
- **Specify Remote Git Repository**: To clone HyDE from a specific remote git repository, use the `-g` or `--git` flag followed by the URL of the repository.
131-
132-
```
133-
Hyde-install --git https://host/owner/repository
134-
```
135-
136-
- **Link Local Git Repository**: To link a local git repository, use the `-l` or `--link` flag.
137-
138-
```
139-
Hyde-install --link
140-
```
141-
3) **Sync changes**
142-
- If you want to get the latest changes from the `hyprdots/HyDE` repo and apply to your local install
143-
```
144-
Hyde update
145-
Hyde restore Config
146-
```
147-
148-
> [!Important]
149-
> If you have previously installed HyDE without using the CLI, you can still use the CLI to manage your installation.
150-
> To do this, combine the --dir and --link flags where the local cloned repository is located.
151-
>
152-
> For example:
153-
>
154-
> ```
155-
> Hyde-install --dir /path/to/cloned/hyde --link
156-
> ```
157-
158-
## FAQ
159-
160-
#### Activate Shell-completions
161-
162-
If shell completions are not working, you can manually source them from the terminal. You can also persist the changes by adding the snippet at the end of your `.zshrc`, `.bashrc`.
163-
164-
<details>
165-
<summary>Zsh</summary>
166-
167-
```sh
168-
source Hyde.zsh
169-
```
170-
171-
</details>
172-
173-
<details>
174-
<summary>Bash</summary>
175-
176-
```sh
177-
source Hyde.bash
178-
```
179-
</details>
180-
181-
#### Images are not being shown in the terminal
182-
Make sure your terminal supports images. If you are using a terminal emulator that does not support images, you can use a terminal emulator that does, such as `kitty`.
183-
184-
</details>
18526

18627
## Support
18728

@@ -192,14 +33,3 @@ If you would like to support this project, but don't know how, here are some way
19233
- I don't really know what the use of the stars is, but feel free to leave one!
19334

19435
[![ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/A0A3TECUZ)
195-
## Roadmap
196-
197-
This is the current unfinished and completed plans of the project:
198-
199-
- [ ] Add interactive installation using fzf
200-
- [x] Interactive restore config following `restore_cfg.lst`
201-
- [x] Interactive package installation following `custom_apps.lst`
202-
- [x] Interactive theme selection
203-
- [x] Shell swap selection
204-
- [ ] Separate TUI from CLI
205-
- [ ] More to come...

USAGE.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ Usage: Hyde [Function] [options]
248248
249249
[search] ↪️ [*] Web Search
250250
💡supports shorthand e.g 'g: some thing' (this uses google.com to search for 'some thing')
251-
💡':' is use as delimter
251+
💡':' is use as delimiter
252252
💡Custom search-engines should be in 'search.lst' and be declared inside ./hyde.conf ( e.g search_file="$HOME/.config/hyde/search.lst" )
253253
254254
[--reset] ↪️ Reset cache
@@ -258,8 +258,8 @@ Usage: Hyde [Function] [options]
258258
259259
[run] ↪️ Executable utilities
260260
261-
[airplane_mode] ↪️ Toogle airplane mode
262-
💡Toogles wifi
261+
[airplane_mode] ↪️ Toggle airplane mode
262+
💡Toggles wifi
263263
264264
[audio_idle] ↪️ Inhibits idle when player status: 'Playing
265265

0 commit comments

Comments
 (0)