Skip to content

Commit

Permalink
Caskaydia Cove NF font (#2375)
Browse files Browse the repository at this point in the history
Co-authored-by: theofficialgman <[email protected]>
  • Loading branch information
libewa and theofficialgman authored Jul 6, 2023
1 parent 065b6aa commit d41df57
Show file tree
Hide file tree
Showing 9 changed files with 30 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/updates/Caskaydia Cove NF.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/bash

webVer=$(get_release_raw ryanoasis/nerd-fonts)
all_url="https://github.com/ryanoasis/nerd-fonts/releases/download/${webVer}/CascadiaCode.zip"

source $GITHUB_WORKSPACE/.github/workflows/update_github_script.sh
3 changes: 3 additions & 0 deletions apps/Caskaydia Cove NF/credits
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Original Font: Microsoft Corporation (https://github.com/microsoft/cascadia-code)
Patched font: Nerd Fonts (https://nerdfonts.com)
Pi-Apps installer: (https://github.com/libewa)
2 changes: 2 additions & 0 deletions apps/Caskaydia Cove NF/description
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
A fun, new monospaced font that includes programming ligatures and is designed to enhance the modern look and feel of the Windows Terminal.
This font will be installed in /usr/local/share/fonts and will be available in most programs on next restart.
Binary file added apps/Caskaydia Cove NF/icon-24.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added apps/Caskaydia Cove NF/icon-64.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 13 additions & 0 deletions apps/Caskaydia Cove NF/install
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/bin/bash

version=v3.0.2

mkdir -p /tmp/cascadia || error "Failed to create /tmp/cascadia folder!"
wget -O /tmp/cascadia/CascadiaCode.zip "https://github.com/ryanoasis/nerd-fonts/releases/download/${version}/CascadiaCode.zip" || error "Failed to download Caskaydia Cove NF!"
cd /tmp/cascadia || error "Could not move to folder."
unzip CascadiaCode.zip || error "failed to extract zip"
rm -f CascadiaCode.zip
sudo mkdir -p /usr/local/share/fonts/truetype/Caskaydia || error "Failed to create /usr/local/share/fonts/truetype/Caskaydia folder!"
sudo mv * /usr/local/share/fonts/truetype/Caskaydia/ || error "Could not move font files to install directory"
rm -rf /tmp/cascadia
fc-cache -f || error "Failed to run fc-cache!"
4 changes: 4 additions & 0 deletions apps/Caskaydia Cove NF/uninstall
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/bash

sudo rm -rf /usr/local/share/fonts/truetype/Caskaydia
fc-cache -f || error "Failed to run fc-cache!"
1 change: 1 addition & 0 deletions apps/Caskaydia Cove NF/website
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nerdfonts.com
1 change: 1 addition & 0 deletions etc/categories
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ Brave|Internet/Browsers
Browsh|Internet/Browsers
btop++|System Management
Caprine|Internet/Communication
Caskaydia Cove NF|Appearance
Cawbird|Internet/Communication
Celeste Classic|Games
Chiaki|Games
Expand Down

0 comments on commit d41df57

Please sign in to comment.