Skip to content
seipassPublic

About

HaDE (Hasilan's Desktop Environment) — Material Design 3 Expressive Hyprland (Lua) & Quickshell dotfiles

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

63 Commits

Folders and files

Repository files navigation

HaDE Logo

HaDE

Hasilan's Desktop Environment

A wallpaper-reactive Material Design 3 Expressive desktop built from scratch in QML, Python, and Hyprland Lua — zero waybar, zero wl-clipboard, zero external color generators.

OS WM Shell Design License

Gallery · Highlights · Installation · Keybindings · IPC & Extending · Dependencies


HaDE Hero Desktop Showcase

HaDE running on Arch Linux & Hyprland (0.57.2) — Dynamic Island with P2PQuake monitor, left rail & taskbar, AI Quota HUD, and blurred floating kitty terminals synced to the live wallpaper palette.


Gallery

Full-Screen Views

Quick Tools and Notifications Drawer
Quick Tools & Notifications
Slide-over shell/rice hub (Colors, Wallpapers, Top Bar, Capture, Audio/Brightness, MPRIS player) & live notification center.
M3 App Launcher and Command Palette
M3 Launcher & Inline Tools
Keyboard-driven app launcher, emoji search, and live /calc, /time, /color, /qr, /weather, and /web commands.
System Settings Fastfetch M3 About Page
System Settings — Fastfetch × Material 3 About
Unix-porn-inspired hardware & rice overview featuring live hwmon temps, load/RAM/root telemetry, monitor topology cards, clickable live palette swatches, and one-click fetch copy.

Component Spotlight

Expanded Dynamic Island Dashboard
Dynamic Island Dashboard
Expanded pill with P2PQuake alert strip, weather, volume slider, MPRIS artwork player, interactive calendar, and live CPU/RAM/Disk meters.
Multi-Provider AI Quota Indicator
Multi-Provider AI Usage HUD
Live 5h/7d quota tracking and Reset Bank credits across Codex, Antigravity, OpenCode, Claude Code, Mistral, Command Code, and Gemini CLI.
Image and Text Clipboard Popup
Wayland Image + Text Clipboard
Cursor-side popup powered by pure-Python ext_data_control_v1 with live image thumbnails, format/dimension badges, search, and text history.
Notification Center Drawer
Notification Center
Grouped notification history with Do Not Disturb toggle and quick dismiss/clear actions.

Highlights

Dynamic Material You Palette Sync

Pick a wallpaper in Quick Tools → Wallpapers (or select Sakura Pink, Sky Blue, Forest Green, or Wallpaper Auto) and apply-palette.py computes a cohesive Material Design 3 dark surface & accent palette in pure Python stdlib (colorsys) — then pushes it live across your entire desktop:

flowchart LR
    W["Wallpaper / Preset"] --> P["apply-palette.py --sync-desktop"]
    P --> QS["Quickshell (LivePalette.qml)"]
    P --> HY["Hyprland active border (hyprctl eval)"]
    P --> KT["Kitty (shell-palette.conf)"]
    P --> GT["GTK 3 & GTK 4 (shell-palette.css + gsettings)"]
    P --> QT["Qt 6 (qt6ct shell-live.conf)"]
    P --> FC["Fcitx 5 (shell-live theme reload)"]
Loading

No external matugen, pywal, or wallust setup required.


Custom Quickshell Architecture (main)

  • Dynamic Island (DynamicIsland.qml):

    • Top-center pill that smoothly morphs into expanded drawers using M3 Shared Axis / Emphasized easing curves.
    • Built-in Left Slot Modes:
      • Music & Active Window (IslandMusic.qml): MPRIS track & playback state.
      • Real-time Earthquake Monitor (IslandEarthquake.qml, EarthquakePanel.qml, earthquake-ws.py): Powered by the P2PQuake API (codes=551), featuring a zero-dependency RFC 6455 WebSocket client (LIVE badge) or configurable interval polling (30s, 1m, 5m), plus JMA seismic intensity badges.
      • Custom QML Slot (ISLAND-EXTENSIONS.md): Drop in your own 165×32 QML widget from Quick Tools → Top Bar (includes VM600PEBattery.qml as a real hardware plugin example).
  • Cursor-Side Wayland Clipboard (Super + V):

    • clipboard-daemon.py speaks Wayland ext_data_control_v1 (with zwlr_data_control_manager_v1 fallback) directly over Unix domain sockets in pure Python — no wl-clipboard or cliphist needed.
    • Captures both text and images (PNG, WebP, JPEG, GIF, BMP) with inline thumbnails, image dimensions, file size badges, SHA-256 deduplication, search filtering, keyboard navigation (↑ ↓ Enter Esc), and one-click re-offering to the Wayland selection.
  • Multi-Provider AI Usage HUD (QuotaBadge.qml, ai-usage.py):

    • Top-right status pill tracking session/weekly usage across Codex CLI (app-server + reset credit bank), Antigravity, OpenCode, Claude Code, Mistral, Gemini CLI, and Command Code, with auto-detection or manual provider pinning.
  • Raycast-Style Launcher (Super + Space) & Utilities (launcher-tools.py):

    • Fuzzy app search, right-click pin/unpin to left taskbar, Emoji picker (Super + .), and live / utilities:
    Command Example Result
    /calc /calc 2pi + sqrt(9) Safe AST math evaluator (sin, cos, tan, log, ln, pi, tau)
    /time /time tokyo to london · /time 23:30 + 2h - 15m Timezone conversion & clock duration arithmetic
    /color /color #b6c8e2 · /color rgb(182, 200, 226) Converts between HEX, rgb(), and hsl() with live swatch preview
    /qr /qr https://github.com/seipass/dotfiles Offline SVG QR code generation directly in the launcher
    /weather /weather Tokyo 3-day forecast via wttr.in
    /web /web hyprland lua rules Opens DuckDuckGo search in your browser
  • Clean Separation: Quick Tools vs System Settings:

    • Quick Tools (SidebarTools.qml): Your dotfiles & daily hub — Colors, Wallpapers, Dynamic Island mode, Bar toggles, Weather city search (Open-Meteo Geocoding), Screen Capture/OCR/Translate, Window overview (ScreencopyView live thumbnails), Focus Timer & Notes, Clipboard, plus mini Network/Bluetooth/Silent/Media/Volume/Brightness controls.
    • System Settings (SettingsWindow.qml): OS & hardware panel — Wi-Fi (nmcli), Bluetooth (bluetoothctl), PipeWire audio (wpctl), DDC/CI & backlight (monitor-brightness.py), Maintenance (htop, journalctl, checkupdates, shell reload), and the Fastfetch × M3 About page (SystemAbout.qml + system-info.py).
  • Accessible Power Menu (PowerMenu.qml):

    • Full-width, high-contrast Shutdown hero button with two-step safety confirmation, keyboard focus navigation (Tab / arrows / Enter / Space / Esc), Reboot, Suspend, and Hyprland Logout.

Afterglow SDDM Theme (Qt6)

Located at .local/share/sddm/themes/afterglow — a matching Material Design 3 greeter with customizable theme.conf color tokens, user quick-select chips, show/hide password toggle, session switcher, power buttons, and Esc to exit cleanly in --test-mode.


Installation

1. Install Dependencies (Arch Linux)

Core stack (verified on a live setup):

sudo pacman -S --needed \
  hyprland quickshell kitty pipewire wireplumber \
  networkmanager network-manager-applet bluez-utils \
  qt6ct qt6-declarative qt6-svg qt6-5compat \
  xdg-desktop-portal xdg-desktop-portal-hyprland xdg-desktop-portal-gtk \
  python python-dbus glib2 curl grim slurp flameshot htop dolphin wofi \
  breeze-icons adwaita-icon-theme noto-fonts-cjk noto-fonts-emoji

Optional packages (enable extra Quick Tools / Maintenance features if present):

sudo pacman -S --needed \
  fcitx5 fcitx5-mozc \
  playerctl ddcutil brightnessctl pavucontrol \
  tesseract tesseract-data-eng pacman-contrib sddm

Also install Ioskeley Mono Term (or set your preferred monospace font in kitty.conf, qt6ct.conf, and Theme.js). Doto and Google Sans Flex are bundled under SIL OFL 1.1.

2. Clone & Install

git clone https://github.com/seipass/dotfiles.git ~/dotfiles
cd ~/dotfiles

./install.sh --dry-run   # preview every action safely first
./install.sh             # backs up existing configs to ~/.local/state/dotfiles-backup-*

To also install the Afterglow SDDM theme into /usr/share/sddm/themes/afterglow:

./install.sh --with-sddm

Then enable it in /etc/sddm.conf.d/afterglow.conf:

[Theme]
Current=afterglow

3. Post-Install Adjustments

  1. Monitor Layout: Edit hl.monitor(...) outputs (DP-3, HDMI-A-1, DP-2) in ~/.config/hypr/hyprland.lua to match hyprctl monitors.
  2. Keyboard Layout: Update kb_layout = "jp" in ~/.config/hypr/hyprland.lua if you use another layout (e.g. "us").
  3. Typography (Doto vs Ndot 55): By default, HaDE renders display headings with the bundled open-source Doto font. If you happen to have Ndot 55 installed locally on your system, Theme.js and Afterglow Main.qml automatically detect and prefer it without modifying a single line of config.

Keybindings

Defined in .config/hypr/hyprland.lua:

Keybind Action
Super + Return Launch kitty
Super + Space Toggle M3 Launcher (/calc, /time, /color, /qr, /weather, /web)
Super + . Open Emoji Picker
Super + V Toggle Cursor-Side Clipboard History (Text & Images)
Super + Shift + V Toggle active window floating
Super + Shift + S Screenshot active pointer monitor with Flameshot (flameshot-screen.py)
Super + F Toggle fullscreen
Super + Q / Super + C Close active window
Super + E Open file manager (dolphin)
Super + R Open wofi
Super + P / Super + J Pseudo-tile / Toggle split
Super + S / Super + Alt + S Toggle / move window to scratchpad (special:magic)
Super + Arrows Move window focus
Super + [0-9] / Shift + [0-9] Switch to / move window to workspace 1–10
Super + LMB / Super + RMB Drag / resize floating or tiled windows
XF86Audio* / XF86MonBrightness* PipeWire volume (wpctl), backlight (brightnessctl), media (playerctl)

IPC & Extending

Inspect or script the running shell via Quickshell IPC:

qs ipc --config main call launcher toggle
qs ipc --config main call launcher emoji
qs ipc --config main call clipboard toggle
qs ipc --config main call settings openPage 4          # 0:Net 1:BT 2:Sound 3:Maint 4:About
qs ipc --config main call quickTools_HDMI-A-1 toggle   # replace HDMI-A-1 with your output
qs ipc --config main call alerts_HDMI-A-1 toggle
qs ipc --config main call palette select pink          # auto | pink | blue | green

To build your own left-slot Dynamic Island widget, read ISLAND-EXTENSIONS.md and reference VM600PEBattery.qml.


Directory Structure

.
├── .config/
│   ├── fcitx5/conf/classicui.conf
│   ├── gtk-3.0/               # gtk.css, settings.ini, shell-palette.css
│   ├── gtk-4.0/               # gtk.css, settings.ini, shell-palette.css
│   ├── hypr/                  # hyprland.lua, flameshot-screen.py, generated-accent
│   ├── kitty/                 # kitty.conf, shell-palette.conf
│   ├── qt6ct/                 # qt6ct.conf, colors/shell-live.conf
│   ├── quickshell/main/       # M3 QML components, Dynamic Island & Python helpers
│   ├── user-dirs.dirs
│   └── user-dirs.locale
├── .local/share/
│   ├── fcitx5/themes/         # caelestia-shell & shell-live Fcitx5 themes
│   └── sddm/themes/afterglow/ # M3 Qt6 SDDM theme & theme.conf
├── assets/                    # HaDE brand logo mark & app icon (SVG)
├── screenshots/               # Showcase captures
├── install.sh                 # Backup-safe installer (--copy / --link / --with-sddm)
├── LICENSE
└── README.md

Credits & Licensing

  • HaDE original QML, Lua, Python, and shell scripts are licensed under the MIT License.
  • Doto.ttf: SIL Open Font License 1.1 — The Doto Project Authors (Doto-OFL.txt).
  • GoogleSansFlex.ttf: SIL Open Font License 1.1 — The Google Sans Flex Authors (OFL.txt).
  • codex-badge.svg: Mozilla Public License 2.0 (codex-badge-LICENSE).
  • launcher-data/: Bundled emoji dataset & pure-Python QR encoder (emoji-LICENSE, qrcode-LICENSE).

About

HaDE (Hasilan's Desktop Environment) — Material Design 3 Expressive Hyprland (Lua) & Quickshell dotfiles

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages