mirror of
https://github.com/basecamp/omarchy.git
synced 2026-02-17 15:25:37 +00:00
Compare commits
6 Commits
remove-1pw
...
create-ver
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d36e2ba7a5 | ||
|
|
f6383fd3e9 | ||
|
|
e81994f182 | ||
|
|
7ca60bd590 | ||
|
|
dac34aa5e0 | ||
|
|
81165f1947 |
13
bin/omarchy-install-chromium-google-account
Executable file
13
bin/omarchy-install-chromium-google-account
Executable file
@@ -0,0 +1,13 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
if [[ -f ~/.config/chromium-flags.conf ]]; then
|
||||||
|
CONF=~/.config/chromium-flags.conf
|
||||||
|
|
||||||
|
grep -qxF -- "--oauth2-client-id=77185425430.apps.googleusercontent.com" "$CONF" ||
|
||||||
|
echo "--oauth2-client-id=77185425430.apps.googleusercontent.com" >>"$CONF"
|
||||||
|
|
||||||
|
grep -qxF -- "--oauth2-client-secret=OTJgUOQcT7lO7GsGZq2G4IlT" "$CONF" ||
|
||||||
|
echo "--oauth2-client-secret=OTJgUOQcT7lO7GsGZq2G4IlT" >>"$CONF"
|
||||||
|
|
||||||
|
echo "Now you can login to your Google Account in Chromium."
|
||||||
|
fi
|
||||||
@@ -249,10 +249,11 @@ show_install_menu() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
show_install_service_menu() {
|
show_install_service_menu() {
|
||||||
case $(menu "Install" " Dropbox\n Tailscale\n Bitwarden") in
|
case $(menu "Install" " Dropbox\n Tailscale\n Bitwarden\n Chromium Account") in
|
||||||
*Dropbox*) present_terminal omarchy-install-dropbox ;;
|
*Dropbox*) present_terminal omarchy-install-dropbox ;;
|
||||||
*Tailscale*) present_terminal omarchy-install-tailscale ;;
|
*Tailscale*) present_terminal omarchy-install-tailscale ;;
|
||||||
*Bitwarden*) install_and_launch "Bitwarden" "bitwarden bitwarden-cli" "bitwarden" ;;
|
*Bitwarden*) install_and_launch "Bitwarden" "bitwarden bitwarden-cli" "bitwarden" ;;
|
||||||
|
*Chromium*) present_terminal omarchy-install-chromium-google-account ;;
|
||||||
*) show_install_menu ;;
|
*) show_install_menu ;;
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,3 +1,2 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
cat $OMARCHY_PATH/version
|
||||||
git -C "$OMARCHY_PATH" describe --tags $(git -C "$OMARCHY_PATH" rev-list --tags --max-count=1)
|
|
||||||
|
|||||||
@@ -2,5 +2,3 @@
|
|||||||
--ozone-platform-hint=wayland
|
--ozone-platform-hint=wayland
|
||||||
--enable-features=TouchpadOverscrollHistoryNavigation
|
--enable-features=TouchpadOverscrollHistoryNavigation
|
||||||
--load-extension=~/.local/share/omarchy/default/chromium/extensions/copy-url
|
--load-extension=~/.local/share/omarchy/default/chromium/extensions/copy-url
|
||||||
--oauth2-client-id=77185425430.apps.googleusercontent.com
|
|
||||||
--oauth2-client-secret=OTJgUOQcT7lO7GsGZq2G4IlT
|
|
||||||
|
|||||||
@@ -1,8 +0,0 @@
|
|||||||
{
|
|
||||||
"ExtensionInstallForcelist": [
|
|
||||||
"aeblfdkhhhdcdjpifhhbdiojplfjncoa;https://clients2.google.com/service/update2/crx"
|
|
||||||
],
|
|
||||||
"ExtensionInstallAllowlist": [
|
|
||||||
"aeblfdkhhhdcdjpifhhbdiojplfjncoa"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
{
|
|
||||||
"ExtensionInstallForcelist": [
|
|
||||||
"aeblfdkhhhdcdjpifhhbdiojplfjncoa;https://clients2.google.com/service/update2/crx"
|
|
||||||
],
|
|
||||||
"ExtensionInstallAllowlist": [
|
|
||||||
"aeblfdkhhhdcdjpifhhbdiojplfjncoa"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
@@ -15,7 +15,6 @@ run_logged $OMARCHY_INSTALL/config/docker.sh
|
|||||||
run_logged $OMARCHY_INSTALL/config/mimetypes.sh
|
run_logged $OMARCHY_INSTALL/config/mimetypes.sh
|
||||||
run_logged $OMARCHY_INSTALL/config/localdb.sh
|
run_logged $OMARCHY_INSTALL/config/localdb.sh
|
||||||
run_logged $OMARCHY_INSTALL/config/sudoless-asdcontrol.sh
|
run_logged $OMARCHY_INSTALL/config/sudoless-asdcontrol.sh
|
||||||
run_logged $OMARCHY_INSTALL/config/browser-policies.sh
|
|
||||||
run_logged $OMARCHY_INSTALL/config/hardware/network.sh
|
run_logged $OMARCHY_INSTALL/config/hardware/network.sh
|
||||||
run_logged $OMARCHY_INSTALL/config/hardware/set-wireless-regdom.sh
|
run_logged $OMARCHY_INSTALL/config/hardware/set-wireless-regdom.sh
|
||||||
run_logged $OMARCHY_INSTALL/config/hardware/fix-fkeys.sh
|
run_logged $OMARCHY_INSTALL/config/hardware/fix-fkeys.sh
|
||||||
|
|||||||
@@ -1,9 +0,0 @@
|
|||||||
# Add 1password extension to Chromium
|
|
||||||
sudo mkdir -p /etc/chromium/policies/managed/
|
|
||||||
sudo cp $OMARCHY_PATH/default/chromium/policies/managed/onepassword.json /etc/chromium/policies/managed/onepassword.json
|
|
||||||
sudo chmod 644 /etc/chromium/policies/managed/onepassword.json
|
|
||||||
|
|
||||||
# Add 1password extension to future Brave installs
|
|
||||||
sudo mkdir -p /etc/brave/policies/managed/
|
|
||||||
sudo cp $OMARCHY_PATH/default/brave/policies/managed/onepassword.json /etc/brave/policies/managed/onepassword.json
|
|
||||||
sudo chmod 644 /etc/brave/policies/managed/onepassword.json
|
|
||||||
@@ -1,2 +1,2 @@
|
|||||||
notify-send " Update System" "When you have internet, click to update the system." -t 30000
|
notify-send " Update System" "When you have internet, click to update the system." -u critical
|
||||||
notify-send "👋 Welcome to Omarchy" "You're in for a great computing adventure. Have fun!" -t 30000
|
notify-send "👋 Welcome to Omarchy" "You're in for a great computing adventure. Have fun!" -t 30000
|
||||||
|
|||||||
@@ -31,7 +31,6 @@ fd
|
|||||||
ffmpegthumbnailer
|
ffmpegthumbnailer
|
||||||
fontconfig
|
fontconfig
|
||||||
fzf
|
fzf
|
||||||
gcc14
|
|
||||||
github-cli
|
github-cli
|
||||||
gnome-calculator
|
gnome-calculator
|
||||||
gnome-keyring
|
gnome-keyring
|
||||||
|
|||||||
@@ -1,3 +0,0 @@
|
|||||||
echo "Refresh chromium-flags.conf to add option of logging in to Google account for settings sync"
|
|
||||||
|
|
||||||
omarchy-refresh-config chromium-flags.conf
|
|
||||||
Reference in New Issue
Block a user