package ccbg

  1. Overview
  2. Docs
Wallpaper utility for Wayland

Install

Dune Dependency

Authors

Maintainers

Sources

0.1.tar.gz
sha256=1768d5e8a75b0705f86c048453548ebf8f70c322e648f620dfd0c59c0f458662
sha512=3e2dc5082de7de80ca0566376424453d6dc2adff3baae8a97cb46bb67d29d38235eca7d17c8ecd26bdb6f3ed666fd3d7ea6e0f8d3f187944c8d0c8481c9fb221

Description

Ccbg is an OCaml executable to manage wallpapers in Wayland, using swaybg.

README

ccbg

ccbg is an OCaml executable to manage wallpapers in Wayland, using swaybg.

Installation

ccbg can be installed with opam:

opam install ccbg

If you don't have opam, you can install it following the how to install opam guide.

If you can't or don't want to use opam, consult the opam file for build instructions.

Quickstart

In your sway configuration file, add the following:

exec ccbg

It'll start ccbg automatically with sway.

By default, ccbg will change your wallpaper every minute, display them using the fill mode of swaybg and look for images in the directory XDG_PICTURES_DIR set in ${XDG_CONFIG_HOME:-~/.config}/user-dirs.dirs

You can overwrite this by writing a configuration file for sun in ${XDG_CONFIG_HOME:-~/.config}/sun/sun.scfg with the following content:

interval 600
mode center
wallpaper_dir /home/tedkaczynski/img/wallpaper

If you set interval to 0, ccbg won't regularly change your wallpaper.

About

Dependencies (6)

  1. scfg >= "0.2"
  2. fpath
  3. directories
  4. bos >= "0.2.0"
  5. ocaml >= "4.13"
  6. dune >= "2.9"

Dev Dependencies (1)

  1. odoc with-doc

Used by

None

Conflicts (2)

  1. rresult < "0.7"
  2. result < "1.5"
OCaml

Innovation. Community. Security.