Skip to content

Your trusty omnibox search.

Notifications You must be signed in to change notification settings

a-kenji/centerpiece

 
 

Repository files navigation

Centerpiece

Your trusty omnibox search. This project is currently in a very early state and tailored to my needs and daily workflows.

Screenshot of the applications in its default state.

Features

  • switch between windows in sway
  • open applications
  • open brave browser in app-mode for special bookmarks
  • open local git repositories in a terminal, an editor and a git gui
  • open brave browser bookmarks in a new tab
  • run commands to lock, sleep, restart or shutdown the system
  • display information about cpu, gpu, ram and disks
  • display battery state
  • display date and time

Repository Structure

/client

Contains the graphical application and the plugin code that is needed during runtime. This is most of the plugin code which handles requests for searching and opening of entries.

/services

Computations for generating plugin entries can be time consuming. For example listing all git repositories entails searching your whole home directory for directories with the name .git. To avoid slowing down the graphical application during run time this directory contains code for small systemd services that write indices for plugins with time consuming queries.

Development Setup

Build Environment

The flake.nix provides a ready-to-roll build environment usable with nix develop.

Building the Application

  1. Run a new bash shell containing the build environment

    nix develop
  2. Run the application

    cargo run

About

Your trusty omnibox search.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 94.8%
  • Nix 5.2%