tweaks...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2022-07-19 10:56:18 +03:00
parent 42cb321466
commit 24f34ca7ca

View File

@ -72,13 +72,12 @@ PKG_DNF=(
# tools and recovery... # tools and recovery...
gparted gdisk testdisk gparted gdisk testdisk
snapd
# networking... # networking...
cronie syncthing tor obfs4 cronie syncthing tor obfs4
youtube-dl qbittorrent youtube-dl qbittorrent
# tools... # tools...
snapd
openssl gpm openssl gpm
mc tmux bat htop mc tmux bat htop
keepassxc keepassxc
@ -95,6 +94,9 @@ PKG_DNF=(
ulauncher ulauncher
gnome-tweaks gnome-tweaks
gnome-shell-extension-gsconnect gnome-shell-extension-gsconnect
# apps...
krita
) )
PKG_NPM=( PKG_NPM=(
@ -102,8 +104,23 @@ PKG_NPM=(
) )
PKG_FLATPAK=( PKG_FLATPAK=(
# system...
com.github.tchx84.Flatseal com.github.tchx84.Flatseal
com.mattjakeman.ExtensionManager com.mattjakeman.ExtensionManager
io.github.realmazharhussain.GdmSettings
org.gustavoperedo.FontDownloader
# net...
org.briarproject.Briar
com.github.ElostonUngoogledChromium
# media...
#io.mpv.Mpv
#org.videolan.VLC
# tools...
ch.openboard.OpenBoard
org.blender.Blender
) )
PKG_SNAP=( PKG_SNAP=(
@ -445,6 +462,10 @@ Options:
-d | --dry-run - report the actions but do nothing. -d | --dry-run - report the actions but do nothing.
-q | --quiet - run in quiet mode. -q | --quiet - run in quiet mode.
--list-features - list enabled features.
--list-all-features - list supported features.
--list-scripts - list available scripts.
External configuration: External configuration:
-s | --source FILE - read config from file. -s | --source FILE - read config from file.
(this flag can be used multiple times) (this flag can be used multiple times)
@ -491,8 +512,22 @@ while ! [ -z "$1" ] ; do
QUIET=1 QUIET=1
shift shift
;; ;;
# XXX introspection...
# introspection...
--list-features)
echo ${FEATURES[@]}
exit
;;
--list-all-features)
echo ${ALL_FEATURES[@]}
exit
;;
--list-scripts)
listScripts
exit
;;
# config files...
-s|--source) -s|--source)
[ -z "$2" ] \ [ -z "$2" ] \
&& source "$2" && source "$2"
@ -506,6 +541,7 @@ while ! [ -z "$1" ] ; do
shift shift
;; ;;
# feature manipulation...
+all) +all)
FEATURES=( ${ALL_FEATURES[@]} ) FEATURES=( ${ALL_FEATURES[@]} )
shift shift
@ -514,12 +550,10 @@ while ! [ -z "$1" ] ; do
FEATURES=() FEATURES=()
shift shift
;; ;;
# enable feature...
+*) +*)
@feature-add "${1:1}" @feature-add "${1:1}"
shift shift
;; ;;
# disable feature,..
-*) -*)
@feature-del "${1:1}" @feature-del "${1:1}"
shift shift