home-environments: radio: Set terminal, editor and browser used by awesome configuration using their respective environment variables

sioyek
Luis Guilherme Coelho 2024-02-09 14:36:34 -03:00
parent a50b1c089a
commit e06c9c6887
No known key found for this signature in database
GPG Key ID: 1F2E76ACE3F531C8
2 changed files with 6 additions and 8 deletions

View File

@ -61,9 +61,9 @@ local theme = beautiful.get()
-- @DOC_DEFAULT_APPLICATIONS@
-- This is used later as the default terminal and editor to run.
terminal = "xst"
editor = "kak"
browser = "icecat"
terminal = os.getenv("TERMINAL")
editor = os.getenv("EDITOR")
browser = os.getenv("BROWSER")
editor_cmd = terminal.." -e "..editor
file_manager = terminal.." -g 137x31-320+16 -c Lf -e /home/radio/.local/bin/lf/lfrun"
irc_client = terminal.." -g 137x31-320+16 -c Weechat -e weechat"

View File

@ -21,7 +21,6 @@
#:use-module (gnu packages gnome)
#:use-module (gnu packages gnu-doc)
#:use-module (gnu packages gnupg)
#:use-module (gnu packages gnuzilla)
#:use-module (gnu packages guile-xyz)
#|I|# #:use-module (gnu packages image-viewers)
#|L|# #:use-module (gnu packages linux)
@ -107,7 +106,6 @@
#|gnome |# adwaita-icon-theme
#|gnu-doc |# gnu-standards
#|gnupg |# gnupg pinentry
#|gnuzilla |# icecat
#|guile-xyz |# haunt
#|image-viewers |# imv
#|linux |# alsa-utils
@ -122,7 +120,7 @@
#|suckless |# xst
#|syndication |# newsraft
#|telegram |# telegram-desktop
#|tor |# torbrowser
#|tor-browsers |# mullvadbrowser torbrowser
#|toys |# oneko
#|vesion-control|# git
#|video |# ffmpeg mpv yt-dlp
@ -147,7 +145,7 @@
(service home-xdg-mime-applications-service-type
(home-xdg-mime-applications-configuration
(default (associate-right
('icecat.desktop
('mullvadbrowser.desktop
`("text/html"
"application/xhtml+xml"
"application/x-extension-htm"
@ -322,7 +320,7 @@
("LC_COLLATE" . "C")
#|Default applications|#
("BROWSER" . "icecat")
("BROWSER" . "mullvadbrowser")
("EDITOR" . "kak")
("FCEDIT" . "kak")
("PAGER" . "less")