diff --git a/packages/nano.sh b/packages/mediamate.sh similarity index 76% rename from packages/nano.sh rename to packages/mediamate.sh index 16af8d1..8ec225c 100644 --- a/packages/nano.sh +++ b/packages/mediamate.sh @@ -11,8 +11,7 @@ then exit 1 fi -optional -has_string 'nano' nano -h +has_app 'MediaMate' -use_apt 'nano' -use_brew formula 'nano' +profile -work +use_brew cask 'mediamate' diff --git a/packages/proton-calendar.sh b/packages/proton-calendar.sh deleted file mode 100644 index d15ae51..0000000 --- a/packages/proton-calendar.sh +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/sh - -set -e - -if - ! (command -v force_print >/dev/null 2>&1) || - ! (force_print 3 a b >/dev/null 2>&1) || - test "$(force_print 3 a b)" != "a b"; -then - printf "Please run this script through \"install.sh\" instead" - exit 1 -fi - -has_app 'Proton Calendar' - -SUPPORT_DIR="$HOME/$DOTFILES/supports/proton/calendar" - -profile -work -use_nativefier 'Proton Calendar' 'https://calendar.proton.me' --conceal --background-color '#1C1B23' --icon "$SUPPORT_DIR/icon.icns" --inject "$SUPPORT_DIR/inject.css" --counter --title-bar-style hidden --disable-context-menu --darwin-dark-mode-support diff --git a/packages/proton-drive.sh b/packages/proton-drive.sh new file mode 100644 index 0000000..ca29659 --- /dev/null +++ b/packages/proton-drive.sh @@ -0,0 +1,17 @@ +#!/bin/sh + +set -e + +if + ! (command -v force_print >/dev/null 2>&1) || + ! (force_print 3 a b >/dev/null 2>&1) || + test "$(force_print 3 a b)" != "a b"; +then + printf "Please run this script through \"install.sh\" instead" + exit 1 +fi + +has_app 'Proton Drive' + +profile -work +use_brew cask 'proton-drive' diff --git a/packages/proton-mail.sh b/packages/proton-mail.sh index fa1bd0f..d043096 100644 --- a/packages/proton-mail.sh +++ b/packages/proton-mail.sh @@ -13,9 +13,5 @@ fi has_app 'Proton Mail' -SUPPORT_DIR="$HOME/$DOTFILES/supports/proton/mail" - profile -work use_brew cask 'proton-mail' -use_nativefier 'Proton Mail' 'https://mail.proton.me' --conceal --background-color '#1C1B23' --icon "$SUPPORT_DIR/icon.icns" --inject "$SUPPORT_DIR/inject.css" --inject "$SUPPORT_DIR/inject.js" --counter --title-bar-style hidden --disable-context-menu --darwin-dark-mode-support -# use_pake 'https://mail.proton.me' --name ProtonMail --icon "$SUPPORT_DIR/icon.icns" --inject "$SUPPORT_DIR/inject.css" --transparent --safe-domain proton.me diff --git a/packages/proton-pass.sh b/packages/proton-pass.sh index 106bb02..477970d 100644 --- a/packages/proton-pass.sh +++ b/packages/proton-pass.sh @@ -13,7 +13,5 @@ fi has_app 'Proton Pass' -SUPPORT_DIR="$HOME/$DOTFILES/supports/proton/pass" - profile -work -use_nativefier 'Proton Pass' 'https://pass.proton.me' --fast-quit --conceal --background-color '#1C1B23' --icon "$SUPPORT_DIR/icon.icns" --inject "$SUPPORT_DIR/inject.css" --title-bar-style hidden --disable-context-menu --darwin-dark-mode-support +use_brew cask 'proton-pass'