summaryrefslogtreecommitdiff
path: root/posts
diff options
context:
space:
mode:
authorbt <bt@web>2023-12-31 08:40:43 -0500
committerIkiWiki <ikiwiki.info>2023-12-31 08:40:43 -0500
commit7deea1694b8e3a33dabe45bb51ca9722786cc555 (patch)
tree90737b7b74d37e78cdc8e93c6d1cdfc79bd59727 /posts
parent6460f1e283835ce4de37ec336438e9e854c4b3c3 (diff)
Diffstat (limited to 'posts')
-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!