mirror of
https://github.com/endeavouros-team/eos-bash-shared.git
synced 2026-06-13 01:34:36 +00:00
247 lines
9.4 KiB
Plaintext
247 lines
9.4 KiB
Plaintext
### Configuration file for eos-script-lib-yad.
|
|
###
|
|
### To enable any setting below, simply remove the starting '#' character
|
|
### on the appropriate line.
|
|
|
|
## Terminal program to be used by certain EndeavourOS packages
|
|
## like 'welcome' and 'eos-update-notifier'.
|
|
## Many popular terminals are supported. See a list of terminals known to be compatible
|
|
## in file /usr/share/endeavouros/scripts/eos-script-lib-yad, function eos_yad_terminal().
|
|
## If you have any of the listed terminals installed, EOS_YAD_TERMINAL need not be enabled.
|
|
## Then the programs will use the first available program in the list.
|
|
## Note: other than the listed terminals may or may not be compatible.
|
|
#
|
|
# EOS_YAD_TERMINAL="terminator"
|
|
|
|
## EOS_ROOTER configures the command for acquiring elevated privileges
|
|
## when running commands in terminal.
|
|
## Supported values:
|
|
## "su"
|
|
## "sudo"
|
|
## "pkexec"
|
|
## "su-c_wrapper"
|
|
## Still supported values, but deprecated and will be removed in the future:
|
|
## "su -c"
|
|
## "pkexec bash -c"
|
|
## "sudo bash -c"
|
|
## "/usr/bin/su -c"
|
|
## "/usr/bin/pkexec bash -c"
|
|
## "/usr/bin/sudo bash -c"
|
|
#
|
|
export EOS_ROOTER="su"
|
|
|
|
## EOS_WELCOME_CONNECTION_WARNING specifies whether you want to allow the warning window
|
|
## in the Welcome app about not being connected to the internet.
|
|
## Supported values are: "yes" or "no".
|
|
#
|
|
EOS_WELCOME_CONNECTION_WARNING=yes
|
|
|
|
## EOS_CONNECTION_CHECKER selects the way how an internet connection availability is checked.
|
|
## Supported values are: "ping" or "curl".
|
|
## Note: "ping" may have problems if you are behind a proxy, thus "curl" is the default.
|
|
#
|
|
EOS_CONNECTION_CHECKER="curl"
|
|
|
|
## EOS_WIFIDEV_CHECK specifies if we want to make some ad hoc checks that we have the right
|
|
## wifi card drivers installed. The checks are made in the Welcome app when using
|
|
## the button "Detect system issues".
|
|
## Supported values are "yes" or "no".
|
|
#
|
|
EOS_WIFIDEV_CHECK="yes"
|
|
|
|
## TERMINAL_AT_START, if set, causes the Welcome app to start a terminal always when
|
|
## the Welcome app is started. The value should be an already installed terminal on your system.
|
|
## Note that you can include any terminal specific options, for example:
|
|
## TERMINAL_AT_START="xfce4-terminal --working-directory=$HOME/Downloads --geometry=+50+50"
|
|
#
|
|
# TERMINAL_AT_START="xfce4-terminal"
|
|
|
|
## EOS_KEEP_PKGS lists the names of packages that should not be removed when button
|
|
## "Detect system issues" of the Welcome app is clicked.
|
|
## For example:
|
|
## EOS_KEEP_PKGS="intel-ucode xf86-video-intel"
|
|
#
|
|
# EOS_KEEP_PKGS=""
|
|
|
|
## EOS_AUR_HELPER contains the AUR helper program name.
|
|
## Supported values are yay and paru, but other helpers may work as well.
|
|
## The program must support options -Qua and -Sua.
|
|
## For the Welcome app you can also set another AUR helper with
|
|
## variable EOS_AUR_HELPER_OTHER.
|
|
## Both apps must support the options mentioned above.
|
|
#
|
|
EOS_AUR_HELPER="yay"
|
|
EOS_AUR_HELPER_OTHER="" # for example: "paru"
|
|
|
|
## EOS_WELCOME_PACDIFFER is an array of diff programs that can be used by pacdiff
|
|
## (see man pacdiff) in Welcome.
|
|
## Supported values are: kdiff3, kompare, diffuse, meld, code, diff, vim.
|
|
## Other diff programs may work but are not tested (and may need additional support
|
|
## by Welcome).
|
|
## The array is written in preference order as only one of them is used.
|
|
#
|
|
EOS_WELCOME_PACDIFFERS=(meld kdiff3 kompare diffuse diff "vim -d")
|
|
|
|
## EOS_PACDIFF_WARNING specifies whether a warning about the power of eos-pacdiff
|
|
## will be shown or not when starting it.
|
|
## Supported values: "yes" or "no".
|
|
## Default: "yes".
|
|
## Note: 'code' is not supported.
|
|
#
|
|
EOS_PACDIFF_WARNING=yes
|
|
|
|
## EOS_UPDATE_PACDIFFER contains the command to run in the end of 'eos-update'.
|
|
## If it is not empty, the string is used as-is.
|
|
## Example: EOS_UPDATE_PACDIFFER="eos-pacdiff --quiet"
|
|
## Default is empty because incorrect usage of pacdiff can break the system in various ways.
|
|
#
|
|
EOS_UPDATE_PACDIFFER=""
|
|
|
|
## EOS_SUDO_EDITORS is an array of editor names that are suitable for
|
|
## editing files with root permissions.
|
|
## Currently they are used only in eos-update-notifier-configure.
|
|
## Note that non-GUI editors (e.g. nano, emacs) are preferred for security reasons.
|
|
## Currently editors known to work are:
|
|
## - Non-GUI (preferred):
|
|
## - nano
|
|
## - emacs
|
|
## - vim
|
|
## - GUI (not preferred):
|
|
## - leadpad
|
|
## - xed
|
|
## - geany
|
|
## - mousepad (only with dbus-launch)
|
|
## Other editors may work as well, but have not been tested.
|
|
## The array is written in preference order as only one of them is used.
|
|
#
|
|
EOS_SUDO_EDITORS=(rnano nano vim "emacs -nw")
|
|
|
|
## EOS_WALLPAPER_FETCHER selects the program to be used for downloading
|
|
## certain additional wallpapers to EndeavourOS. These wallpapers (currently)
|
|
## include the legacy wallpapers, and wallpapers created by the
|
|
## EndeavourOS community.
|
|
## Supported values: "git" or "curl". "git" is the default.
|
|
## Of these, "curl" may be more suitable if bandwidth is limited.
|
|
#
|
|
EOS_WALLPAPER_FETCHER="git"
|
|
|
|
## EOS_WELCOME_HAS_SEE_YOU_LATER_BUTTON determines whether to show
|
|
## the "See you later" button on the Welcome window.
|
|
## Supported values: "yes" or "no"
|
|
## Default: "no"
|
|
#
|
|
EOS_WELCOME_HAS_SEE_YOU_LATER_BUTTON=no
|
|
|
|
## EOS_FILESERVER_SITE specifies the site where certain documents and
|
|
## small files will be fetched during the install phase, and when using the
|
|
## installed system.
|
|
## Supported values:
|
|
## gitlab (default)
|
|
## github
|
|
#
|
|
EOS_FILESERVER_SITE=gitlab
|
|
|
|
## SyncAfterUpdate specifies whether to call 'sync' after updating or not.
|
|
## Possible values: "yes" or "no".
|
|
## Default: "no".
|
|
## Note: this setting was moved here from eos-update-notifier.conf at 2022-Apr-28.
|
|
#
|
|
SyncAfterUpdate=no
|
|
|
|
## EOS_UPDATE_ARCH_KEYRING_FIRST, if set to "yes", will try to update package
|
|
## archlinux-keyring before updating other packages.
|
|
## This may help with some PGP signature issues.
|
|
## Note: this setting is deprecated and no more used in any app.
|
|
## Supported values:
|
|
## no (default)
|
|
## yes
|
|
#
|
|
EOS_UPDATE_ARCH_KEYRING_FIRST=no
|
|
|
|
## EOS_ICON_SETS_PREFERENCE array specifies the order of preference of the icon sets
|
|
## you want to use in certain EndeavourOS apps.
|
|
## The icon sets are folder names directly under /usr/share/icons.
|
|
## The icon set names can be listed without path.
|
|
## Default: all folders names found under /usr/share/icons
|
|
## (note: not all of them contain icons...)
|
|
#
|
|
EOS_ICON_SETS_PREFERENCE=(
|
|
# Add your preferred icon sets here.
|
|
# For example:
|
|
# Qogir Adwaita hicolor
|
|
|
|
# This is the default list of icon sets (note: in alphabetical order):
|
|
/usr/share/icons/*
|
|
)
|
|
|
|
## EOS_PREFERRED_BROWSERS is an ordered list of web browser apps.
|
|
## EndeavourOS apps that use a web browser will look for this list first
|
|
## when choosing a browser to use, unless there's a compelling reason to
|
|
## use something else.
|
|
##
|
|
## Note that user can also export variables
|
|
## _WELCOME_BROWSER
|
|
## _WELCOME_BROWSER_OPTIONS
|
|
## See file /usr/share/endeavouros/scripts/eos-scriptlib-yad and
|
|
## function eos_select_browser() for more details.
|
|
##
|
|
## User can add own favorites anywhere into this list, and/or change the order.
|
|
## The first matching app (the app must be installed!) in the list will be used.
|
|
#
|
|
EOS_PREFERRED_BROWSERS=( # search order for browsers
|
|
xdg-open
|
|
exo-open
|
|
kde-open
|
|
firefox
|
|
chromium
|
|
vivaldi-stable
|
|
opera
|
|
)
|
|
|
|
## RATE_MIRRORS_MAX_DELAY_ARCH is the max acceptable delay in seconds
|
|
## since the last time a mirror has been synced. It is used only when ranking
|
|
## the Arch mirrors with the 'rate-mirrors' program in Welcome.
|
|
## Usually the range of reasonable values is somewhere between 60 and 3600.
|
|
## The smaller the value, the less mirrors will match.
|
|
## The bigger the value, the more mirrors will match.
|
|
## If you want recently updated mirrors, use a small value (but not too small).
|
|
## If no mirrors match, increase the value.
|
|
## (Note that rate-mirrors defaults to 86400 seconds.)
|
|
#
|
|
RATE_MIRRORS_MAX_DELAY_ARCH=3600 # seconds
|
|
|
|
## WELCOME_RATE_MIRRORS_COMMAND lets you specify all options for the rate-mirrors command (to be used for ranking Arch mirrors).
|
|
## Tip: consider using option '--protocol https' as well.
|
|
## NOTE: in 'welcome' version 25.10.2-1 variable WELCOME_RATE_MIRRORS_COMMAND is no more supported due to implementation change!
|
|
#
|
|
#WELCOME_RATE_MIRRORS_COMMAND="rate-mirrors arch --max-delay=$RATE_MIRRORS_MAX_DELAY_ARCH | sudo tee /etc/pacman.d/mirrorlist"
|
|
|
|
## WELCOME_RAMI_OPTIONS provides all options for the rami command in Welcome.
|
|
## The value can be set also by exporting this variable.
|
|
#
|
|
if [ -z "${WELCOME_RAMI_OPTIONS:-}" ] ; then
|
|
WELCOME_RAMI_OPTIONS="--save"
|
|
WELCOME_RAMI_OPTIONS+=" --timeout-rank 10" # use bigger value on slow connection, smaller value on fast connection
|
|
WELCOME_RAMI_OPTIONS+=" --ranking-data --continent -cDE,US" # reasonable defaults?
|
|
WELCOME_RAMI_OPTIONS+=" -i acadielinux,k0.ae,lyrahosting,jtremesay,ungleich,sox.rs,urbanwave" # too old!
|
|
fi
|
|
|
|
## EOS_LOCATION_PROVIDER_URL contains an URL for retrieving location info.
|
|
## It is used by the 'show-location-info' app.
|
|
## Alternatives known to work:
|
|
## https://ipinfo.io (default, all features work)
|
|
## https://ipapi.co (some features do not work)
|
|
#
|
|
EOS_LOCATION_PROVIDER_URL="https://ipinfo.io"
|
|
|
|
|
|
## EOS_REBOOT_RECOMMENDING specifies if the reboot recommendation notification
|
|
## will be shown after updating certain system packages.
|
|
## Supported values: "yes" (=default) or "no".
|
|
EOS_REBOOT_RECOMMENDING=yes
|
|
|
|
## EOS_YAD_MISSING_NOTIFICATION specifies whether some EndeavourOS apps show a notification
|
|
## when 'yad' might be needed but is not installed.
|
|
EOS_YAD_MISSING_NOTIFICATION=yes
|
|
|