Morghulis

Get Started

Configuration

Morghulis is styled with plain GTK CSS. Override Libadwaita's named colors to theme the shell without touching your system-wide GTK theme.

Custom style

Your stylesheet

Create $XDG_CONFIG_HOME/morghulis/main.css (usually ~/.config/morghulis/main.css). It loads at user priority, on top of the built-in style.

Hot reload

Morghulis watches the file. Saving it applies your changes immediately, and creating it loads it without a restart.

Built-in theme

Morghulis ships a black Adwaita style. Turn it off to follow your GTK theme instead:

gsettings set com.arkye.morghulis gtk-theme false

Example

An excerpt of the bundled style. Copy it to main.css and change any value:

:root {
  --accent-bg-color: var(--purple-3);
  --window-bg-color: #000000;
  --window-fg-color: #ffffff;
  --view-bg-color: #1e1e1e;
  --headerbar-bg-color: #1e1e1e;
  --card-bg-color: rgba(255, 255, 255, 0.08);
  --popover-bg-color: #1e1e1e;
  --destructive-bg-color: #a51d2d;
  --success-bg-color: #26a269;
}

Adwaita named colors

  • Window

    --window-bg-color--window-fg-color
  • View

    --view-bg-color--view-fg-color
  • Header bar

    --headerbar-bg-color--headerbar-fg-color
  • Cards

    --card-bg-color--card-fg-color
  • Popovers

    --popover-bg-color--popover-fg-color
  • Accent

    --accent-bg-color--accent-fg-color--accent-color
  • States

    --destructive-bg-color--success-bg-color--warning-bg-color--error-bg-color

Palette colors --blue-1 to --dark-5 are available too:

blue
green
yellow
orange
red
purple
brown
light
dark

Settings

Other options live in GSettings under com.arkye.morghulis. Set them with gsettings set com.arkye.morghulis KEY VALUE.

  • gtk-theme

    Use the bundled black Adwaita style

    default true
  • navbar-anchor

    "top" or "bottom"

    default "bottom"
  • notifications-default-timeout

    Notification popup timeout, in ms

    default 5000
  • osd-timeout

    OSD hide delay, in ms

    default 3000
  • night-light

    Warm color temperature

    default false
  • night-temp

    Night light Kelvin, 2500 to 6500

    default 4000
  • clipboard-max-entries

    Clipboard history size, 1 to 200

    default 50