From d06784958d73159b5e4abafe5114804662114ed7 Mon Sep 17 00:00:00 2001 From: Ryan Schanzenbacher Date: Thu, 9 Jul 2026 22:15:53 -0400 Subject: move ubersicht modules in tree --- .../simple-bar-source/lib/styles/pywal/pywal-colors.js | 15 +++++++++++++++ .../lib/styles/pywal/pywal-from-desktop.sh | 9 +++++++++ .../simple-bar-source/lib/styles/pywal/pywal-gen.sh | 7 +++++++ .../simple-bar-source/lib/styles/pywal/pywal.js | 15 +++++++++++++++ 4 files changed, 46 insertions(+) create mode 100755 users/ryan/modules/simple-bar/simple-bar-source/lib/styles/pywal/pywal-colors.js create mode 100755 users/ryan/modules/simple-bar/simple-bar-source/lib/styles/pywal/pywal-from-desktop.sh create mode 100755 users/ryan/modules/simple-bar/simple-bar-source/lib/styles/pywal/pywal-gen.sh create mode 100755 users/ryan/modules/simple-bar/simple-bar-source/lib/styles/pywal/pywal.js (limited to 'users/ryan/modules/simple-bar/simple-bar-source/lib/styles/pywal') 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 @@ +import * as Pywal from "./pywal"; + +export const colors = { + main: Pywal.variables.background, + mainAlt: Pywal.variables.function, + minor: Pywal.variables.function, + accent: Pywal.variables.result, + red: Pywal.variables.operator, + green: Pywal.variables.result, + yellow: Pywal.variables.cursor, + orange: Pywal.variables.scrollbar, + blue: Pywal.variables.matched, + magenta: Pywal.variables.variable, + cyan: Pywal.variables.function, +}; 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 @@ +#! /usr/bin/env bash + +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") + +{ + echo -n 'export const variables = ' + cat "$HOME/.cache/wal/colors-speedcrunch.json" + echo ';' +} > 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 @@ +#! /usr/bin/env bash + +{ + echo -n 'export const variables = ' + cat "$HOME/.cache/wal/colors-speedcrunch.json" + echo ';' +} > 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 @@ +export const variables = { + cursor: "#d1dbe0", + number: "#d1dbe0", + parens: "#BFC3B9", + result: "#94A4A8", + comment: "#92999c", + matched: "#94A4A8", + function: "#376089", + operator: "#708C9F", + variable: "#507495", + scrollbar: "#708C9F", + separator: "#708C9F", + background: "#0a0e0d", + editorbackground: "#0a0e0d", +}; -- cgit v1.3