diff options
author | Bradley Taunt <bt@btxx.org> | 2024-07-20 12:13:49 -0400 |
---|---|---|
committer | Bradley Taunt <bt@btxx.org> | 2024-07-20 12:13:49 -0400 |
commit | b810d9a0b47dd49a90cc8ec7bf1b05f59ff945b3 (patch) | |
tree | d4e70797a7c1237a7e8a9be0d025e878d2601160 /posts/sublime.md | |
parent | f39a84524d77bcc2a83adfab01716c67cc7e983b (diff) |
Crude testing with blogrb
Diffstat (limited to 'posts/sublime.md')
-rw-r--r-- | posts/sublime.md | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/posts/sublime.md b/posts/sublime.md index d319a73..4a203cb 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! |