Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Easiest Shutdown

A tiny, always-in-the-tray Windows/Linux app that shuts down your PC in one click — with a glassy, animated countdown you can still cancel.

Easiest Shutdown overlay

Download

Grab the latest Windows installer from the Mark III release:

Project site: https://diegomarinangeli.github.io/easiest-shutdown/

Why

Right-click → Start menu → Power → Shut down is three clicks too many. Easiest Shutdown sits quietly in the system tray and turns shutting down into a single click: click the tray icon (or just launch the app), watch a 10-second glass countdown ring drain around your avatar, and the PC powers off — unless you press Esc first.

Features

  • Lives in the tray — no taskbar clutter, starts hidden in the background.
  • One click to shut down — left-click the tray icon, or simply launch the executable again while it's already running, and the countdown overlay appears instantly.
  • Click your avatar to shut down right away — skips the 10-second wait entirely.
  • Hibernate button alongside the shutdown countdown.
  • Close all windows — gracefully asks every open app window to close (like right-click → "Close window"), without forcing a shutdown.
  • Restart too — a toggle switches the countdown to reboot instead of shutting down (also available from the tray menu's "Restart" entry).
  • Shows on your main display — the countdown overlay opens on your primary monitor.
  • 10-second countdown with a circular progress ring and a custom round avatar at its center.
  • Cancel anytime by pressing the Esc key.
  • Liquid-glass UI — translucent, blurred, rounded panels throughout.
  • Cross-platform shutdown/restart/hibernate commands: shutdown /s|/r|/h /t 0 on Windows, systemctl poweroff|reboot|hibernate on Linux.

Tech stack

  • Tauri 2 (Rust backend + native webview)
  • Vanilla HTML / CSS / JavaScript frontend — no framework, no bundler
  • tauri-plugin-single-instance to keep a single running instance
  • tauri-plugin-opener

Getting started

Prerequisites

Install

npm install

Run in development

npm run tauri dev

Build a release binary

npm run tauri build

The installer/executable is produced under src-tauri/target/release.

Project structure

src/                  Frontend (HTML/CSS/JS)
  overlay.html          Shutdown countdown overlay
  overlay.js            Countdown logic
  glass.css              Shared "liquid glass" UI styles
  avatar-round.png        Avatar shown inside the countdown ring
src-tauri/            Rust backend (Tauri)
  src/lib.rs             App setup, tray icon, window/event wiring
  src/overlay.rs          Overlay window, shutdown/restart/hibernate commands
  src/window_closer.rs    Win32 "close all windows" (WM_SYSCOMMAND/SC_CLOSE)
  tauri.conf.json         App & window configuration
  icons/                  App icons
docs/                  Project site (GitHub Pages) + README assets

License

All rights reserved.

About

A tiny tray app that shuts down your PC in one click, with a glassy animated countdown you can still cancel.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages