Skip to content

earthPerson-001/prophesy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Installation

For gschemas

For GNU/Linux or macOS machines:

  • Copy the schema and compile schemas
mkdir -p $HOME/.local/share/glib-2.0/schemas
cp data/schemas/com.prophesy.gschema.xml $HOME/.local/share/glib-2.0/schemas
glib-compile-schemas $HOME/.local/share/glib-2.0/schemas/
  • Append the directory of glib2.0 to XDG_DATA_DIRS environment variables. Eg: If schemas are present under ~/.local/share/glib-2.0/schemas/

    export XDG_DATA_DIRS=$XDG_DATA_DIRS:$HOME/.local/share/

For Windows machines:

  • Copy the schema and compile schemas
mkdir C:/ProgramData/glib-2.0/schemas/
cp data/schemas/com.prophesy.gschema.xml C:/ProgramData/glib-2.0/schemas/
glib-compile-schemas C:/ProgramData/glib-2.0/schemas/

Additionally, gtk4 libraries are also required.

Note: For svg icons librsvg needs to be installed. (tested via gvsbuild)

Development

Dependencies

gtk4-devel is required. For more details follow gtk-rs book

Checking for errors

cargo check

Building

Debug: cargo build

Release: cargo build --release

Running

With cargo

cargo run

vscode

Configurations are present in .vscode/launch.json .

References

About

Yet Another Battery Monitor

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •