Skip to content

Commit

Permalink
feat(packages): update packages
Browse files Browse the repository at this point in the history
  • Loading branch information
spywhere committed Dec 13, 2024
1 parent 943a123 commit 1bdeaf7
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 30 deletions.
7 changes: 3 additions & 4 deletions packages/nano.sh → packages/mediamate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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'
19 changes: 0 additions & 19 deletions packages/proton-calendar.sh

This file was deleted.

17 changes: 17 additions & 0 deletions packages/proton-drive.sh
Original file line number Diff line number Diff line change
@@ -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'
4 changes: 0 additions & 4 deletions packages/proton-mail.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 1 addition & 3 deletions packages/proton-pass.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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'

0 comments on commit 1bdeaf7

Please sign in to comment.