aboutsummaryrefslogtreecommitdiff
path: root/posts/sublime.md
diff options
context:
space:
mode:
authorBradley Taunt <bt@btxx.org>2024-07-14 12:26:35 -0400
committerBradley Taunt <bt@btxx.org>2024-07-14 12:26:35 -0400
commite8876fb866c3d89c432dcd04634e9bd2ced18022 (patch)
tree2c9a51310bd9bd8041e5d7bbb85bbfd010e2b514 /posts/sublime.md
parentc803e304d959f4926a55068d2b11f64bf4c95607 (diff)
Switch things back to smu instead of lowdown
Diffstat (limited to 'posts/sublime.md')
-rw-r--r--posts/sublime.md16
1 files changed, 8 insertions, 8 deletions
diff --git a/posts/sublime.md b/posts/sublime.md
index 4a203cb..d319a73 100644
--- a/posts/sublime.md
+++ b/posts/sublime.md
@@ -20,31 +20,31 @@ You'll need to install flatpak, give your current user permission to install fla
(The following snippets assume you are using `doas`. If you are using `sudo`, be sure to swap accordingly)
-~~~sh
+```sh
apk add flatpak
adduser <YourUsername> flatpak
flatpak remote-add --user --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
-~~~
+```
Congrats. You now have setup `flatpak` on your machine! Next we install Sublime Text:
-~~~sh
+```sh
flatpak install flathub com.sublimetext.three
-~~~
+```
You could stop now and simply open Sublime anytime by running the following command in your terminal:
-~~~sh
+```sh
flatpak run com.sublimetext.three
-~~~
+```
This works perfectly fine but I find it a little cumbersome. I would much rather open my programs directly through dmenu. Let's set that up.
## Creating System Links
-~~~sh
+```sh
doas ln -s ~/.local/share/flatpak/exports/bin/com.sublimetext.three /usr/bin/sublimetext
-~~~
+```
Now that those directories are linked, simply open dmenu and start typing `sublimetext`. Done and done. No more terminal commands needed to open Sublime!