diff --git a/bin/omakub-sub/help.sh b/bin/omakub-sub/help.sh deleted file mode 100644 index 9921da9..0000000 --- a/bin/omakub-sub/help.sh +++ /dev/null @@ -1,3 +0,0 @@ -HELP=$(gum choose "Hotkeys" "Commands" "Tactile" --header "What do you need help with?" --height 5 | tr '[:upper:]' '[:lower:]') -[ -n "$HELP" ] && gum pager --soft-wrap <$OMAKUB_PATH/help/$HELP.md -source $OMAKUB_PATH/bin/omakub-sub/menu.sh diff --git a/bin/omakub-sub/manual.sh b/bin/omakub-sub/manual.sh new file mode 100644 index 0000000..c062fa3 --- /dev/null +++ b/bin/omakub-sub/manual.sh @@ -0,0 +1,2 @@ +google-chrome "https://manual.omakub.org" >/dev/null +source $OMAKUB_PATH/bin/omakub-sub/menu.sh diff --git a/bin/omakub-sub/menu.sh b/bin/omakub-sub/menu.sh index a7fde1a..1b2def1 100644 --- a/bin/omakub-sub/menu.sh +++ b/bin/omakub-sub/menu.sh @@ -1,5 +1,5 @@ if [ $# -eq 0 ]; then - SUB=$(gum choose "Theme" "Font" "Update" "Install" "Uninstall" "Help" "Quit" --height 10 --header "" | tr '[:upper:]' '[:lower:]') + SUB=$(gum choose "Theme" "Font" "Update" "Install" "Uninstall" "Manual" "Quit" --height 10 --header "" | tr '[:upper:]' '[:lower:]') else SUB=$1 fi diff --git a/help/commands.md b/help/commands.md deleted file mode 100644 index bc989fb..0000000 --- a/help/commands.md +++ /dev/null @@ -1,17 +0,0 @@ -# Commands - -Omakub installs a host of modern commands that improve on the Linux stables. You should eventually read up on all eza, fzf, zoxide, bat has to offer.But here are the most important ways. - -| Command | Function | -| ------------------------- | ------------------------------------------- | -| lt | Show nested files and directories | -| ff | Fuzzy find files from current dir | -| .. | Go up one directory from current | -| ... | Go up two directories from current | -| .... | Go up three directories from current | -| z | Quick jump to nested dir you've used before | -| n . | Open neovim with current dir | -| g | Git | -| compress | Compress named file/dir as tar.gz | -| decompress | Decompress tar.gz file | -| ** | Run command on file picked by fuzzy find | diff --git a/help/hotkeys.md b/help/hotkeys.md deleted file mode 100644 index ed238f2..0000000 --- a/help/hotkeys.md +++ /dev/null @@ -1,104 +0,0 @@ -# Hotkeys - -The joy of Linux flows from the keyboard. Training yourself to navigate and command as much of the operating system through hotkeys is the path to mastery of your machine. - -## Navigating - -| Hotkey | Function | -| ----------------------- | --------------------- | -| Super + Space | Type app to launch | -| Super + A | See all apps | -| Super + W | Close app | -| Super + 1/2/3/4 | Jump to workspace | -| Shift + Super + 1/2/3/4 | Move app to workspace | -| Alt + 1/2/3/.. | Jump to dock app | -| Ctrl + 1/2/3/.. | Jump to browser tab | - -## Tiling - -| Hotkey | Function | -| ------------------- | --------------------------- | -| F11 | Go full screen | -| Shift + F11 | Go full screen w/ title bar | -| Super + Left arrow | Fill left half | -| Super + Right arrow | Fill right half | -| Super + Up arrow | Fill full screen | -| Super + T | Tiling overlay | -| Super + T W S | Fill center vertical | -| Super + T Q A | Fill left vertical | -| Super + T E D | Fill right vertical | -| Super + T Q Q | Fill upper left | -| Super + T A A | Fill lower left | - -## Terminal - -| Hotkey | Function | -| ------------------- | --------------------------- | -| Ctrl + P R | New vertical pane | -| Ctrl + P D | New horizontal pane | -| Alt + Arrow | Navigate panes (and tabs) | -| Alt + = | Expand pane | -| Alt + - | Shrink pane | -| Ctrl + T N | New tab | -| Ctrl + T R | Rename tab | -| Ctrl + O D | Suspend session | -| Ctrl + S | Scroll mode (use pgup/down) | -| Ctrl + R | Reveal command history | - -## File Manager - -| Hotkey | Function | -| ------------------- | ------------------------------ | -| Ctrl + L | Go to path | -| Space | Preview file (arrows navigate) | -| Alt + Arrow Up | Go back one folder | - -## Neovim (w/ lazyvim) - -### Navigation - -| Hotkey | Function | -| ------------------------ | ------------------------------- | -| Space | Show command options | -| Space Space | Open file via fuzzy search | -| Space E | Toggle sidebar | -| Space G G | Show git controls | -| Space S G | Search file content | -| Ctrl + W W | Jump between sidebar and editor | -| Ctrl + Left/right arrow | Change size of sidebar | -| [ B | Go to left file tab | -| ] B | Go to right file tab | -| Space B D | Close file tab | - -### While in sidebar - -| Hotkey | Function | -| ------------------------ | ------------------------------- | -| A | Add new file in parent dir | -| Shift + A | Add new subdir in parent dir | -| D | Delete highlighted file/dir | -| M | Move highlighted file/dir | -| R | Rename highlighted file/dir | -| ? | Show help for all commands | - -## Quick Emojis - -| Hotkey | EM | Clue | -| ------------ | -- | ---------- | -| CapsLock M S | 😀 | smile | -| CapsLock M C | 😂 | cry | -| CapsLock M L | 😍 | love | -| CapsLock M V | ✌️" | victory | -| CapsLock M H | ❤️" | heart | -| CapsLock M Y | 👍 | yes | -| CapsLock M N | 👎 | no | -| CapsLock M F | 🖕 | fuck | -| CapsLock M W | 🤞 | wish | -| CapsLock M R | 🤘 | rock | -| CapsLock M K | 😘 | kiss | -| CapsLock M E | 🙄 | eyeroll | -| CapsLock M D | 🤤 | droll | -| CapsLock M M | 💰 | money | -| CapsLock M X | 🎉 | xellebrate | -| CapsLock M 1 | 💯 | 100% | -| CapsLock M T | 🥂 | toast | diff --git a/help/tactile.md b/help/tactile.md deleted file mode 100644 index ae160a0..0000000 --- a/help/tactile.md +++ /dev/null @@ -1,28 +0,0 @@ -# Tactile - -Tactile is a tool for tiling windows on larger displays. It's not a tiling windows manager, like i3 or Hyprland, -so it works alongside the regular Ubuntu Gnome window system that anyone coming from Windows or Mac would be -familiar with. By default, Omakub has configured it with 6 slots, using one main column, and two wings. This is -a great setup for having your editor in the center, flanked by docs and browser and AI helpers and what else. - -You don't need or probably even want to use this when using a smaller laptop, like a Framework 13. On a screen -like that, you're better off either using your applications full-screen and switching between workspaces, or -just using the two-way default Gnome tiling. Super+ and Super+ controls the default -Gnome window tiler, putting the active application on either the left or the right. Super+ will -maximize the application. And, finally, F11 takes an application full screen. - -But when you are on that big screen, use Tactile with Super+T to bring up the tiling overview. Then press W+S -to make the application take up the two center slots. You can also do Super+Q+Q to take up just the Q slot in -the upper left slot. Or even Super+Q+S to take up the four slots on the left of the screen. - -## Hotkeys - -| Hotkey | Function | -| ------------- | -------------------- | -| Super+T | Tiling overlay | -| Super+T+W+S | Fill center vertical | -| Super+T+Q+A | Fill left vertical | -| Super+T+E+D | Fill right vertical | -| Super+T+Q+Q | Fill upper left | -| Super+T+A+A | Fill lower left | -| Super+T+1-4 | Switch Layout 1-4 | diff --git a/help/zellij.md b/help/zellij.md deleted file mode 100644 index f8cf568..0000000 --- a/help/zellij.md +++ /dev/null @@ -1,3 +0,0 @@ -# Zellij - -