From 7deea1694b8e3a33dabe45bb51ca9722786cc555 Mon Sep 17 00:00:00 2001 From: bt Date: Sun, 31 Dec 2023 08:40:43 -0500 Subject: --- posts/sublime.md | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'posts') 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 flatpak -flatpak remote-add --user --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo -``` + + 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: -``` -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! -- cgit v1.2.3-54-g00ecf