From 6c23d54ced9761e77d49a0a476d6b12ae76b8385 Mon Sep 17 00:00:00 2001 From: Mats Estensen Date: Sun, 9 Jun 2024 14:52:19 +0200 Subject: [PATCH 1/3] fix: use soft-wrap to show all help content --- bin/omakub-help | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/omakub-help b/bin/omakub-help index 173be51c..22820bf7 100644 --- a/bin/omakub-help +++ b/bin/omakub-help @@ -1,2 +1,2 @@ HELP=$(gum choose "Hotkeys" "Commands" "Tactile" --header "What do you need help with?" --height 5 | tr '[:upper:]' '[:lower:]') -[ -n "$HELP" ] && gum pager <$OMAKUB_PATH/help/$HELP.md +[ -n "$HELP" ] && gum pager --soft-wrap <$OMAKUB_PATH/help/$HELP.md From 74443dfb89eb00591e62c012a937c05209418199 Mon Sep 17 00:00:00 2001 From: Mats Estensen Date: Sun, 9 Jun 2024 14:52:40 +0200 Subject: [PATCH 2/3] fix: not necessary to hard break lines when showing with soft-wrap --- help/commands.md | 2 +- help/tactile.md | 15 +++------------ 2 files changed, 4 insertions(+), 13 deletions(-) diff --git a/help/commands.md b/help/commands.md index ca0721dc..35f4eed0 100644 --- a/help/commands.md +++ b/help/commands.md @@ -1,6 +1,6 @@ # 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. +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 | | ------------------------- | ------------------------------------------- | diff --git a/help/tactile.md b/help/tactile.md index 93e2e222..98fb4e9b 100644 --- a/help/tactile.md +++ b/help/tactile.md @@ -1,19 +1,10 @@ # 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. +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. +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 scren, 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. +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 From 57f84d51732a14159a5ef2c3534123365de06e20 Mon Sep 17 00:00:00 2001 From: Mats Estensen Date: Sun, 9 Jun 2024 15:03:45 +0200 Subject: [PATCH 3/3] fix: break lines on long paragraphs for readability --- help/commands.md | 2 +- help/tactile.md | 15 ++++++++++++--- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/help/commands.md b/help/commands.md index 35f4eed0..99692bb6 100644 --- a/help/commands.md +++ b/help/commands.md @@ -1,6 +1,6 @@ # 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. +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 | | ------------------------- | ------------------------------------------- | diff --git a/help/tactile.md b/help/tactile.md index 98fb4e9b..084ccc79 100644 --- a/help/tactile.md +++ b/help/tactile.md @@ -1,10 +1,19 @@ # 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. +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. +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. +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