Code Monkey home page Code Monkey logo

homebrew-install's Introduction

Homebrew tap for Dracula

Homebrew formulae to easily install Dracula themes.

Install

Easily install themes from dracula/homebrew-install:

brew tap dracula/install
brew install --cask dracula-foo #--formula

Also, if you keep a Brewfile, you can add something like this:

# ~/.Brewfile
tap "dracula/install"
cask "dracula-foo"

Contributing

brew tap danielbayley/pipeline
git config core.hooksPath .github/hooks

and follow the contribution guide, or copy and adapt an existing Cask.

dracula-yaml-json command

This tap comes with a simple external command to convert source YAML to JSON, with Dracula *COLOR aliases available from the included Dracula.yml spec template.

See brew dracula-yaml-json [-]-h[elp] for more.

Team

These formulae are maintained by the following person(s) and a bunch of awesome contributors.

Daniel Bayley
Daniel Bayley

Community

  • Twitter - Best for getting updates about themes and new stuff.
  • GitHub - Best for asking questions and discussing issues.
  • Discord - Best for hanging out with the community.

License

MIT License

homebrew-install's People

Contributors

danielbayley avatar joonas avatar luxonauta avatar speelbarrow avatar takhion avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

homebrew-install's Issues

⚑ Standardization of rep

Hi @danielbayley, we need to adjust a few things first to move forward, ok? ✨

First, we need to update the screenshot!

Can you take a single capture at the closest possible resolution to 1728x1117?

We also need a separate .md with installation instructions to show the theme on the site.

I ask for these changes to standardize with the other repositories, see an example; this is also important because it helps other potential users who would like to contribute too! 😁

Let me know if something isn't possible or if you have any questions! πŸ™‚

Error when trying to brew tap

I am getting the following error when trying to run: brew tap dracula/install

I am running on a Macbook Pro 2021 with Apple M1 pro chip.
MacOS version: Monterey - Version 12.5.1

brew --version
Homebrew 3.5.10-64-gac94ca6
Homebrew/homebrew-core (git revision 9acc89c94e5; last commit 2022-08-30)
Homebrew/homebrew-cask (git revision bf973e39a8; last commit 2022-08-30)
ruby --version
ruby 2.6.8p205 (2021-07-07 revision 67951) [universal.arm64e-darwin21]
brew tap dracula/install --debug
/opt/homebrew/Library/Homebrew/shims/shared/git --version
==> Tapping dracula/install
Cloning into '/opt/homebrew/Library/Taps/dracula/homebrew-install'...
remote: Enumerating objects: 19, done.
remote: Counting objects: 100% (13/13), done.
remote: Compressing objects: 100% (12/12), done.
remote: Total 19 (delta 1), reused 11 (delta 0), pack-reused 6
Receiving objects: 100% (19/19), 8.77 KiB | 8.77 MiB/s, done.
Resolving deltas: 100% (1/1), done.
2022-08-30 05:48:52.458 defaults[9066:34850]
The domain/default pair of (com.runningwithcrayons.Alfred-Preferences, syncfolder) does not exist
Error: Invalid cask: /opt/homebrew/Library/Taps/dracula/homebrew-install/Casks/dracula-drafts.rb
Cask 'dracula-drafts' is unreadable: undefined method `/' for nil:NilClass
Error: Cannot tap dracula/install: invalid syntax in tap!
/opt/homebrew/Library/Homebrew/tap.rb:312:in `install'
/opt/homebrew/Library/Homebrew/cmd/tap.rb:65:in `tap'
/opt/homebrew/Library/Homebrew/brew.rb:93:in `<main>'

YAML definition missing from dracula-yaml-json.rb

$ brew install dracula-macos-color-picker 
Running `brew update --auto-update`...
==> Auto-updated Homebrew!
==> Updated Homebrew from 9a482dea2 to 9e257fc96.
Updated 1 tap (homebrew/cask).
==> New Casks
whisky

You have 11 outdated formulae installed.

==> Downloading https://github.com/dracula/macos-color-picker/archive/refs/heads/main.zip
Already downloaded: /Users/lmulder/Library/Caches/Homebrew/downloads/59823bc40478438adfd8fe46b0df4eec2fd8f0111105132de438a56c781e8e95--macos-color-picker-main.zip
Warning: No checksum defined for cask 'dracula-macos-color-picker', skipping verification.
==> Installing Cask dracula-macos-color-picker
/opt/homebrew/Library/Taps/dracula/homebrew-install/cmd/dracula-yaml-json.rb:51:in `dracula_yaml_json': uninitialized constant Homebrew::YAML (NameError)
	from ./generate.command:6:in `<main>'
==> Purging files for version latest of Cask dracula-macos-color-picker
Error: It seems the Generic Artifact source '/opt/homebrew/Caskroom/dracula-macos-color-picker/latest/macos-color-picker-main/Dracula.clr' is not there.

To workaround, add require "yaml" under def dracula_yaml_json in file dracula-yaml-json.rb

Cannot load `active_support/core_ext/string/inflections` for cask `dracula-wallpaper`

brew tap dracula/install
brew install --debug --verbose --cask dracula-wallpaper

Gives me:

❯ brew tap dracula/install
==> Tapping dracula/install
Cloning into '/opt/homebrew/Library/Taps/dracula/homebrew-install'...
remote: Enumerating objects: 142, done.
remote: Counting objects: 100% (74/74), done.
remote: Compressing objects: 100% (46/46), done.
remote: Total 142 (delta 33), reused 50 (delta 23), pack-reused 68
Receiving objects: 100% (142/142), 28.37 KiB | 7.09 MiB/s, done.
Resolving deltas: 100% (55/55), done.
Tapped 1 command, 15 casks and 1 formula (34 files, 61.8KB).
❯ brew install --debug --verbose --cask dracula-wallpaper
/opt/homebrew/Library/Homebrew/brew.rb (Cask::CaskLoader::FromNameLoader): loading dracula-wallpaper
Warning: Cask 'dracula-wallpaper' is unreadable: cannot load such file -- active_support/core_ext/string/inflections
/opt/homebrew/Library/Homebrew/brew.rb (Formulary::NullLoader): loading dracula-wallpaper
==> Searching for similarly named casks...
/opt/homebrew/Library/Homebrew/brew.rb (Cask::CaskLoader::FromTapLoader): loading dracula/install/dracula-wallpaper
Error: Cask 'dracula-wallpaper' is unreadable: cannot load such file -- active_support/core_ext/string/inflections
/opt/homebrew/Library/Taps/dracula/homebrew-install/Casks/dracula-wallpaper.rb:1:in `require'
/opt/homebrew/Library/Taps/dracula/homebrew-install/Casks/dracula-wallpaper.rb:1:in `load'
/opt/homebrew/Library/Homebrew/cask/cask_loader.rb:133:in `instance_eval'
/opt/homebrew/Library/Homebrew/cask/cask_loader.rb:133:in `load'
/opt/homebrew/Library/Homebrew/cask/cask_loader.rb:225:in `load'
/opt/homebrew/Library/Homebrew/cask/cask_loader.rb:516:in `load'
/opt/homebrew/Library/Homebrew/search.rb:98:in `block in search_casks'
/opt/homebrew/Library/Homebrew/search.rb:97:in `map'
/opt/homebrew/Library/Homebrew/search.rb:97:in `search_casks'
/opt/homebrew/Library/Homebrew/search.rb:117:in `search_names'
/opt/homebrew/Library/Homebrew/cmd/install.rb:383:in `rescue in install'
/opt/homebrew/Library/Homebrew/cmd/install.rb:166:in `install'
/opt/homebrew/Library/Homebrew/brew.rb:91:in `public_send'
/opt/homebrew/Library/Homebrew/brew.rb:91:in `<main>'

Not sure what other information is useful, but I'm on Homebrew version 4.2.15

Curl error with brew install dracula-betterdiscord

Running brew install --cask dracula-betterdiscord yields the following error:

Error: Download failed on Cask 'dracula-betterdiscord' with message: Failure while executing; `/usr/bin/env /opt/homebrew/Library/Homebrew/shims/shared/curl --disable --cookie /dev/null --globoff --show-error --user-agent Homebrew/4.1.12\ \(Macintosh\;\ arm64\ Mac\ OS\ X\ 13.5.2\)\ curl/8.1.2 --header Accept-Language:\ en --retry 3 --fail --location --silent --head --request GET https://raw.githubusercontent.com/dracula/BetterDiscord/master/Dracula.theme.css` exited with 22. Here's the output:
HTTP/2 404
content-security-policy: default-src 'none'; style-src 'unsafe-inline'; sandbox
strict-transport-security: max-age=31536000
x-content-type-options: nosniff
x-frame-options: deny
x-xss-protection: 1; mode=block
content-type: text/plain; charset=utf-8
x-github-request-id: BCB2:327C:159D56:1A56AF:650A31E2
accept-ranges: bytes
date: Tue, 19 Sep 2023 23:42:27 GMT
via: 1.1 varnish
x-served-by: cache-syd10153-SYD
x-cache: HIT
x-cache-hits: 1
x-timer: S1695166948.758002,VS0,VE1
vary: Authorization,Accept-Encoding,Origin
access-control-allow-origin: *
cross-origin-resource-policy: cross-origin
x-fastly-request-id: 3d949bb03a05892dcb8bb0b69402fa153f03956b
expires: Tue, 19 Sep 2023 23:47:27 GMT
source-age: 0
content-length: 14

curl: (22) The requested URL returned error: 404

Brew install Dracula-terminal

Installing Dracula theme via homebrew results in the following error:
The file /Users/aweife/Dracula.terminal does not exists.

It should install the theme on where it has downloaded the cask.

Theme not visible in settings

Hi, not sure if I'm missing something, but after installing the Dracula theme with Homebrew, I'm not seeing the theme in the 'Profiles' section in Terminal settings. Do I need to import the theme?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.