Skip to content

Commit b6ca241

Browse files
committed
feat(arch): add gedit and zathura
Signed-off-by: chris1320 <chris1320is@protonmail.com>
1 parent 6862222 commit b6ca241

File tree

1 file changed

+35
-1
lines changed

1 file changed

+35
-1
lines changed

Operating Systems/Arch Linux/Contents/Manual Customization.md

Lines changed: 35 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,29 @@ The config also comes with the following shaders:
235235
- [SSimDownscaler](https://gist.github.com/igv/36508af3ffc84410fe39761d6969be10): High-quality downscaling of video content. (only available on `profile-high`)
236236
- [KrigBilateral](https://gist.github.com/igv/a015fc885d5c22e6891820ad89555637): Bilateral filter. (only available on `profile-high`)
237237

238+
%%
239+
#### Music Player
240+
241+
Soon™️
242+
%%
243+
244+
#### Document Viewer
245+
246+
I use [Zathura](https://github.com/pwmt/zathura) as my primary document viewer. To start, install it together with the necessary dependencies and copy the configuration file.
247+
248+
```bash
249+
paru -S zathura zathura-cb zathura-djvu zathura-pdf-mupdf zathura-ps
250+
cp -r ~/Temp/SGDotfiles/zathura ~/.config/zathura
251+
```
252+
253+
> [!QUESTION]- Which language should I select for Tesseract data?
254+
>
255+
> While installing the packages, Paru asked me this:
256+
>
257+
> > "*There are 128 providers available for tessdata*"
258+
>
259+
> Choose the language you need for OCR. I read mostly English documents, so I chose `tesseract-data-eng`.
260+
238261
## Setting Up Paru and Pacman (again)
239262

240263
Since we have Paru now, we can configure Pacman more now. Hooks are scripts that are executed automatically at certain points during the package management process. Create the `/etc/pacman.d/hooks` directory by running the following command:
@@ -636,8 +659,19 @@ sudo grub-mkconfig -o /boot/grub/grub.cfg
636659
637660
## Final Touches
638661
662+
I use LocalSend to transfer any files between my devices within the local network and GNOME Text Editor because for some reason [[#Neovim]] doesn't work properly when set as the default text editor.
663+
664+
```bash
665+
paru -S localsend-bin gedit
666+
667+
# Ensure that GNOME Text Editor does not add newlines at the end of files
668+
gsettings set org.gnome.gedit.preferences.editor ensure-trailing-newline false
669+
```
670+
671+
To set the default apps for common filetypes, run `set-defaults.sh` script from the `~/.config/scripts` directory:
672+
639673
```bash
640-
paru -S localsend-bin
674+
~/.config/scripts/set-defaults.sh
641675
```
642676
643677
---

0 commit comments

Comments
 (0)