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@ -- @DOC_DEFAULT_APPLICATIONS@
-- This is used later as the default terminal and editor to run. -- This is used later as the default terminal and editor to run.
terminal = "xst" terminal = os.getenv("TERMINAL")
editor = "kak" editor = os.getenv("EDITOR")
browser = "icecat" browser = os.getenv("BROWSER")
editor_cmd = terminal.." -e "..editor editor_cmd = terminal.." -e "..editor
file_manager = terminal.." -g 137x31-320+16 -c Lf -e /home/radio/.local/bin/lf/lfrun" 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" 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 gnome)
#:use-module (gnu packages gnu-doc) #:use-module (gnu packages gnu-doc)
#:use-module (gnu packages gnupg) #:use-module (gnu packages gnupg)
#:use-module (gnu packages gnuzilla)
#:use-module (gnu packages guile-xyz) #:use-module (gnu packages guile-xyz)
#|I|# #:use-module (gnu packages image-viewers) #|I|# #:use-module (gnu packages image-viewers)
#|L|# #:use-module (gnu packages linux) #|L|# #:use-module (gnu packages linux)
@ -107,7 +106,6 @@
#|gnome |# adwaita-icon-theme #|gnome |# adwaita-icon-theme
#|gnu-doc |# gnu-standards #|gnu-doc |# gnu-standards
#|gnupg |# gnupg pinentry #|gnupg |# gnupg pinentry
#|gnuzilla |# icecat
#|guile-xyz |# haunt #|guile-xyz |# haunt
#|image-viewers |# imv #|image-viewers |# imv
#|linux |# alsa-utils #|linux |# alsa-utils
@ -122,7 +120,7 @@
#|suckless |# xst #|suckless |# xst
#|syndication |# newsraft #|syndication |# newsraft
#|telegram |# telegram-desktop #|telegram |# telegram-desktop
#|tor |# torbrowser #|tor-browsers |# mullvadbrowser torbrowser
#|toys |# oneko #|toys |# oneko
#|vesion-control|# git #|vesion-control|# git
#|video |# ffmpeg mpv yt-dlp #|video |# ffmpeg mpv yt-dlp
@ -147,7 +145,7 @@
(service home-xdg-mime-applications-service-type (service home-xdg-mime-applications-service-type
(home-xdg-mime-applications-configuration (home-xdg-mime-applications-configuration
(default (associate-right (default (associate-right
('icecat.desktop ('mullvadbrowser.desktop
`("text/html" `("text/html"
"application/xhtml+xml" "application/xhtml+xml"
"application/x-extension-htm" "application/x-extension-htm"
@ -322,7 +320,7 @@
("LC_COLLATE" . "C") ("LC_COLLATE" . "C")
#|Default applications|# #|Default applications|#
("BROWSER" . "icecat") ("BROWSER" . "mullvadbrowser")
("EDITOR" . "kak") ("EDITOR" . "kak")
("FCEDIT" . "kak") ("FCEDIT" . "kak")
("PAGER" . "less") ("PAGER" . "less")