Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
pc-setup-scripts
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Andri Joos
pc-setup-scripts
Commits
49fdb73b
Commit
49fdb73b
authored
7 months ago
by
Andri Joos
Browse files
Options
Downloads
Patches
Plain Diff
install flatseal
parent
5722b299
Loading
Loading
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
install.sh
+5
-1
5 additions, 1 deletion
install.sh
install_functions.sh
+6
-0
6 additions, 0 deletions
install_functions.sh
options.sh
+3
-0
3 additions, 0 deletions
options.sh
with
14 additions
and
1 deletion
install.sh
+
5
−
1
View file @
49fdb73b
...
...
@@ -45,8 +45,9 @@ $element_desktop_key "$element_desktop_label" $element_desktop_enabled \
$dconf_editor_key
"
$dconf_editor_label
"
$dconf_editor_enabled
\
$openssh_server_key
"
$openssh_server_label
"
$openssh_server_enabled
\
$openconnect_key
"
$openconnect_label
"
$openconnect_enabled
\
$swap_key
"
$swap_label
"
$swap_enabled
\
$protonvpn_key
"
$protonvpn_label
"
$protonvpn_enabled
\
$flatseal_key
"
$flatseal_label
"
$flatseal_enabled
\
$swap_key
"
$swap_label
"
$swap_enabled
\
3>&1 1>&2 2>&3
)
IFS
=
' '
read
-a
selected_options
<<<
$selected_tags
...
...
@@ -175,6 +176,9 @@ do
elif [
$option
=
$protonvpn_key
]
then
install_protonvpn
elif [
$option
=
$flatseal_key
]
then
install_flatseal
elif [
$option
=
$swap_key
]
then
setup_swap
...
...
This diff is collapsed.
Click to expand it.
install_functions.sh
+
6
−
0
View file @
49fdb73b
...
...
@@ -345,3 +345,9 @@ install_protonvpn() {
make_autostart_entry proton-vpn
"proton vpn"
"protonvpn-app"
}
install_flatseal
()
{
flatpak_id
=
"com.github.tchx84.Flatseal"
install_flatpak_app
$flatpak_id
}
This diff is collapsed.
Click to expand it.
options.sh
+
3
−
0
View file @
49fdb73b
...
...
@@ -43,6 +43,7 @@ dconf_editor_enabled=$checkbox_unchecked
openssh_server_enabled
=
$checkbox_unchecked
openconnect_enabled
=
$checkbox_unchecked
protonvpn_enabled
=
$checkbox_unchecked
flatseal_enabled
=
$checkbox_unchecked
swap_enabled
=
$checkbox_unchecked
# labels
...
...
@@ -86,6 +87,7 @@ dconf_editor_key="dconf_editor"
openssh_server_key
=
"openssh_server"
openconnect_key
=
"openconnect"
protonvpn_key
=
"proton_vpn"
flatseal_key
=
"flatseal"
swap_key
=
"swap"
# show text
...
...
@@ -129,4 +131,5 @@ dconf_editor_label="dconf-editor"
openssh_server_label
=
"openssh-server"
openconnect_label
=
"openconnect"
protonvpn_label
=
"proton-vpn"
flatseal_label
=
"flatseal"
swap_label
=
"swap"
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment