forked from calculate/calculate-overlay
* Добавлен плагин "floccus bookmarks synс"; * Добавлен шаблон настройки плагина; * Удалены плагины Passman и FreedomMarks;master
parent
512a39aa3b
commit
deb8ef3d3d
@ -0,0 +1,73 @@
|
||||
# Calculate pkg(www-plugins/chrome-bitwarden)!= run=/bin/bash
|
||||
|
||||
plugin_id="nngceckbapebfimnlniiiahkandclblb"
|
||||
mkdir -p #-ur_home_path-#/.config/chromium/Default/Extensions/${plugin_id}
|
||||
mkdir -p "#-ur_home_path-#/.config/chromium/Default/Local Extension Settings" &>/dev/null
|
||||
cp -r /usr/share/chrome-bitwarden/* #-ur_home_path-#/.config/chromium/Default/Extensions/$plugin_id
|
||||
|
||||
/usr/share/chrome-bitwarden/configure.py #-ur_home_path-#/.config/chromium $plugin_id "#-ini(user_credentials.bitwarden_login)-#" "#-ini(user_credentials.bitwarden_pw)-#" &>/dev/null <<EOF
|
||||
{
|
||||
"userId": {
|
||||
"data": {
|
||||
"ciphers": {
|
||||
"encrypted": {}
|
||||
},
|
||||
"collections": {
|
||||
"encrypted": {}
|
||||
},
|
||||
"folders": {
|
||||
"encrypted": {}
|
||||
}
|
||||
},
|
||||
"keys": {
|
||||
"cryptoSymmetricKey": {
|
||||
"encrypted": {}
|
||||
},
|
||||
"organizationKeys": {
|
||||
"encrypted": {}
|
||||
},
|
||||
"privateKey": {
|
||||
"encrypted": {}
|
||||
},
|
||||
"providerKeys": {
|
||||
"encrypted": {}
|
||||
}
|
||||
},
|
||||
"profile": {
|
||||
"userId": {}
|
||||
},
|
||||
"settings": {
|
||||
"avatarColor": null,
|
||||
"defaultUriMatch": 1,
|
||||
"enableAutoFillOnPageLoad": true,
|
||||
"environmentUrls": {
|
||||
"api": null,
|
||||
"base": {},
|
||||
"events": null,
|
||||
"icons": null,
|
||||
"identity": null,
|
||||
"keyConnector": null,
|
||||
"notifications": null,
|
||||
"webVault": null
|
||||
},
|
||||
"vaultTimeout": null,
|
||||
"vaultTimeoutAction": "lock"
|
||||
},
|
||||
"tokens": {
|
||||
"accessToken": {},
|
||||
"refreshToken": {}
|
||||
}
|
||||
},
|
||||
"userId_masterkey_auto": {},
|
||||
"activeUserId": {},
|
||||
"authenticatedAccounts": {},
|
||||
"global": {
|
||||
"stateVersion":7,
|
||||
"theme":"system"
|
||||
}
|
||||
}
|
||||
EOF
|
||||
|
||||
chown #-ur_login-#:#-ur_group-# -R #-ur_home_path-#/.config/chromium/Default/Extensions
|
||||
chown #-ur_login-#:#-ur_group-# -R "#-ur_home_path-#/.config/chromium/Default/Local Extension Settings"
|
||||
exit 0
|
@ -1,16 +0,0 @@
|
||||
# Calculate pkg(www-plugins/chrome-freedommarks)!=&&ini(user_credentials.nextcloud_url)!=&&ini(user_credentials.nextcloud_login)!=&&ini(user_credentials.nextcloud_pw)!= run=/bin/bash
|
||||
|
||||
plugin_id="gmmpjoepfelkmeedfkfkadgkhholibko"
|
||||
mkdir -p #-ur_home_path-#/.config/chromium/Default/Extensions/${plugin_id}
|
||||
mkdir -p "#-ur_home_path-#/.config/chromium/Default/Local Extension Settings" &>/dev/null
|
||||
cp -r /usr/share/chrome-freedommarks/* #-ur_home_path-#/.config/chromium/Default/Extensions/$plugin_id
|
||||
|
||||
/usr/share/chrome-freedommarks/configure.py #-ur_home_path-#/.config/chromium $plugin_id &>/dev/null <<EOF
|
||||
{
|
||||
"freedommarks_settings": "{\"bookmark_main_tab\":false,\"password\":\"#-ini(user_credentials.nextcloud_pw)-#\",\"search_main_tab\":true,\"server_url\":\"#-ini(user_credentials.nextcloud_url)-#\",\"username\":\"#-ini(user_credentials.nextcloud_login)-#\"}"
|
||||
}
|
||||
EOF
|
||||
|
||||
chown #-ur_login-#:#-ur_group-# -R #-ur_home_path-#/.config/chromium/Default/Extensions
|
||||
chown #-ur_login-#:#-ur_group-# -R "#-ur_home_path-#/.config/chromium/Default/Local Extension Settings"
|
||||
exit 0
|
@ -0,0 +1,33 @@
|
||||
# Calculate pkg(www-plugins/chrome-floccus)!= run=/bin/bash
|
||||
|
||||
plugin_id="fnaicdffflnofjppbagibeoednhnbjhg"
|
||||
mkdir -p #-ur_home_path-#/.config/chromium/Default/Extensions/${plugin_id}
|
||||
mkdir -p "#-ur_home_path-#/.config/chromium/Default/Local Extension Settings" &>/dev/null
|
||||
cp -r /usr/share/chrome-floccus/* #-ur_home_path-#/.config/chromium/Default/Extensions/$plugin_id
|
||||
|
||||
/usr/share/chrome-floccus/configure.py #-ur_home_path-#/.config/chromium $plugin_id &>/dev/null <<EOF
|
||||
{
|
||||
"accounts": {
|
||||
"accountId": {
|
||||
"type": "nextcloud-bookmarks",
|
||||
"url": "#-ini(user_credentials.nextcloud_url)-#",
|
||||
"username": "#-ini(user_credentials.nextcloud_login)-#",
|
||||
"password": "#-ini(user_credentials.nextcloud_pw)-#",
|
||||
"serverRoot": "/apps/bookmarks",
|
||||
"includeCredentials": false,
|
||||
"allowRedirects": false,
|
||||
"allowNetwork": false,
|
||||
"enabled": true,
|
||||
"localRoot": "1",
|
||||
"syncInterval": 15,
|
||||
"strategy": "default",
|
||||
"nestedSync": true
|
||||
}
|
||||
},
|
||||
"currentVersion": "#-pkg(www-plugins/chrome-floccus)-#"
|
||||
}
|
||||
EOF
|
||||
|
||||
chown #-ur_login-#:#-ur_group-# -R #-ur_home_path-#/.config/chromium/Default/Extensions
|
||||
chown #-ur_login-#:#-ur_group-# -R "#-ur_home_path-#/.config/chromium/Default/Local Extension Settings"
|
||||
exit 0
|
@ -1,50 +0,0 @@
|
||||
# Calculate pkg(www-plugins/chrome-passman)!=&&ini(user_credentials.nextcloud_url)!=&&ini(user_credentials.nextcloud_login)!=&&ini(user_credentials.nextcloud_pw)!=&&ini(user_credentials.passman_id)!=&&ini(user_credentials.passman_guid)!=&&ini(user_credentials.passman_name)!=&&ini(user_credentials.passman_pw)!= run=/bin/bash
|
||||
plugin_id="hlpjhlifkgmoibhollggngbbhbejecph"
|
||||
mkdir -p #-ur_home_path-#/.config/chromium/Default/Extensions/${plugin_id}
|
||||
mkdir -p "#-ur_home_path-#/.config/chromium/Default/Local Extension Settings" &>/dev/null
|
||||
cp -r /usr/share/chrome-passman/* #-ur_home_path-#/.config/chromium/Default/Extensions/$plugin_id
|
||||
|
||||
#?ini(user_credentials.passman_master_pw)!=#
|
||||
MASTER_PW="#-ini(user_credentials.passman_master_pw)-#"
|
||||
#!ini#
|
||||
MASTER_PW="calculate"
|
||||
#ini#
|
||||
|
||||
/usr/share/chrome-passman/configure.py #-ur_home_path-#/.config/chromium $plugin_id $MASTER_PW &>/dev/null <<EOF
|
||||
{
|
||||
#?ini(user_credentials.passman_pw_remember)==on#
|
||||
"master_password": "\"$MASTER_PW\"",
|
||||
#ini#
|
||||
"settings": {
|
||||
"accounts":[
|
||||
{
|
||||
"nextcloud_host": "#-ini(user_credentials.nextcloud_url)-#",
|
||||
"nextcloud_username": "#-ini(user_credentials.nextcloud_login)-#",
|
||||
"nextcloud_password": "#-ini(user_credentials.nextcloud_pw)-#",
|
||||
"vault": {
|
||||
"vault_id": #-ini(user_credentials.passman_id)-#,
|
||||
"guid": "#-ini(user_credentials.passman_guid)-#",
|
||||
"name": "#-ini(user_credentials.passman_name)-#"
|
||||
},
|
||||
"vault_password": "#-ini(user_credentials.passman_pw)-#"}],
|
||||
"debug": false,
|
||||
"enableAutoFill": true,
|
||||
"enableAutoSubmit": false,
|
||||
"enablePasswordPickerr": true,
|
||||
"generatedPasswordLength": 12,
|
||||
"ignorePath": true,
|
||||
"ignoreProtocol": true,
|
||||
"ignoreSubdomain": false,
|
||||
"ignored_sites": [],
|
||||
#?ini(user_credentials.passman_pw_remember)==on#
|
||||
"remember_password": true,
|
||||
#ini#
|
||||
"refreshTime": 60
|
||||
},
|
||||
"activeTab": "\"search\""
|
||||
}
|
||||
EOF
|
||||
|
||||
chown #-ur_login-#:#-ur_group-# -R #-ur_home_path-#/.config/chromium/Default/Extensions
|
||||
chown #-ur_login-#:#-ur_group-# -R "#-ur_home_path-#/.config/chromium/Default/Local Extension Settings"
|
||||
exit 0
|
@ -1,72 +0,0 @@
|
||||
# Calculate pkg(www-plugins/chrome-bitwarden)!= run=/bin/bash
|
||||
plugin_id="nngceckbapebfimnlniiiahkandclblb"
|
||||
mkdir -p #-ur_home_path-#/.config/chromium/Default/Extensions/${plugin_id}
|
||||
mkdir -p "#-ur_home_path-#/.config/chromium/Default/Local Extension Settings" &>/dev/null
|
||||
cp -r /usr/share/chrome-bitwarden/* #-ur_home_path-#/.config/chromium/Default/Extensions/$plugin_id
|
||||
|
||||
/usr/share/chrome-bitwarden/configure.py #-ur_home_path-#/.config/chromium $plugin_id "#-ini(user_credentials.bitwarden_login)-#" "#-ini(user_credentials.bitwarden_pw)-#" <<EOF
|
||||
{
|
||||
"userId": {
|
||||
"data": {
|
||||
"ciphers": {
|
||||
"encrypted": {}
|
||||
},
|
||||
"collections": {
|
||||
"encrypted": {}
|
||||
},
|
||||
"folders": {
|
||||
"encrypted": {}
|
||||
}
|
||||
},
|
||||
"keys": {
|
||||
"cryptoSymmetricKey": {
|
||||
"encrypted": {}
|
||||
},
|
||||
"organizationKeys": {
|
||||
"encrypted": {}
|
||||
},
|
||||
"privateKey": {
|
||||
"encrypted": {}
|
||||
},
|
||||
"providerKeys": {
|
||||
"encrypted": {}
|
||||
}
|
||||
},
|
||||
"profile": {
|
||||
"userId": {}
|
||||
},
|
||||
"settings": {
|
||||
"avatarColor": null,
|
||||
"defaultUriMatch": 1,
|
||||
"enableAutoFillOnPageLoad": true,
|
||||
"environmentUrls": {
|
||||
"api": null,
|
||||
"base": {},
|
||||
"events": null,
|
||||
"icons": null,
|
||||
"identity": null,
|
||||
"keyConnector": null,
|
||||
"notifications": null,
|
||||
"webVault": null
|
||||
},
|
||||
"vaultTimeout": null,
|
||||
"vaultTimeoutAction": "lock"
|
||||
},
|
||||
"tokens": {
|
||||
"accessToken": {},
|
||||
"refreshToken": {}
|
||||
}
|
||||
},
|
||||
"userId_masterkey_auto": {},
|
||||
"activeUserId": {},
|
||||
"authenticatedAccounts": {},
|
||||
"global": {
|
||||
"stateVersion":7,
|
||||
"theme":"system"
|
||||
}
|
||||
}
|
||||
EOF
|
||||
|
||||
chown #-ur_login-#:#-ur_group-# -R #-ur_home_path-#/.config/chromium/Default/Extensions
|
||||
chown #-ur_login-#:#-ur_group-# -R "#-ur_home_path-#/.config/chromium/Default/Local Extension Settings"
|
||||
exit 0
|
Loading…
Reference in new issue