add architect theme to dialog

This commit is contained in:
Dan Johansen 2019-09-12 14:14:37 +02:00
parent 8c8941b280
commit 4f125250cb
3 changed files with 59 additions and 7 deletions

View File

@ -17,24 +17,24 @@ This script is "interactive". Meaning that it asks you questions when run to cus
* debian-whois-mkpasswd * debian-whois-mkpasswd
* gawk * gawk
## Installing: ## Installing and using from gitlab:
To use this script, please make sure that the following is correct: To use this script, please make sure that the following is correct:
* an **empty** SD/eMMC card with at least 8 GB storage is plugged in. * an **empty** SD/eMMC card with at least 8 GB storage is plugged in.
* that your user account has `sudo` rights. * that your user account has `sudo` rights.
## Known Issues: Then use this to get it:
* Because `dialog` is weird, the script needs to be run in `bash`.
## Usage:
To use this script, simple run it as normal user after you make it executable:
``` ```
git clone https://gitlab.manjaro.org/manjaro-arm/applications/manjaro-arm-installer
cd manjaro-arm-installer
chmod +x manjaro-arm-installer chmod +x manjaro-arm-installer
sudo -s sudo -s
clear && bash manjaro-arm-installer clear && bash manjaro-arm-installer
``` ```
## Known Issues:
* Because `dialog` is weird, the script needs to be run in `bash`.
## Supported Devices: ## Supported Devices:
* Pinebook * Pinebook
* Raspberry Pi 3B * Raspberry Pi 3B

49
dialogrc_gui Normal file
View File

@ -0,0 +1,49 @@
screen_color = (white,black,off)
dialog_color = (white,black,off)
title_color = (cyan,black,on)
border_color = dialog_color
shadow_color = (black,black,on)
button_inactive_color = dialog_color
button_key_inactive_color = dialog_color
button_label_inactive_color = dialog_color
button_active_color = (white,cyan,on)
button_key_active_color = button_active_color
button_label_active_color = (black,cyan,on)
tag_key_selected_color = (white,cyan,on)
item_selected_color = tag_key_selected_color
form_text_color = (black,green,on)
form_item_readonly_color = (green,black,on)
itemhelp_color = (white,cyan,off)
inputbox_color = dialog_color
inputbox_border_color = dialog_color
searchbox_color = dialog_color
searchbox_title_color = title_color
searchbox_border_color = border_color
position_indicator_color = title_color
menubox_color = dialog_color
menubox_border_color = border_color
item_color = dialog_color
tag_color = title_color
tag_selected_color = button_label_active_color
tag_key_color = button_key_inactive_color
check_color = dialog_color
check_selected_color = button_active_color
uarrow_color = screen_color
darrow_color = screen_color
form_active_text_color = button_active_color
gauge_color = title_color
border2_color = dialog_color
searchbox_border2_color = dialog_color
menubox_border2_color = dialog_color
#aspect = 0
separate_widget = ""
tab_len = 0
visit_items = off
use_shadow = off
use_colors = on

View File

@ -9,6 +9,9 @@ TMPDIR=/var/tmp/manjaro-arm-installer
ARCH='aarch64' ARCH='aarch64'
NSPAWN='systemd-nspawn -q --resolv-conf=copy-host --timezone=off -D' NSPAWN='systemd-nspawn -q --resolv-conf=copy-host --timezone=off -D'
# set colorscheme
export DIALOGRC="./dialogrc_gui"
# clearing variables # clearing variables
DEVICE="" DEVICE=""
EDITION="" EDITION=""