-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
71 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
import { type Recipe } from "$lib/ingredients"; | ||
import { prepare } from "$lib/cereals"; | ||
|
||
export function toZellij(recipe: Recipe): string { | ||
const cereals = prepare(recipe); | ||
return `// Copy the configuration below and add it to your | ||
// ~/.config/zellij/zellij.kdl file | ||
// Colors (Root Loops) | ||
// via rootloops.sh | ||
themes { | ||
rootloops { | ||
fg "${cereals.foreground.color_hex}" | ||
bg "${cereals.background.color_hex}" | ||
black "${cereals.black.color_hex}" | ||
red "${cereals.red.color_hex}" | ||
green "${cereals.green.color_hex}" | ||
yellow "${cereals.yellow.color_hex}" | ||
blue "${cereals.blue.color_hex}" | ||
magenta "${cereals.magenta.color_hex}" | ||
cyan "${cereals.cyan.color_hex}" | ||
white "${cereals.white.color_hex}" | ||
orange "${cereals.brightYellow.color_hex}" | ||
} | ||
} | ||
theme "rootloops"`; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters