GithubHelp home page GithubHelp logo

git-f0x / cosmic-bg Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pop-os/cosmic-bg

0.0 0.0 0.0 207 KB

License: Mozilla Public License 2.0

Shell 3.36% Rust 87.27% Nix 3.53% Fluent 0.22% Just 5.62%

cosmic-bg's Introduction

cosmic-bg

COSMIC session service which applies backgrounds to displays. Supports the following features:

  • Supports common image formats supported by image-rs
  • 8 and 10-bit background surface layers
  • Use of colors and gradients for backgrounds
  • Per-display background application
  • Wallpaper slideshows that alternate between backgrounds periodically

Dependencies

Developers should install Rust from from https://rustup.rs/.

  • just
  • cargo / rustc
  • libwayland-dev
  • libxkbcommon-dev
  • mold
  • pkg-config

Install

A release build can be generated by running just, and then installed with sudo just install.

If packaging, use the rootdir variable to change the root path, in addition to the prefix: just rootdir=debian/cosmic-bg prefix=/usr install.

To reduce compile times across COSMIC applications, either use sccache, or set CARGO_TARGET_DIR to a shared path and install with sudo -E just install.

Debugging

To get debug logs from the service, first kill the cosmic-bg process a few times in a row to prevent it from being launched by cosmic-session. Then launch it with just run to display backtraces and debug logs in the terminal.

License

Licensed under the Mozilla Public License Version 2.0.

Contribution

Any contribution intentionally submitted for inclusion in the work by you shall be licensed under the Mozilla Public License Version 2.0 (MPL-2.0). Each source file should have a SPDX copyright notice at the top of the file:

// SPDX-License-Identifier: MPL-2.0

cosmic-bg's People

Contributors

wash2 avatar mmstick avatar ids1024 avatar drakulix avatar jackpot51 avatar ahoneybun avatar 13r0ck avatar joshuamegnauth54 avatar wsx-udscbt avatar git-f0x avatar soloturn avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.