summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--posts/sublime.md28
1 files changed, 14 insertions, 14 deletions
diff --git a/posts/sublime.md b/posts/sublime.md
index 2217c75..2e4a4e9 100644
--- a/posts/sublime.md
+++ b/posts/sublime.md
@@ -19,31 +19,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)
-```
-apk add flatpak
-adduser <YourUsername> flatpak
-flatpak remote-add --user --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
-```
+
+ 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:
-```
-flatpak install flathub com.sublimetext.three
-```
+
+ flatpak install flathub com.sublimetext.three
+
You could stop now and simply open Sublime anytime by running the following command in your terminal:
-```
-flatpak run com.sublimetext.three
-```
+
+ 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
-```
-doas ln -s ~/.local/share/flatpak/exports/bin/com.sublimetext.three /usr/bin/sublimetext
-```
+
+ 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!