Repository navigation
Releases
shady-shell 0.3.0
-
close_on_blurcloses a popup whenever focus leaves it: a click on any
window (the focused one too), on the desktop, or another window taking the
focus, not only the keyboard moving away, so panels without the keyboard
close too. Bars and docks keep their clicks. -
require("settings_app").open([page]): start the Settings app of the
shady-shell that is running, also from a checkout where it is not on PATH. -
The screenshot picker's hint sits on a dark pill, and
marginlifts its
toolbar above a dock. -
The clipboard without wl-copy: through wlr-data-control the shell serves
what it copies (shell.set_clipboard(text or {path=})) and reads what
other clients copy (theclipboardevent,shell.clipboard()), text
and pictures, never a password manager's secrets. -
require("clipboard"): a history of copies kept across restarts, with
pins, and a panel to copy from it again. -
require("dock"): a dock you arrange: pin, unpin and drag applications
into your order (kept in the statefiledock), with a menu for New
window, Close and Move; a rice can restyle it. -
require("screenshot"): a region, window or screen picker that needs
neither grim nor wl-copy; pictures go to~/Pictures/Screenshotsand
the clipboard.shell.screenshot{path=, output=, window=}and
shell.image_cropfor it. -
The Settings app (
shady-settings), from Gloam's, for any rice: a
wallpaper picker with thumbnails, and pages for the dock's pins, the
clipboard's history and quiet hours besides the appearance, windows and
input. -
statefile:watch(fn)for changes made by another process,reload(),
and writes that replace the file at once.toastsfollows quiet hours
turned on elsewhere. -
skew = degrees: a horizontal shear about the widget's centre, so a box
becomes a parallelogram (a slanted tab, a leaning button). It animates
likerotate, and a child with the opposite skew stands upright. -
A drag ends when the pointer leaves the surface. Let go outside it, the
release went elsewhere and the drag stayed on: a slider followed the
pointer when it came back. -
press = {...}: a style a widget wears while the left button holds it
down, overhover. With a spring it is a key that sinks and springs back. -
Spring presets
"pop"(jumps past its target and settles),"jelly"
(wobbles) and"clack"(a key going down and back). -
Text takes
outline = {width, colour}andtext_shadow = {x, y, colour}: a stroke around the glyphs, and a hard shadow shaped like them. -
shell.appsgives each application'sicon: the PNG itsIcon=names
in the hicolor theme orpixmaps. -
require("launches"): which applications are launched, how often and how
lately, for launchers and docks to put the usual ones first. -
Damage tracking counts widgets that ride on an animated parent without
being animated themselves (tape on a card that springs in), so what
sticks out of the parent is repainted too. -
The lockscreen module leaves the fingerprint reader alone with
SHADY_SHELL_OFFLINE=1, so headless runs no longer reach the machine's
real reader. -
Modules without a look, for rices to build their parts on (see
Modules without a look):
machine(sound, light, power, radios, music, load, the session),
lockscreen(typing, PAM, fingerprint, taking a lock over),toasts
(which to show, do-not-disturb, the popup),commands(words published
by the compositor),focus_timer,almanac(calendar, moon, year) and
statefile. WithSHADY_SHELL_OFFLINE=1, as in the headless tests,
machinereads and runs nothing. -
Meridian is built on them and grows the rest of a desktop in its own
terms, its look inmeridian/: instruments on the bar opening a machine
sheet (charge, CPU/memory/disk dials, sound and screen light as lines of
light, Wi-Fi, Bluetooth, do-not-disturb, the playing music, a focus
timer, and Lock, Sleep, Log out, Restart, Power off, the last three
asking first); now playing on the bar; the focus span drawn on the day
line; a month and today's notifications (pinned on the day wave) in the
day sheet, which no longer lists the launcher, Next window and
workspaces; a lock screen with the day as its horizon; an almanac on the
desktop (shell.options.desk = falseremoves it). Keys reach it as the
published valuemeridian.do. -
shell.popup{close_on_blur = true}closes the popup when it loses the
keyboard: a click on a window, or another popup opening. -
tests/run.shno longer reaches the session it is run from: the
outputs test'sshadyctl quitfollowed$SHADY_SOCKETand ended it. -
shady-shell has its own repository, moved out of
Shady with its history. It builds
without the compositor: theshady-shell-v1protocol and the shell plugin
header are owned here, and installed (withshady-shell.pc) for plugins
and compositors built elsewhere. -
Rices are found in
$SHADY_RICE_PATH,$XDG_DATA_HOME/shady/rices,
$SHADY_ROOT/ricesand$XDG_DATA_DIRS/shady/rices, file by file, so a
rice'sshell.luacan be installed by a different package than its
compositor config. -
NixOS:
programs.shady-shell(enable,package,plugins,
lock.fingerprint), which installs the shell and itsshady-lockPAM
services;programs.shady.lock.fingerprintmoved here. -
tests/run.shruns the headless tests against any Shady onPATH. -
shell.canvas: a widget of vector shapes (lines, rectangles, circles,
arcs, SVG-style paths), filled or stroked with colours and gradients, in
pixels or scaled from aviewbox. Shapes are data in the widget tree, so
a canvas is damaged, animated and left alone like any other widget. -
Soft shadows:
shadow = {x, y, colour, blur}blurs the shadow (a glow,
with no offset), and the blur animates.shell.gradient("radial", ...)
runs from the centre of a box to its edges. -
The default UI is redrawn as Meridian: a bar standing on the line of the
day, with a sun on it whose colour, the colour of the hour, lights
whatever is active; a launcher whose query is its headline; a clock sheet
with the day as a wave; cards on soft shadows. It is set in Manrope and
Instrument Serif, installed in the data directory'sfonts.
shell.options.light = falsekeeps the theme's accent at every hour. The
Sans-set pills, the brand tile and the "Shady" wordmark are gone, and
popups keep a transparent margin for their shadows, so their surfaces are
larger than their cards. -
A wallpaper manager,
require("wallpaper"): a rice installs its own
wallpaper (a shader, a view, a plugin's widget, a picture, a folder or a
colour) as the default, and a picture saved as
~/.config/shady/wallpaper.jpg, a folder~/.config/shady/wallpapers,
or a choice made with the newshady-wallpapercommand replaces it,
per output if wanted. Changes show at once, with a cross-fade; choices
last across sessions. The default UI uses it, with no wallpaper of its
own. -
shell.imagereads JPEG and WebP besides PNG (libjpeg and libwebp,
optional at build time), reduces pictures over 8192 pixels, reads a file
again when it changes on disk, and takesfit(fill,cover,
contain,center,tile). A picture drawn at another size is scaled
once, not on every repaint. -
shell.files,shell.stat,shell.watch,shell.image_sizeand
shell.image_formats, for configs that look at files;shell.renderer
("gl"or"shm").
Earlier changes are in Shady's changelog, up to its 0.2.0.
Full Changelog: v0.2.0...v0.3.0