aurora4b25a0d
aurora: trim glyph-rice references to short notices and credits
+47 −67
50 files changed
- M .config/gtk-3.0/nothing.css +1 −1
- M .config/hypr/hyprlock.conf +3 −3
- M .config/hypr/source/appearance.lua +1 −1
- M .config/hypr/source/window_rules.lua +1 −1
- M .config/quickshell/aurora/AuthPrompt.qml +1 −2
- M .config/quickshell/aurora/Back.qml +0 −1
- M .config/quickshell/aurora/Bar.qml +2 −3
- M .config/quickshell/aurora/BatteryInfo.qml +0 −1
- M .config/quickshell/aurora/CalPopup.qml +0 −1
- M .config/quickshell/aurora/CharPicker.qml +1 −2
- M .config/quickshell/aurora/ClipWindow.qml +0 −1
- M .config/quickshell/aurora/ControlPanel.qml +0 −1
- M .config/quickshell/aurora/DotArt.qml +2 −2
- M .config/quickshell/aurora/DotMask.qml +1 −1
- M .config/quickshell/aurora/HomePage.qml +0 −1
- M .config/quickshell/aurora/Icon.qml +1 −1
- M .config/quickshell/aurora/Lb.qml +1 −1
- M .config/quickshell/aurora/LockArt.qml +1 −1
- M .config/quickshell/aurora/MediaCard.qml +1 −1
- M .config/quickshell/aurora/NotifCard.qml +1 −1
- M .config/quickshell/aurora/NotifPopups.qml +0 −1
- M .config/quickshell/aurora/Num.qml +1 −1
- M .config/quickshell/aurora/Orb.qml +1 −1
- M .config/quickshell/aurora/Osd.qml +1 −1
- M .config/quickshell/aurora/Pill.qml +1 −1
- M .config/quickshell/aurora/PlayControls.qml +1 −1
- M .config/quickshell/aurora/PowerMenu.qml +0 −1
- M .config/quickshell/aurora/Ring.qml +1 −1
- M .config/quickshell/aurora/Runner.qml +1 −2
- M .config/quickshell/aurora/Seg.qml +1 −1
- M .config/quickshell/aurora/Segmented.qml +2 −2
- M .config/quickshell/aurora/SetAbout.qml +3 −4
- M .config/quickshell/aurora/Settings.qml +1 −1
- M .config/quickshell/aurora/SettingsApp.qml +2 −2
- M .config/quickshell/aurora/Shot.qml +0 −1
- M .config/quickshell/aurora/ShotAim.qml +0 −1
- M .config/quickshell/aurora/ShotEditor.qml +0 −1
- M .config/quickshell/aurora/SliderRow.qml +1 −1
- M .config/quickshell/aurora/Spark.qml +1 −1
- M .config/quickshell/aurora/Switch.qml +1 −2
- M .config/quickshell/aurora/SysStats.qml +0 −1
- M .config/quickshell/aurora/Theme.qml +4 −4
- M .config/quickshell/aurora/Tile.qml +1 −1
- M .config/quickshell/aurora/TogglePill.qml +1 −1
- M .config/quickshell/aurora/WallPicker.qml +1 −1
- M .config/quickshell/aurora/WallView.qml +1 −1
- M .config/quickshell/aurora/Weather.qml +0 −1
- M .config/quickshell/aurora/Workspaces.qml +0 −1
- M .config/quickshell/aurora/shaders/dots.frag +1 −1
- M .config/quickshell/aurora/shaders/wall.frag +1 −1
| @@ -1,4 +1,4 @@ | |||
| 1 | − | /* aurora's Nothing OS look for GTK3 and GTK4 (after glyph-rice's gtk.css, github.com/Nebelung-cloud/glyph-rice, GPL-3.0), | |
| 1 | + | /* aurora's Nothing OS look for GTK3 and GTK4 (parts from glyph-rice's gtk.css, GPL-3.0), | |
| 2 | 2 | on top of adw-gtk3 / libadwaita. Imported by gtk-3.0/gtk.css and gtk-4.0/gtk.css after matugen's colours | |
| 3 | 3 | (~/.cache/matugen/gtk.css: libadwaita names + aurora_bg/s1/s2/s3/fill/live/... like Theme.qml). | |
| 4 | 4 | Static on purpose: edits show in newly started apps, no matugen run. Only properties BOTH versions parse | |
| @@ -1,10 +1,10 @@ | |||
| 1 | − | # hyprlock in aurora's Nothing look, after glyph-rice's lock screen: the wallpaper as aurora draws it, a huge Doto clock | |
| 1 | + | # hyprlock in aurora's Nothing look: the wallpaper as aurora draws it, a huge Doto clock | |
| 2 | 2 | # (the colon blinks), the date and weather / what's playing in spaced caps, battery top right; at the bottom your face in | |
| 3 | 3 | # a ring of dots, your name and the password pill: typed characters are dots, empty = the live caret and six unlit dots. | |
| 4 | 4 | # Colours / fonts / clock settings: matugen's output first as a fallback, then aurora's resolved palette | |
| 5 | 5 | # (~/.config/aurora/hyprlock-colors.conf, written by aurora's Theme.qml; `$xHex` = for Pango markup). | |
| 6 | 6 | # Pictures: ~/.cache/aurora/lock-wall.png + lock-face.png (aurora's LockArt.qml). Live labels: ~/.local/bin/hypr/lockinfo. | |
| 7 | − | # Positions = the centres of glyph's 1920x1080 layout (y up from the middle); sizes in pt = px * 3/4. | |
| 7 | + | # Positions = centres in a 1920x1080 layout (y up from the middle); sizes in pt = px * 3/4. | |
| 8 | 8 | $dot = Doto Black | |
| 9 | 9 | $ui = Space Grotesk | |
| 10 | 10 | $mono = Space Mono | |
| @@ -25,7 +25,7 @@ general { | |||
| 25 | 25 | fail_timeout = 2500 | |
| 26 | 26 | } | |
| 27 | 27 | ||
| 28 | − | # glyph's timing: everything comes in over 1.1s with aurora's glide, leaves in 0.45s, typed dots pop in 180ms | |
| 28 | + | # Timing: everything comes in over 1.1s with aurora's glide, leaves in 0.45s, typed dots pop in 180ms | |
| 29 | 29 | animations { | |
| 30 | 30 | enabled = true | |
| 31 | 31 | bezier = glide, 0.25, 1, 0.5, 1 | |
| @@ -93,7 +93,7 @@ hl.config({ | |||
| 93 | 93 | }) | |
| 94 | 94 | ||
| 95 | 95 | -------------------------------------------------- | |
| 96 | − | -- Animations (glyph-rice's set, retimed to aurora's motion: speed is in 100ms, aurora's panels take 350ms) | |
| 96 | + | -- Animations (timed to aurora's motion: speed is in 100ms, aurora's panels take 350ms) | |
| 97 | 97 | -------------------------------------------------- | |
| 98 | 98 | -- aurora's glide (Theme.glide): ease-out-quart without overshoot | |
| 99 | 99 | hl.curve("glide", { type = "bezier", points = { { 0.25, 1 }, { 0.5, 1 } } }) | |
| @@ -37,7 +37,7 @@ hl.window_rule({ | |||
| 37 | 37 | float = true, | |
| 38 | 38 | }) | |
| 39 | 39 | ||
| 40 | − | -- aurora's settings app: a normal window, opened maximized (glyph's full-screen prefs layout, but still a window) | |
| 40 | + | -- aurora's settings app: a normal window, opened maximized (a full-screen layout, but still a window) | |
| 41 | 41 | hl.window_rule({ | |
| 42 | 42 | name = "aurora-settings", | |
| 43 | 43 | ||
| @@ -7,8 +7,7 @@ import Quickshell.Wayland | |||
| 7 | 7 | // (Agents.bt: confirm a passkey, type a PIN/passkey, or show one to type on the device). Polkit wins | |
| 8 | 8 | // if both are pending. Overlay layer with exclusive keyboard on the focused monitor; Enter accepts, | |
| 9 | 9 | // Esc cancels. Typed text is cleared after every attempt, never logged. | |
| 10 | − | // Looks like glyph's lock surface (github.com/Nebelung-cloud/glyph-rice, GPL-3.0, lock/LockSurface.qml): a lock in a ring | |
| 11 | − | // of dots, the password in a pill as dots with the live caret; a wrong password shakes it. | |
| 10 | + | // Looks: a lock in a ring of dots, the password in a pill as dots with the live caret; a wrong password shakes it. | |
| 12 | 11 | PanelWindow { | |
| 13 | 12 | id: win | |
| 14 | 13 | readonly property var flow: Agents.flow | |
| @@ -7,7 +7,6 @@ import Quickshell.Hyprland | |||
| 7 | 7 | // (WallView), and without one a dot grid with the breathing halftone orb. A window of its own: the home screen above it | |
| 8 | 8 | // redraws often (clock colon, rings, cava) while this full-screen shader only redraws for the wave or a look change. | |
| 9 | 9 | // aurora draws the wallpaper itself; hyprpaper isn't used any more (Wall.qml). | |
| 10 | − | // After glyph-rice (github.com/Nebelung-cloud/glyph-rice, GPL-3.0), home/Back.qml. | |
| 11 | 10 | PanelWindow { | |
| 12 | 11 | id: win | |
| 13 | 12 | required property var modelData | |
| @@ -7,14 +7,13 @@ import Quickshell.Services.Pipewire | |||
| 7 | 7 | import Quickshell.Services.UPower | |
| 8 | 8 | ||
| 9 | 9 | // The bar: a strip docked at the top of every monitor, or at the left edge (Settings.barLayout "vertical", like | |
| 10 | − | // glyph-rice's; the groups are Grids that turn from rows into columns). Settings.barFloat: a rounded pill held off the | |
| 11 | − | // screen edges (glyph's look) instead of a strip along the edge. | |
| 10 | + | // the groups are Grids that turn from rows into columns). Settings.barFloat: a rounded pill held off the | |
| 11 | + | // screen edges instead of a strip along the edge. | |
| 12 | 12 | // Left / top: the mark (a dotted ring: click = runner; its centre turns the live colour while something records or listens, | |
| 13 | 13 | // the ring lights up in a wave on a new notification), this monitor's workspaces as dots, the cat. | |
| 14 | 14 | // Centre: time · day, or Doto hours over minutes over the day when vertical (click = calendar). | |
| 15 | 15 | // Right / bottom: tray, recording, privacy, caffeine/airplane, headset, volume, net, bt, battery. | |
| 16 | 16 | // Clicks open the same panel tabs as always. | |
| 17 | − | // After glyph-rice (github.com/Nebelung-cloud/glyph-rice, GPL-3.0), bar/Bar.qml. | |
| 18 | 17 | PanelWindow { | |
| 19 | 18 | id: bar | |
| 20 | 19 | required property var modelData | |
| @@ -3,7 +3,6 @@ import QtQuick.Layouts | |||
| 3 | 3 | import Quickshell.Services.UPower | |
| 4 | 4 | ||
| 5 | 5 | // Battery block (SysPage, settings app > Power): charge in Doto, state, a segment bar (accent when low), details. | |
| 6 | − | // After glyph-rice's battery card (github.com/Nebelung-cloud/glyph-rice, GPL-3.0), bar/Bar.qml. | |
| 7 | 6 | ColumnLayout { | |
| 8 | 7 | id: root | |
| 9 | 8 | readonly property var bat: UPower.displayDevice | |
| @@ -8,7 +8,6 @@ import Quickshell.Hyprland | |||
| 8 | 8 | // month calendar | weather (now, next 4 days, daylight) | system (cpu/mem/gpu rings, top processes, threads) | net | media. | |
| 9 | 9 | // Calendar: Monday first, ISO week numbers, today in a primary circle. Scroll over it / arrows change the month, | |
| 10 | 10 | // up / down the year, space = back to today, Esc closes. SysStats samples its details only while this is open. | |
| 11 | − | // After glyph-rice (github.com/Nebelung-cloud/glyph-rice, GPL-3.0), cal/Cal.qml and deck/Deck.qml. | |
| 12 | 11 | PanelWindow { | |
| 13 | 12 | id: win | |
| 14 | 13 | property bool opened: false | |
| @@ -6,8 +6,7 @@ import Quickshell.Wayland | |||
| 6 | 6 | // Glyph picker (SUPER+grave, `chars` IPC): emoji, nerd font glyphs, unicode symbols, kaomoji, fancy text. | |
| 7 | 7 | // Type to fuzzy search; arrows / Ctrl+HJKL move, Tab section, Ctrl+Left/Right group, Enter copies, Shift+Enter types it | |
| 8 | 8 | // into the focused window, Ctrl+Enter collects into a buffer, Alt+Enter copies the codepoint. | |
| 9 | − | // Looks like glyph's charms (github.com/Nebelung-cloud/glyph-rice, GPL-3.0, charms/Charms.qml): a card over the dimmed | |
| 10 | − | // screen, search pill, section chips, tiles (the selected one white... here primary), the selection large at the bottom. | |
| 9 | + | // Looks: a card over the dimmed screen, search pill, section chips, tiles (the selected one white... here primary), the selection large at the bottom. | |
| 11 | 10 | PanelWindow { | |
| 12 | 11 | id: win | |
| 13 | 12 | property bool opened: false | |
| @@ -8,7 +8,6 @@ import Quickshell.Wayland | |||
| 8 | 8 | // (Tab cycles: all / text / links / images), the history as rows (type in a circle: text, link, code, the colour | |
| 9 | 9 | // itself, the image as dots; a Doto number) and the selected entry in full on the right. | |
| 10 | 10 | // Enter copies + closes, Delete removes, Esc or a click outside closes. | |
| 11 | − | // After glyph-rice (github.com/Nebelung-cloud/glyph-rice, GPL-3.0), clip/Clip.qml. | |
| 12 | 11 | PanelWindow { | |
| 13 | 12 | id: win | |
| 14 | 13 | property bool opened: false | |
| @@ -6,7 +6,6 @@ import Quickshell.Hyprland | |||
| 6 | 6 | ||
| 7 | 7 | // Control panel: a card at the top right, as tall as the shown page (pages scroll when the screen is shorter). | |
| 8 | 8 | // Header: Doto clock, date, settings + power. Tabs are chips. Slides in from the right. | |
| 9 | − | // After glyph-rice's quick settings (github.com/Nebelung-cloud/glyph-rice, GPL-3.0), quick/Quick.qml. | |
| 10 | 9 | PanelWindow { | |
| 11 | 10 | id: win | |
| 12 | 11 | property bool opened: false | |
| @@ -1,8 +1,8 @@ | |||
| 1 | 1 | import QtQuick | |
| 2 | 2 | import QtQuick.Shapes | |
| 3 | 3 | ||
| 4 | − | // A track cover as LED dots in a circle; without a cover, the conical grey gradient from glyph's concept. | |
| 5 | − | // Ported from glyph-rice (github.com/Nebelung-cloud/glyph-rice, GPL-3.0), components/Art.qml. | |
| 4 | + | // A track cover as LED dots in a circle; without a cover, a conical grey gradient. | |
| 5 | + | // Parts from glyph-rice (GPL-3.0), components/Art.qml. | |
| 6 | 6 | Item { | |
| 7 | 7 | id: root | |
| 8 | 8 | ||
| @@ -2,7 +2,7 @@ import QtQuick | |||
| 2 | 2 | ||
| 3 | 3 | // Dot-matrix mask for layer.effect: `layer.enabled: true; layer.effect: DotMask { step: 4 }`. | |
| 4 | 4 | // The item becomes evenly sized grey LED dots (luminance only). Album covers, app icons, the halftone orb. | |
| 5 | − | // Ported from glyph-rice (github.com/Nebelung-cloud/glyph-rice, GPL-3.0), components/Dm.qml. | |
| 5 | + | // Parts from glyph-rice (GPL-3.0), components/Dm.qml. | |
| 6 | 6 | ShaderEffect { | |
| 7 | 7 | property real step: 5 | |
| 8 | 8 | readonly property real pitch: step // the shader's uniform: "step" is a GLSL builtin | |
| @@ -6,7 +6,6 @@ import Quickshell.Services.Pipewire | |||
| 6 | 6 | ||
| 7 | 7 | // Control panel > home: Wi-Fi / Bluetooth pills (chevron = their tab), round toggles, desktop actions, capture, | |
| 8 | 8 | // volume + brightness, power profile, the player, the latest notifications. Session actions: the header's power button. | |
| 9 | − | // After glyph-rice's quick settings (github.com/Nebelung-cloud/glyph-rice, GPL-3.0), quick/Quick.qml. | |
| 10 | 9 | Flickable { | |
| 11 | 10 | id: page | |
| 12 | 11 | signal closeRequested() | |
| @@ -2,7 +2,7 @@ import QtQuick | |||
| 2 | 2 | ||
| 3 | 3 | // A Nerd Font (Material Design) glyph in a 1em box: the font's line is 1.32em, the padding trims it so icons centre. | |
| 4 | 4 | // Glyphs come from Theme (Theme.iFoo), never pasted into files. | |
| 5 | − | // Ported from glyph-rice (github.com/Nebelung-cloud/glyph-rice, GPL-3.0), components/Icon.qml. | |
| 5 | + | // Parts from glyph-rice (GPL-3.0), components/Icon.qml. | |
| 6 | 6 | Text { | |
| 7 | 7 | readonly property real lead: -0.16 * font.pixelSize | |
| 8 | 8 | font.family: Theme.nf | |
| @@ -1,7 +1,7 @@ | |||
| 1 | 1 | import QtQuick | |
| 2 | 2 | ||
| 3 | 3 | // Label: Space Mono caps, tracking .14em, grey. Size via `px` (the tracking is derived from it). | |
| 4 | − | // Ported from glyph-rice (github.com/Nebelung-cloud/glyph-rice, GPL-3.0), components/Lb.qml. | |
| 4 | + | // Parts from glyph-rice (GPL-3.0), components/Lb.qml. | |
| 5 | 5 | Text { | |
| 6 | 6 | property real px: 12 | |
| 7 | 7 | font.family: Theme.mono | |
| @@ -32,7 +32,7 @@ Item { | |||
| 32 | 32 | onLoadFailed: root.hasFace = false | |
| 33 | 33 | } | |
| 34 | 34 | ||
| 35 | − | // the avatar as glyph's lock screen draws it; off-screen, only ever grabbed | |
| 35 | + | // the avatar as the lock screen draws it; off-screen, only ever grabbed | |
| 36 | 36 | Item { | |
| 37 | 37 | id: face | |
| 38 | 38 | x: -width - 100 | |
| @@ -1,7 +1,7 @@ | |||
| 1 | 1 | import QtQuick | |
| 2 | 2 | ||
| 3 | 3 | // Mini player (control panel): the cover as dots in a circle, title / artist, a dotted seek bar, prev · play · next. | |
| 4 | − | // Hidden while no MPRIS player exists. Ported from glyph-rice (github.com/Nebelung-cloud/glyph-rice, GPL-3.0), quick/Quick.qml. | |
| 4 | + | // Hidden while no MPRIS player exists. Parts from glyph-rice (GPL-3.0), quick/Quick.qml. | |
| 5 | 5 | Rectangle { | |
| 6 | 6 | id: card | |
| 7 | 7 | readonly property var player: Media.player | |
| @@ -6,7 +6,7 @@ import Quickshell.Services.Notifications | |||
| 6 | 6 | ||
| 7 | 7 | // A notification (panel history, toasts): the app icon in a circle (dots / mono / colour, Settings.appIcons), | |
| 8 | 8 | // APP · 3 MIN, summary, body, other actions as pills. Click = the default action, if the app sent one. | |
| 9 | − | // Critical = accent border. Ported from glyph-rice (github.com/Nebelung-cloud/glyph-rice, GPL-3.0), quick/Quick.qml. | |
| 9 | + | // Critical = accent border. Parts from glyph-rice (GPL-3.0), quick/Quick.qml. | |
| 10 | 10 | Rectangle { | |
| 11 | 11 | id: card | |
| 12 | 12 | required property var n // Notification | |
| @@ -7,7 +7,6 @@ import Quickshell.Services.Notifications | |||
| 7 | 7 | // Toasts as an island at the top centre, under the bar: up to 4 cards, newest on top. Each drops in as a small pill and | |
| 8 | 8 | // grows into its card; leaving, it shrinks back and the ones below slide up. Hovering holds them all, click = the app's | |
| 9 | 9 | // default action, the × on hover only drops the toast (the notification stays in the history), other actions are pills. | |
| 10 | − | // After glyph-rice's island (github.com/Nebelung-cloud/glyph-rice, GPL-3.0), glyph/Glyph.qml. | |
| 11 | 10 | PanelWindow { | |
| 12 | 11 | id: win | |
| 13 | 12 | property bool suppressed: false // hidden while the control panel is open | |
| @@ -3,7 +3,7 @@ import QtQuick | |||
| 3 | 3 | // Numbers and short words in Doto (dot matrix, round dots, black weight). Never smaller than 26px. | |
| 4 | 4 | // Doto's line box is 1.2em; the negative padding trims it to ~.85em (lineHeight does nothing on a one-line Text). | |
| 5 | 5 | // Extra space goes on top of it: `topPadding: lead + 8`. | |
| 6 | − | // Ported from glyph-rice (github.com/Nebelung-cloud/glyph-rice, GPL-3.0), components/Num.qml. | |
| 6 | + | // Parts from glyph-rice (GPL-3.0), components/Num.qml. | |
| 7 | 7 | Text { | |
| 8 | 8 | readonly property real lead: -0.175 * font.pixelSize | |
| 9 | 9 | font.family: Theme.dot | |
| @@ -2,7 +2,7 @@ import QtQuick | |||
| 2 | 2 | import QtQuick.Shapes | |
| 3 | 3 | ||
| 4 | 4 | // The halftone orb on an empty desktop (no wallpaper): equal dots, a radial gradient sets their brightness. | |
| 5 | − | // phase (s) = a slow breath. Ported from glyph-rice (github.com/Nebelung-cloud/glyph-rice, GPL-3.0), components/Orb.qml. | |
| 5 | + | // phase (s) = a slow breath. Parts from glyph-rice (GPL-3.0), components/Orb.qml. | |
| 6 | 6 | Shape { | |
| 7 | 7 | property real phase: 0 | |
| 8 | 8 | ||
| @@ -7,7 +7,7 @@ import Quickshell.Services.Pipewire | |||
| 7 | 7 | // Volume / mic / brightness on the right screen edge, like the Glyph strips on the phone: 20 segments fill bottom-up | |
| 8 | 8 | // (the lit ones glow), a capsule next to them shows the icon and the value. Click-through, fades out after | |
| 9 | 9 | // Settings.osdTimeout. Volume + mute come natively from Pipewire (keys, wpctl, panel); brightness is pushed in with | |
| 10 | − | // show() from the `bright` IPC call. After glyph-rice (github.com/Nebelung-cloud/glyph-rice, GPL-3.0), glyph/Glyph.qml. | |
| 10 | + | // show() from the `bright` IPC call. | |
| 11 | 11 | PanelWindow { | |
| 12 | 12 | id: win | |
| 13 | 13 | property bool suppressed: false // hidden while the control panel is open | |
| @@ -2,7 +2,7 @@ import QtQuick | |||
| 2 | 2 | ||
| 3 | 3 | // A pill floating over a full-screen view (screenshot viewfinder, editor): the content in a centred row. | |
| 4 | 4 | // Clicks on it don't fall through to what's under it. | |
| 5 | − | // Ported from glyph-rice (github.com/Nebelung-cloud/glyph-rice, GPL-3.0), shot/Pill.qml. | |
| 5 | + | // Parts from glyph-rice (GPL-3.0), shot/Pill.qml. | |
| 6 | 6 | Rectangle { | |
| 7 | 7 | default property alias content: row.data | |
| 8 | 8 | property alias spacing: row.spacing | |
| @@ -1,7 +1,7 @@ | |||
| 1 | 1 | import QtQuick | |
| 2 | 2 | ||
| 3 | 3 | // previous · play/pause in the accent circle (the live thing on a media card) · next. | |
| 4 | − | // Ported from glyph-rice (github.com/Nebelung-cloud/glyph-rice, GPL-3.0), components/Controls.qml. | |
| 4 | + | // Parts from glyph-rice (GPL-3.0), components/Controls.qml. | |
| 5 | 5 | Row { | |
| 6 | 6 | id: root | |
| 7 | 7 | ||
| @@ -7,7 +7,6 @@ import Quickshell.Hyprland | |||
| 7 | 7 | // column of Doto words: the selected one large with the live dot, the rest dim; uptime in a ring of dots on the right. | |
| 8 | 8 | // Up/Down/Tab or hover pick, Enter/click runs, typing filters, Esc or a click on the background closes. | |
| 9 | 9 | // Destructive ones need a second Enter/click within 3s (the word turns the error colour). | |
| 10 | − | // After glyph-rice (github.com/Nebelung-cloud/glyph-rice, GPL-3.0), power/Power.qml. | |
| 11 | 10 | PanelWindow { | |
| 12 | 11 | id: win | |
| 13 | 12 | property bool opened: false | |
| @@ -2,7 +2,7 @@ import QtQuick | |||
| 2 | 2 | ||
| 3 | 3 | // A ring of n LED dots on the item's edge; the fraction f lights clockwise from 12 o'clock, in a wave (8 ms a dot). | |
| 4 | 4 | // Dot centres sit on the edge, so leave dot/2 of room around it. | |
| 5 | − | // Ported from glyph-rice (github.com/Nebelung-cloud/glyph-rice, GPL-3.0), components/Ring.qml. | |
| 5 | + | // Parts from glyph-rice (GPL-3.0), components/Ring.qml. | |
| 6 | 6 | Item { | |
| 7 | 7 | id: root | |
| 8 | 8 | ||
| @@ -10,8 +10,7 @@ import Quickshell.Hyprland | |||
| 10 | 10 | // aurora commands and every executable on $PATH, ranked by match and launch count. | |
| 11 | 11 | // `=expr` calculator (Enter copies), `>cmd` runs a shell command. Ctrl+Enter runs in the terminal. | |
| 12 | 12 | // dmenu mode (`aurora-run -d`, `dmenu` IPC): plain list from the script's stdin, the choice goes back over a fifo. | |
| 13 | − | // Looks like glyph's launcher (github.com/Nebelung-cloud/glyph-rice, GPL-3.0, launcher/Launcher.qml): a card over the | |
| 14 | − | // dimmed screen, a search pill with the live caret, mode chips (all / run = `>` / calc = `=`), round icons in rows. | |
| 13 | + | // Looks: a card over the dimmed screen, a search pill with the live caret, mode chips (all / run = `>` / calc = `=`), round icons in rows. | |
| 15 | 14 | PanelWindow { | |
| 16 | 15 | id: win | |
| 17 | 16 | property bool opened: false | |
| @@ -2,7 +2,7 @@ import QtQuick | |||
| 2 | 2 | ||
| 3 | 3 | // Segment bar, like the Glyph strips on the phone: the fraction f is lit. vertical = fills bottom-up. | |
| 4 | 4 | // Give it a width and a height; segments share the length. | |
| 5 | − | // Ported from glyph-rice (github.com/Nebelung-cloud/glyph-rice, GPL-3.0), components/Seg.qml. | |
| 5 | + | // Parts from glyph-rice (GPL-3.0), components/Seg.qml. | |
| 6 | 6 | Grid { | |
| 7 | 7 | id: root | |
| 8 | 8 | ||
| @@ -1,8 +1,8 @@ | |||
| 1 | 1 | import QtQuick | |
| 2 | 2 | ||
| 3 | 3 | // One-of-n choice: a pill track where the white cell slides to the selected option. | |
| 4 | − | // options: [{value, label, ticks}] (ticks = optional strength marks, how many of 4 are lit, like glyph's power modes). | |
| 5 | − | // Ported from glyph-rice (github.com/Nebelung-cloud/glyph-rice, GPL-3.0), quick/Quick.qml (power modes). | |
| 4 | + | // options: [{value, label, ticks}] (ticks = optional strength marks, how many of 4 are lit, like the power modes). | |
| 5 | + | // Parts from glyph-rice (GPL-3.0), quick/Quick.qml (power modes). | |
| 6 | 6 | Rectangle { | |
| 7 | 7 | id: root | |
| 8 | 8 | ||
| @@ -124,10 +124,9 @@ Flickable { | |||
| 124 | 124 | color: Theme.fgDim | |
| 125 | 125 | font.family: Theme.ui | |
| 126 | 126 | font.pixelSize: 14 | |
| 127 | − | text: "The look follows Nothing OS through glyph-rice by Nebelung-cloud (GPL-3.0): its design language, " | |
| 128 | − | + "dot-matrix shaders and several components. Fonts: Doto, Space Grotesk, Space Mono (SIL OFL). " | |
| 129 | − | + "Colours: matugen (Material You). Nothing, Nothing OS and Glyph are trademarks of Nothing Technology Ltd; " | |
| 130 | − | + "this is a fan setup, not affiliated with Nothing." | |
| 127 | + | text: "The dot-matrix shaders and some components started as ports from glyph-rice by Nebelung-cloud " | |
| 128 | + | + "(GPL-3.0). Fonts: Doto, Space Grotesk, Space Mono (SIL OFL). Colours: matugen (Material You). Nothing, Nothing OS and Glyph are trademarks of Nothing Technology Ltd; " | |
| 129 | + | + "this is a fan project, not affiliated with Nothing." | |
| 131 | 130 | } | |
| 132 | 131 | } | |
| 133 | 132 | } | |
| @@ -120,7 +120,7 @@ Singleton { | |||
| 120 | 120 | property int barSize: 40 // height of the bar (Doto clock from 40 up) | |
| 121 | 121 | property string barLayout: "horizontal" // horizontal (top edge) | vertical (left edge) | |
| 122 | 122 | property int barWidth: 56 // width of the vertical bar | |
| 123 | − | property bool barFloat: false // a rounded pill held off the screen edges (glyph-rice) instead of a strip | |
| 123 | + | property bool barFloat: false // a rounded pill held off the screen edges instead of a strip | |
| 124 | 124 | property string wallLook: "dots" // dots | colour | photo: how aurora draws the wallpaper (WallView) | |
| 125 | 125 | property int wallPitch: 10 // dot step, px | |
| 126 | 126 | property int wallBright: 85 // %, from the background to the full image | |
| @@ -3,12 +3,12 @@ import QtQuick.Layouts | |||
| 3 | 3 | import Quickshell | |
| 4 | 4 | ||
| 5 | 5 | // The settings app: a normal Hyprland window (class org.quickshell, title "aurora settings"), opened maximized by a | |
| 6 | − | // window rule. glyph's prefs layout: the sections as a column of Doto words (the selected one large with the live dot), | |
| 6 | + | // window rule. The sections as a column of Doto words (the selected one large with the live dot), | |
| 7 | 7 | // the page on the right under a caption, key hints at the bottom. One Loader, so only the shown section runs. | |
| 8 | 8 | // Tab / Shift+Tab, Up/Down (outside text fields) or Ctrl+J/K = sections, Esc closes. | |
| 9 | 9 | // Ctrl+F (or the search button) searches every setting (SetIndex): the results replace the page, Enter / click opens | |
| 10 | 10 | // the section, scrolls to the row and flashes it. | |
| 11 | − | // Opened with the `settings [section]` IPC. After glyph-rice (github.com/Nebelung-cloud/glyph-rice, GPL-3.0), prefs/Prefs.qml. | |
| 11 | + | // Opened with the `settings [section]` IPC. | |
| 12 | 12 | FloatingWindow { | |
| 13 | 13 | id: win | |
| 14 | 14 | property bool opened: false | |
| @@ -12,7 +12,6 @@ import Quickshell.Hyprland | |||
| 12 | 12 | // viewfinder or editor, or "save" on the card, puts it in ~/pix/ss. After a shot ShotAim flashes the area and shows a | |
| 13 | 13 | // card, a click on it opens ShotEditor (`editing`). | |
| 14 | 14 | // Record mode hands the area to Rec (wf-recorder). OCR is the separate `ocr` script (slurp + grim + tesseract). | |
| 15 | − | // After glyph-rice (github.com/Nebelung-cloud/glyph-rice, GPL-3.0), shot/Shot.qml. | |
| 16 | 15 | Singleton { | |
| 17 | 16 | id: root | |
| 18 | 17 | ||
| @@ -11,7 +11,6 @@ import Quickshell.Wayland | |||
| 11 | 11 | // Esc = cancel. Modes and timer are chips in a pill at the bottom. | |
| 12 | 12 | // After the shot: the area flashes (recording: a live-coloured frame around it) and a card slides in at the bottom | |
| 13 | 13 | // right for a few seconds (longer while hovered): click the shot to edit it (ShotEditor), "save" keeps it. | |
| 14 | − | // After glyph-rice (github.com/Nebelung-cloud/glyph-rice, GPL-3.0), shot/Shot.qml. | |
| 15 | 14 | Scope { | |
| 16 | 15 | id: root | |
| 17 | 16 | ||
| @@ -8,7 +8,6 @@ import Quickshell.Wayland | |||
| 8 | 8 | // with grabToImage at the shot's own size: Ctrl+C / Enter = copy (a /tmp file: the shot's own if it was one, a new one | |
| 9 | 9 | // if it was kept, so a saved shot is never changed), Ctrl+S = also save to ~/pix/ss. P A R B T tool, 1-4 ink, [ ] size, | |
| 10 | 10 | // Ctrl+Z undo, Esc discards. The inks are content baked into the image, not UI: the one place with fixed colours (+ the accent). | |
| 11 | − | // After glyph-rice (github.com/Nebelung-cloud/glyph-rice, GPL-3.0), shot/Editor.qml. | |
| 12 | 11 | Scope { | |
| 13 | 12 | id: root | |
| 14 | 13 | ||
| @@ -2,7 +2,7 @@ import QtQuick | |||
| 2 | 2 | ||
| 3 | 3 | // Level slider (control panel): a pill whose filled part is white with the icon in it, the rest a row of dots, | |
| 4 | 4 | // the value in a chip on the right. Click/drag sets (the wheel scrolls past it), the icon end toggles mute (iconClicked). | |
| 5 | − | // Ported from glyph-rice (github.com/Nebelung-cloud/glyph-rice, GPL-3.0), quick/Quick.qml (Slider). | |
| 5 | + | // Parts from glyph-rice (GPL-3.0), quick/Quick.qml (Slider). | |
| 6 | 6 | Item { | |
| 7 | 7 | id: r | |
| 8 | 8 | property string icon: "" | |
| @@ -1,7 +1,7 @@ | |||
| 1 | 1 | import QtQuick | |
| 2 | 2 | ||
| 3 | 3 | // History as a dot matrix (cpu): one column per sample, the top lit dot white, the ones under it grey, the rest unlit. | |
| 4 | − | // Ported from glyph-rice (github.com/Nebelung-cloud/glyph-rice, GPL-3.0), home/Home.qml (system widget). | |
| 4 | + | // Parts from glyph-rice (GPL-3.0), home/Home.qml (system widget). | |
| 5 | 5 | Item { | |
| 6 | 6 | id: s | |
| 7 | 7 | property var values: [] | |
| @@ -1,9 +1,8 @@ | |||
| 1 | 1 | import QtQuick | |
| 2 | 2 | import QtQuick.Layouts | |
| 3 | 3 | ||
| 4 | − | // A settings row: label (+ optional hint) and glyph's pill toggle on the right; the whole row is clickable. | |
| 4 | + | // A settings row: label (+ optional hint) and a pill toggle on the right; the whole row is clickable. | |
| 5 | 5 | // The toggle: off = a dark pill with a dim knob on the left, on = the primary fill runs to the right with a dot. | |
| 6 | − | // After glyph-rice (github.com/Nebelung-cloud/glyph-rice, GPL-3.0), prefs/Toggle.qml. | |
| 7 | 6 | Rectangle { | |
| 8 | 7 | id: s | |
| 9 | 8 | property string label: "" | |
| @@ -52,7 +52,6 @@ Singleton { | |||
| 52 | 52 | Timer { interval: 1000; running: true; repeat: true; triggeredOnStart: true; onTriggered: root.sample() } | |
| 53 | 53 | ||
| 54 | 54 | // ---- details for the calendar dashboard: sampled every 2s, only while `detailed` (CalPopup sets it while open) ---- | |
| 55 | − | // After glyph-rice (github.com/Nebelung-cloud/glyph-rice, GPL-3.0), services/SysStats.qml. | |
| 56 | 55 | property bool detailed: false | |
| 57 | 56 | property var cores: [] // 0..1 per thread | |
| 58 | 57 | property real cpuTemp: 0 // °C, 0 = no sensor found | |
| @@ -3,7 +3,7 @@ import QtQuick | |||
| 3 | 3 | import Quickshell | |
| 4 | 4 | import Quickshell.Io | |
| 5 | 5 | ||
| 6 | − | // The design system: Nothing OS's shapes, dots and type (after glyph-rice) in Android Material You colours from matugen | |
| 6 | + | // The design system: Nothing OS's shapes, dots and type in Android Material You colours from matugen | |
| 7 | 7 | // (~/.cache/matugen/aurora.json, written by Wall.apply/recolor, hot-reloaded), plus fonts, motion and all icon glyphs. | |
| 8 | 8 | Singleton { | |
| 9 | 9 | id: root | |
| @@ -19,15 +19,15 @@ Singleton { | |||
| 19 | 19 | readonly property bool barVertical: Settings.barLayout === "vertical" // docked at the left edge instead of the top | |
| 20 | 20 | readonly property int barSize: barVertical ? Math.max(48, Settings.barWidth) : Math.max(32, Settings.barSize) // its thickness | |
| 21 | 21 | readonly property bool barFloat: Settings.barFloat // a floating pill instead of a strip along the edge | |
| 22 | − | readonly property int barGap: barFloat ? 14 : 0 // the pill's distance from the screen edges (glyph-rice) | |
| 23 | − | // ... and from the windows: glyph's 14 too, there it is Hyprland's gaps_out; here only the part gaps_out doesn't cover | |
| 22 | + | readonly property int barGap: barFloat ? 14 : 0 // the pill's distance from the screen edges | |
| 23 | + | // ... and from the windows: 14 too, minus what Hyprland's gaps_out already covers | |
| 24 | 24 | readonly property int barInner: barFloat ? Math.max(0, barGap - (HyprConf.values["general:gaps_out"] || 0)) : 0 | |
| 25 | 25 | readonly property int barSpan: barSize + barGap + barInner // the bar window, across the bar | |
| 26 | 26 | readonly property int barTop: barVertical ? 0 : barSpan // what the bar reserves at the top | |
| 27 | 27 | readonly property int barLeft: barVertical ? barSpan : 0 // ... and at the left | |
| 28 | 28 | readonly property real barAlpha: Settings.barAlpha | |
| 29 | 29 | ||
| 30 | − | // ---- motion: ease-out-quart without overshoot (glyph's "glide"); Settings.motion off = instant ---- | |
| 30 | + | // ---- motion: ease-out-quart without overshoot ("glide"); Settings.motion off = instant ---- | |
| 31 | 31 | readonly property bool motion: Settings.motion | |
| 32 | 32 | readonly property int t: motion ? 350 : 0 | |
| 33 | 33 | readonly property var glide: [0.25, 1, 0.5, 1, 1, 1] | |
| @@ -2,7 +2,7 @@ import QtQuick | |||
| 2 | 2 | ||
| 3 | 3 | // Round toggle with a caption under it (control panel). Off = dark circle, on = white circle with a black icon, | |
| 4 | 4 | // live = the accent circle (recording). Right click = menu (`picked` = its options are open: caption turns white). | |
| 5 | − | // Ported from glyph-rice (github.com/Nebelung-cloud/glyph-rice, GPL-3.0), quick/Quick.qml (Tile). | |
| 5 | + | // Parts from glyph-rice (GPL-3.0), quick/Quick.qml (Tile). | |
| 6 | 6 | Column { | |
| 7 | 7 | id: tile | |
| 8 | 8 | ||
| @@ -2,7 +2,7 @@ import QtQuick | |||
| 2 | 2 | ||
| 3 | 3 | // Wide pill toggle (Wi-Fi, Bluetooth). On = white with black text, icon in a circle, name over a caps sub line. | |
| 4 | 4 | // Click = toggle (`clicked`); the chevron or a right click = details (`menu`). | |
| 5 | − | // Ported from glyph-rice (github.com/Nebelung-cloud/glyph-rice, GPL-3.0), quick/Quick.qml (Pill). | |
| 5 | + | // Parts from glyph-rice (GPL-3.0), quick/Quick.qml (Pill). | |
| 6 | 6 | Rectangle { | |
| 7 | 7 | id: pill | |
| 8 | 8 | ||
| @@ -8,7 +8,7 @@ import Quickshell.Wayland | |||
| 8 | 8 | // a card at the bottom holds folder chips, the look (mono dots / colour dots / photo), the filter and the thumbnails. | |
| 9 | 9 | // Vim-style: the grid has the keyboard (hjkl/arrows move, g/G first/last, ctrl+d/u page), `/` searches (enter keeps the | |
| 10 | 10 | // filter, esc clears it), `v` cycles the look, Tab / Shift+Tab the folders. Enter / double-click applies (stays open to | |
| 11 | − | // try a few), Esc / q or a click on the preview closes. After glyph-rice (github.com/Nebelung-cloud/glyph-rice, GPL-3.0), wall/Walls.qml. | |
| 11 | + | // try a few), Esc / q or a click on the preview closes. | |
| 12 | 12 | PanelWindow { | |
| 13 | 13 | id: win | |
| 14 | 14 | property bool opened: false | |
| @@ -4,7 +4,7 @@ import QtQuick | |||
| 4 | 4 | // "colour" = dots in the image's own colours, "photo" = the plain image. A new path arrives as a wave from `origin`; | |
| 5 | 5 | // two images take turns (the shown one and the incoming one), the old one is unloaded after the wave. | |
| 6 | 6 | // An empty path = transparent (the dot grid shows through). `opaque` = the image covers everything. | |
| 7 | − | // Ported from glyph-rice (github.com/Nebelung-cloud/glyph-rice, GPL-3.0), components/Wall.qml. | |
| 7 | + | // Parts from glyph-rice (GPL-3.0), components/Wall.qml. | |
| 8 | 8 | Item { | |
| 9 | 9 | id: root | |
| 10 | 10 | ||
| @@ -7,7 +7,6 @@ import Quickshell.Io | |||
| 7 | 7 | // restart shows the last one at once. Place = Settings.weatherLoc: "" = by IP (ipinfo.io), "lat,lon", or a place name | |
| 8 | 8 | // (open-meteo geocoding). Offline / overloaded -> retry in 2 min. QML timers stand still during suspend, so the popup | |
| 9 | 9 | // calls poke() on open to catch up. | |
| 10 | − | // After glyph-rice (github.com/Nebelung-cloud/glyph-rice, GPL-3.0), services/Weather.qml. | |
| 11 | 10 | Singleton { | |
| 12 | 11 | id: root | |
| 13 | 12 | readonly property string cacheFile: Quickshell.env("HOME") + "/.cache/aurora/weather.json" | |
| @@ -6,7 +6,6 @@ import Quickshell.Hyprland | |||
| 6 | 6 | // A row, or a column in the vertical bar. Active = a long pill (primary on the focused monitor, grey on the others), | |
| 7 | 7 | // occupied = grey dot, empty = dim dot, | |
| 8 | 8 | // urgent = the live colour. Click = go there, wheel = the next / previous occupied one. | |
| 9 | − | // After glyph-rice (github.com/Nebelung-cloud/glyph-rice, GPL-3.0), bar/Bar.qml. | |
| 10 | 9 | Grid { | |
| 11 | 10 | id: ws | |
| 12 | 11 | spacing: 6 | |
| @@ -1,5 +1,5 @@ | |||
| 1 | 1 | #version 440 | |
| 2 | − | // Dot mask, ported from glyph-rice (github.com/Nebelung-cloud/glyph-rice, GPL-3.0). | |
| 2 | + | // Dot mask. Parts from glyph-rice (GPL-3.0). | |
| 3 | 3 | // Turns an item into a matrix of LED dots. Each dot takes the colour at the centre of its cell, so every dot has the | |
| 4 | 4 | // same size and an even tone, like the Glyph lights on the back of the phone. Luminance only: the result is monochrome. | |
| 5 | 5 | // Rebuild after editing: qsb --qt6 -o dots.frag.qsb dots.frag (qt6-shadertools) | |
| @@ -1,5 +1,5 @@ | |||
| 1 | 1 | #version 440 | |
| 2 | − | // Wallpaper, ported from glyph-rice (github.com/Nebelung-cloud/glyph-rice, GPL-3.0). | |
| 2 | + | // Wallpaper. Parts from glyph-rice (GPL-3.0). | |
| 3 | 3 | // The image as a matrix of LED dots (dots 1) or as a photo (dots 0); mono 1 = in the theme's tone (lo..hi), 0 = own colours. | |
| 4 | 4 | // A change runs as a wave from origin: each cell decides as a whole, srcA before the front, srcB behind it. On the crest a | |
| 5 | 5 | // cell is always a dot that swells and brightens, so the photo dissolves into the matrix and comes back as the new one. | |