From b810d9a0b47dd49a90cc8ec7bf1b05f59ff945b3 Mon Sep 17 00:00:00 2001 From: Bradley Taunt Date: Sat, 20 Jul 2024 12:13:49 -0400 Subject: Crude testing with blogrb --- posts/sublime.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'posts/sublime.md') 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 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! -- cgit v1.2.3-54-g00ecf