feat(guix): XDG_DATA_DIRS for profiles & flatpak

This commit is contained in:
Pavel Korytov 2021-06-02 16:11:56 +03:00
parent 8c7105de9d
commit 8b6f2f3751
2 changed files with 16 additions and 6 deletions

View file

@ -1,5 +1,7 @@
(specifications->manifest
'(
"nethogs"
"htop"
"bat"
"exa"
"ncurses"

View file

@ -67,6 +67,7 @@ for i in $GUIX_EXTRA_PROFILES/*; do
GUIX_PROFILE="$profile"
. "$GUIX_PROFILE"/etc/profile
fi
export XDG_DATA_DIRS="$XDG_DATA_DIRS:$profile/share"
unset profile
done
#+end_src
@ -75,6 +76,11 @@ Set a folder for my packages.
#+begin_src sh
export GUIX_PACKAGE_PATH=~/guix-packages
#+end_src
Make flatpak apps visible to launchers
#+begin_src sh
export XDG_DATA_DIRS="$XDG_DATA_DIRS:$HOME/.local/share/flatpak/exports/share"
#+end_src
** XResources
| Guix dependency |
|-----------------|
@ -631,12 +637,14 @@ key_bindings:
- { key: Minus, mods: Control, action: DecreaseFontSize }
- { key: NumpadSubtract, mods: Control, action: DecreaseFontSize }
#+end_src
* Various applications
| Guix dependency | Description |
|-----------------+--------------------------------------|
| ncurses | provides stuff like ~clear~ |
| exa | ~ls~ replacement, written in Rust |
| bat | ~cat~ clone with syntax highlighting |
* Various console applications
| Guix dependency | Description |
|-----------------+---------------------------------------------|
| ncurses | Provides stuff like ~clear~ |
| exa | ~ls~ replacement, written in Rust |
| bat | ~cat~ clone with syntax highlighting |
| htop | Interactive process viewer |
| nethogs | A tool to group processed by used bandwidth |
| Note | Description |
|------+-----------------|