diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-01-18 14:30:52 +1100 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-01-18 14:30:52 +1100 |
| commit | ece09fbb519a3285f6285f9990b58b57e0890c7e (patch) | |
| tree | d315959eb5ac8bb4dbf557737ab9b1a7b27d4174 | |
| parent | quit request (diff) | |
| download | caelestia-shell-ece09fbb519a3285f6285f9990b58b57e0890c7e.tar.gz caelestia-shell-ece09fbb519a3285f6285f9990b58b57e0890c7e.tar.bz2 caelestia-shell-ece09fbb519a3285f6285f9990b58b57e0890c7e.zip | |
bar: change style + fix scheme
| -rw-r--r-- | app.tsx | 2 | ||||
| -rw-r--r-- | scss/bar.scss | 2 | ||||
| -rw-r--r-- | scss/popdowns/updates.scss | 4 | ||||
| -rw-r--r-- | src/modules/bar.tsx | 4 |
4 files changed, 5 insertions, 7 deletions
@@ -12,7 +12,7 @@ const loadStyleAsync = async () => { let scheme = "mocha"; if (GLib.file_test(`${CACHE}/scheme/current.txt`, GLib.FileTest.EXISTS)) { const currentScheme = await readFileAsync(`${CACHE}/scheme/current.txt`); - if (GLib.file_test(`${SRC}/scss/scheme/${scheme}.scss`, GLib.FileTest.EXISTS)) scheme = currentScheme; + if (GLib.file_test(`${SRC}/scss/scheme/_${currentScheme}.scss`, GLib.FileTest.EXISTS)) scheme = currentScheme; } await writeFileAsync(`${SRC}/scss/scheme/_index.scss`, `@forward "${scheme}";`); App.apply_css(await execAsync(`sass ${SRC}/style.scss`), true); diff --git a/scss/bar.scss b/scss/bar.scss index f776f19..12c8df3 100644 --- a/scss/bar.scss +++ b/scss/bar.scss @@ -4,8 +4,6 @@ @use "font"; .bar { - @include lib.rounded(10, $tl: 0, $tr: 0); - @include lib.border(scheme.$rosewater, 0.7, 2); @include font.mono; border-top: none; diff --git a/scss/popdowns/updates.scss b/scss/popdowns/updates.scss index d11a551..f63b50e 100644 --- a/scss/popdowns/updates.scss +++ b/scss/popdowns/updates.scss @@ -8,8 +8,8 @@ $-accent: scheme.$blue; .updates { @include lib.popdown-window($-accent); - min-width: lib.s(600); - min-height: lib.s(400); + min-width: lib.s(550); + min-height: lib.s(450); .wrapper { @include lib.element-decel; diff --git a/src/modules/bar.tsx b/src/modules/bar.tsx index 24353bd..05d7e9f 100644 --- a/src/modules/bar.tsx +++ b/src/modules/bar.tsx @@ -437,10 +437,10 @@ export default ({ monitor }: { monitor: Monitor }) => ( <window namespace="caelestia-bar" monitor={monitor.id} - anchor={Astal.WindowAnchor.TOP} + anchor={Astal.WindowAnchor.TOP | Astal.WindowAnchor.LEFT | Astal.WindowAnchor.RIGHT} exclusivity={Astal.Exclusivity.EXCLUSIVE} > - <centerbox className="bar" css={"min-width: " + monitor.width * 0.8 + "px;"}> + <centerbox className="bar"> <box> <OSIcon /> <ActiveWindow /> |