diff options
| author | Ryan Schanzenbacher <ryan@rschanz.org> | 2026-07-09 22:15:53 -0400 |
|---|---|---|
| committer | Ryan Schanzenbacher <ryan@rschanz.org> | 2026-07-09 22:15:53 -0400 |
| commit | d06784958d73159b5e4abafe5114804662114ed7 (patch) | |
| tree | d8464262c1aa1f10553a5b11a9fda3e505e71f7f /users/ryan/modules/simple-bar/simple-bar-source/lib/styles/pywal | |
| parent | 1a71e94eb8ca1585201263cf654611ef6849d359 (diff) | |
move ubersicht modules in tree
Diffstat (limited to 'users/ryan/modules/simple-bar/simple-bar-source/lib/styles/pywal')
4 files changed, 46 insertions, 0 deletions
diff --git a/users/ryan/modules/simple-bar/simple-bar-source/lib/styles/pywal/pywal-colors.js b/users/ryan/modules/simple-bar/simple-bar-source/lib/styles/pywal/pywal-colors.js new file mode 100755 index 0000000..88b7d43 --- /dev/null +++ b/users/ryan/modules/simple-bar/simple-bar-source/lib/styles/pywal/pywal-colors.js | |||
| @@ -0,0 +1,15 @@ | |||
| 1 | import * as Pywal from "./pywal"; | ||
| 2 | |||
| 3 | export const colors = { | ||
| 4 | main: Pywal.variables.background, | ||
| 5 | mainAlt: Pywal.variables.function, | ||
| 6 | minor: Pywal.variables.function, | ||
| 7 | accent: Pywal.variables.result, | ||
| 8 | red: Pywal.variables.operator, | ||
| 9 | green: Pywal.variables.result, | ||
| 10 | yellow: Pywal.variables.cursor, | ||
| 11 | orange: Pywal.variables.scrollbar, | ||
| 12 | blue: Pywal.variables.matched, | ||
| 13 | magenta: Pywal.variables.variable, | ||
| 14 | cyan: Pywal.variables.function, | ||
| 15 | }; | ||
diff --git a/users/ryan/modules/simple-bar/simple-bar-source/lib/styles/pywal/pywal-from-desktop.sh b/users/ryan/modules/simple-bar/simple-bar-source/lib/styles/pywal/pywal-from-desktop.sh new file mode 100755 index 0000000..cd99142 --- /dev/null +++ b/users/ryan/modules/simple-bar/simple-bar-source/lib/styles/pywal/pywal-from-desktop.sh | |||
| @@ -0,0 +1,9 @@ | |||
| 1 | #! /usr/bin/env bash | ||
| 2 | |||
| 3 | wal -n -s -i $(sqlite3 -readonly ~/Library/Application\ Support/Dock/desktoppicture.db 'SELECT * FROM data ORDER BY rowID DESC LIMIT 1;' | sed -e "s|~|$HOME|g") | ||
| 4 | |||
| 5 | { | ||
| 6 | echo -n 'export const variables = ' | ||
| 7 | cat "$HOME/.cache/wal/colors-speedcrunch.json" | ||
| 8 | echo ';' | ||
| 9 | } > pywal.js | ||
diff --git a/users/ryan/modules/simple-bar/simple-bar-source/lib/styles/pywal/pywal-gen.sh b/users/ryan/modules/simple-bar/simple-bar-source/lib/styles/pywal/pywal-gen.sh new file mode 100755 index 0000000..7cbc8ee --- /dev/null +++ b/users/ryan/modules/simple-bar/simple-bar-source/lib/styles/pywal/pywal-gen.sh | |||
| @@ -0,0 +1,7 @@ | |||
| 1 | #! /usr/bin/env bash | ||
| 2 | |||
| 3 | { | ||
| 4 | echo -n 'export const variables = ' | ||
| 5 | cat "$HOME/.cache/wal/colors-speedcrunch.json" | ||
| 6 | echo ';' | ||
| 7 | } > pywal.js | ||
diff --git a/users/ryan/modules/simple-bar/simple-bar-source/lib/styles/pywal/pywal.js b/users/ryan/modules/simple-bar/simple-bar-source/lib/styles/pywal/pywal.js new file mode 100755 index 0000000..3ce4a64 --- /dev/null +++ b/users/ryan/modules/simple-bar/simple-bar-source/lib/styles/pywal/pywal.js | |||
| @@ -0,0 +1,15 @@ | |||
| 1 | export const variables = { | ||
| 2 | cursor: "#d1dbe0", | ||
| 3 | number: "#d1dbe0", | ||
| 4 | parens: "#BFC3B9", | ||
| 5 | result: "#94A4A8", | ||
| 6 | comment: "#92999c", | ||
| 7 | matched: "#94A4A8", | ||
| 8 | function: "#376089", | ||
| 9 | operator: "#708C9F", | ||
| 10 | variable: "#507495", | ||
| 11 | scrollbar: "#708C9F", | ||
| 12 | separator: "#708C9F", | ||
| 13 | background: "#0a0e0d", | ||
| 14 | editorbackground: "#0a0e0d", | ||
| 15 | }; | ||
