Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
578ecd5
Notification center: Today and the notifications (SHELL-SPEC, step 3)
henrikklee Nov 20, 2026
3f64cb7
Merge remote-tracking branch 'origin/main' into notification-center
henrikklee Nov 20, 2026
6202a2e
Notification center: compact in portrait, opaque, scrolls; bottom swi…
henrikklee Nov 20, 2026
61b96cd
Notification center: the lock screen's scrim over the wallpaper
henrikklee Nov 20, 2026
c5a37e8
Notification center: cards as banners; stacks open with a transition
henrikklee Nov 20, 2026
714e36c
Notification center: a stack's shapes fade with its opening
henrikklee Nov 20, 2026
0625566
Notification center: the bottom swipe is its drag; one line under a s…
henrikklee Nov 20, 2026
595065d
Notification center: ready before it opens; grows as it comes
henrikklee Nov 20, 2026
5ea2abe
Notification center and control center: one spring, a small swing
henrikklee Nov 20, 2026
fc879b0
Notification center: the handle moves with the sheet
henrikklee Nov 20, 2026
ebb5ad0
Notification center: no handle drawn
henrikklee Nov 20, 2026
a9b4a46
Notification center: buttons close it, inline reply, arrivals, placeh…
henrikklee Nov 20, 2026
9bdbe2e
Notification center: a group a new message sorts up slides there
henrikklee Nov 20, 2026
a1d1785
Notifications: the launcher's app icons
henrikklee Nov 20, 2026
2138e87
Notification center: the weather fits a phone; the clock turns with t…
henrikklee Nov 20, 2026
4ba4da1
Changelog: the notification center
henrikklee Nov 20, 2026
b7dcae4
Control center: a tap on a phone's empty sheet closes it
henrikklee Nov 20, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@ is missing or empty.
with a reply field where the app offers one, or stacked (Trigger > Toggle >
Stack Notifications). Swipe a banner away, or tap it to open the app.
- The control center opens over the on-screen keyboard and leaves it open.
- A notification center: pull down from the top left or click the clock to
see the weather and all recent notifications, grouped by app. Tap one to
open it, reply where the app offers it, swipe it away, or clear them all.
A swipe up from the bottom puts it, or the control center, away.

## [0.3.2] - 2026-11-19

Expand Down
18 changes: 18 additions & 0 deletions desktop/shell/bin/omarchy-bottom-swipe
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#!/bin/bash

# omarchy:summary=A swipe up from the screen's bottom edge: put the notification center or the control center away, else open the on-screen keyboard
# omarchy:hidden=true

# labwc runs this for the bottom-edge swipe (bottomSwipeCommand). Over the
# notification center and the control center labwc leaves the swipe to
# them (bottomSwipeIgnoreNamespace), so it follows the finger; should it
# still come here over one (an older labwc), it puts that one away. Over an
# app it brings the keyboard up.
runtime="${XDG_RUNTIME_DIR:-/run/user/$UID}"
if [[ -e $runtime/omarchy-notification-center-open ]]; then
exec omarchy-shell omarchy.notificationcenter close
fi
if [[ -e $runtime/omarchy-control-center-open ]]; then
exec omarchy-shell omarchy.controlcenter close
fi
exec omarchy-keyboard show
5 changes: 5 additions & 0 deletions desktop/shell/bin/omarchy-home-button
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ if [[ -e $runtime/omarchy-control-center-open ]]; then
control_center=1
omarchy-shell omarchy.controlcenter close >/dev/null 2>&1 &
fi
# The notification center likewise.
if [[ -e $runtime/omarchy-notification-center-open ]]; then
control_center=1
omarchy-shell omarchy.notificationcenter close >/dev/null 2>&1 &
fi

# In the overview Home goes back to the desktop (omarchy-overview-changed
# keeps the note).
Expand Down
7 changes: 7 additions & 0 deletions desktop/shell/default/i18n/en/shell.json
Original file line number Diff line number Diff line change
Expand Up @@ -534,6 +534,13 @@
"notifications.copyThisCode": "Copy %1",
"notifications.minutesAgo": "%1m",
"notifications.reply": "Reply",
"notificationCenter.title": "Notifications",
"notificationCenter.focusOn": "Focus on",
"notificationCenter.focusOff": "Focus off",
"notificationCenter.clearAll": "Clear all",
"notificationCenter.empty": "No notifications",
"notificationCenter.more": "%1 more",
"notificationCenter.less": "Show less",
"notifications.noneRecent": "No recent notifications",
"notifications.redactedBody": "Code hidden",
"notifications.redactedSummary": "Verification notification",
Expand Down
12 changes: 10 additions & 2 deletions desktop/shell/labwc-rc.xml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,10 @@
<keybind key="W-C-1">
<action name="Execute" command="omarchy-shell omarchy.controlcenter toggle" />
</keybind>
<!-- The notification center beside it. -->
<keybind key="W-C-2">
<action name="Execute" command="omarchy-shell omarchy.notificationcenter toggle" />
</keybind>
<!-- Upstream's module keys: Audio, Bluetooth, Display, Network, Power. -->
<keybind key="W-C-a">
<action name="Execute" command="omarchy-shell shell toggle omarchy.audio" />
Expand Down Expand Up @@ -178,9 +182,13 @@
<action name="Execute" command="omarchy-toggle-bar" />
</keybind>
</keyboard>
<!-- The bottom-edge swipe: over the on-screen keyboard it is typing, over
the notification center or the control center their own drag, which
follows the finger (labwc/0009 takes a list); elsewhere
omarchy-bottom-swipe opens the keyboard. -->
<touch mouseEmulation="no"
bottomSwipeCommand="omarchy-keyboard show"
bottomSwipeIgnoreNamespace="wvkbd" />
bottomSwipeCommand="omarchy-bottom-swipe"
bottomSwipeIgnoreNamespace="wvkbd,omarchy-notification-center,omarchy-control-center" />
<snapping>
<!-- Keep titlebar double-click maximize; top-edge dragging tiles upward. -->
<topMaximize>no</topMaximize>
Expand Down
11 changes: 11 additions & 0 deletions desktop/shell/migrations/1795135939.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
echo "Super+Ctrl+2 opens the notification center"

# A new user's rc.xml has the binding; an existing one gets it before the
# launcher's (Super+Space), unless the key is bound already.
rc="$HOME/.config/labwc/rc.xml"
if [[ -f $rc ]] && ! grep -q 'key="W-C-2"' "$rc" && grep -q '^ <keybind key="W-space">' "$rc"; then
sed '0,/^ <keybind key="W-space">/s## <keybind key="W-C-2">\n <action name="Execute" command="omarchy-shell omarchy.notificationcenter toggle" />\n </keybind>\n <keybind key="W-space">#' "$rc" > "$rc.new"
mv -- "$rc.new" "$rc"
labwc=${LABWC_PID:-$(pgrep -u "$(id -u)" -x labwc | head -1 || true)}
[[ -z $labwc ]] || kill -HUP "$labwc"
fi
12 changes: 12 additions & 0 deletions desktop/shell/migrations/1795136700.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
echo "A swipe up from the bottom puts the notification center away"

# labwc's bottom-edge swipe ran omarchy-keyboard show; omarchy-bottom-swipe
# puts the notification center or the control center away first, else
# opens the keyboard as before.
rc="$HOME/.config/labwc/rc.xml"
if [[ -f $rc ]] && grep -q 'bottomSwipeCommand="omarchy-keyboard show"' "$rc"; then
sed 's/bottomSwipeCommand="omarchy-keyboard show"/bottomSwipeCommand="omarchy-bottom-swipe"/' "$rc" > "$rc.new"
mv -- "$rc.new" "$rc"
labwc=${LABWC_PID:-$(pgrep -u "$(id -u)" -x labwc | head -1 || true)}
[[ -z $labwc ]] || kill -HUP "$labwc"
fi
12 changes: 12 additions & 0 deletions desktop/shell/migrations/1795137309.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
echo "A swipe up from the bottom moves the notification center with the finger"

# labwc leaves the bottom-edge swipe to the notification center and the
# control center (bottomSwipeIgnoreNamespace takes a list since labwc's
# 0009), so it is their own drag rather than the gesture's command.
rc="$HOME/.config/labwc/rc.xml"
if [[ -f $rc ]] && grep -q 'bottomSwipeIgnoreNamespace="wvkbd"' "$rc"; then
sed 's/bottomSwipeIgnoreNamespace="wvkbd"/bottomSwipeIgnoreNamespace="wvkbd,omarchy-notification-center,omarchy-control-center"/' "$rc" > "$rc.new"
mv -- "$rc.new" "$rc"
labwc=${LABWC_PID:-$(pgrep -u "$(id -u)" -x labwc | head -1 || true)}
[[ -z $labwc ]] || kill -HUP "$labwc"
fi
10 changes: 8 additions & 2 deletions desktop/shell/shell/controlcenter/ControlCenter.qml
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,7 @@ Item {
function show() {
root.closePopout()
if (root.shell && root.shell.launcher && root.shell.launcher.opened) root.shell.launcher.close()
if (root.shell && root.shell.notificationCenter && root.shell.notificationCenter.opened) root.shell.notificationCenter.close()
root.prepare()
root.opened = true
root.mapped = true
Expand Down Expand Up @@ -399,6 +400,7 @@ Item {
root.popupStyle = false
if (!root.opened) {
root.closePopout()
if (root.shell && root.shell.notificationCenter && root.shell.notificationCenter.opened) root.shell.notificationCenter.close()
root.prepare()
root.reveal = 0
root.mapped = true
Expand Down Expand Up @@ -447,7 +449,8 @@ Item {
var elapsed = Math.min(frameTime, 0.25)
// Softer going out: it is seen to travel up rather than vanish.
var stiffness = root.springTarget > 0 ? 260 : 195
var damping = 2 * Math.sqrt(stiffness) * (root.springTarget > 0 ? 0.78 : 1.0)
// A touch under critical going in: it lands with a small swing, not a bounce.
var damping = 2 * Math.sqrt(stiffness) * (root.springTarget > 0 ? 0.86 : 1.0)
var steps = Math.max(1, Math.ceil(elapsed / (1 / 240)))
var dt = elapsed / steps
var reveal = root.reveal, velocity = root.springVelocity
Expand Down Expand Up @@ -696,7 +699,10 @@ Item {
? Math.max(0, Math.min(1, (root.reveal - barShare) / (1 - barShare)))
: 1 - Math.pow(1 - Math.max(0, Math.min(1, root.reveal / 0.25)), 2)

MouseArea { anchors.fill: parent } // taps inside never close
// Taps on it never close it; on a phone, where the card is the whole
// screen, only its content counts, and a tap on the empty sheet below
// closes as a tap beside an iPad's card does.
MouseArea { width: parent.width; height: root.phone ? Math.min(parent.height, card.follow) : parent.height }

Column {
id: content
Expand Down
1 change: 1 addition & 0 deletions desktop/shell/shell/launcher/Launcher.qml
Original file line number Diff line number Diff line change
Expand Up @@ -665,6 +665,7 @@ Item {
var bar = root.shell ? root.shell.bar : null
if (bar && bar.activePopout && typeof bar.activePopout.close === "function") bar.activePopout.close()
if (root.shell && root.shell.controlCenter && root.shell.controlCenter.opened) root.shell.controlCenter.close()
if (root.shell && root.shell.notificationCenter && root.shell.notificationCenter.opened) root.shell.notificationCenter.close()
if (root.appLibrary) root.appLibrary.refreshIcons()
if (root.appsStale || root.apps.length === 0) root.rebuild()
// Stop Screenrecording and the session list follow what is true now.
Expand Down
Loading
Loading