Compare commits

..

2 commits

Author SHA1 Message Date
Emma Nora Theuer
03596e0423 Improve clarity 2024-06-04 03:30:47 +02:00
Emma Nora Theuer
e3a3cd2077 Update to reflect changes in README.org 2024-06-04 03:29:58 +02:00
2 changed files with 51 additions and 48 deletions

View file

@ -28,13 +28,14 @@ Wallman currently has three main features:
** Installing with package Manager ** Installing with package Manager
*** Gentoo *** Gentoo
This program, as of now, can be installed very easily on gentoo. Just follow these instructions This program, as of now, can be installed very easily on gentoo. Just follow these instructions:
#+BEGIN_SRC shell #+BEGIN_SRC shell
git clone https://git.entheuer.de/emma/Wallman.git git clone https://git.entheuer.de/emma/Wallman.git
doas eselect repository create wallman doas eselect repository create wallman
doas cp -rf Wallman/distfiles/Gentoo/wallman /var/db/repos/ doas cp -rf Wallman/distfiles/Gentoo/wallman /var/db/repos/
doas emerge -av wallman doas emerge -av wallman
#+END_SRC #+END_SRC
A proper portage overlay will be created soon so that updates can be handled automatically.
*** Arch Linux *** Arch Linux
Support for Arch Linux will be added soon. Support for Arch Linux will be added soon.

View file

@ -1,38 +1,38 @@
# Table of Contents # Table of Contents
1. [Overwiev](#org2f278b8) 1. [Overwiev](#org054ef0d)
1. [What is this?](#org388817f) 1. [What is this?](#orgbf4dad3)
2. [What can it do?](#org181b8b7) 2. [What can it do?](#orgdf86200)
2. [Installation](#org9472446) 2. [Installation](#orge115851)
1. [Depedencies](#org5977b9f) 1. [Depedencies](#org1c920d8)
1. [Always Required](#org3f4fbec) 1. [Always Required](#org5a03048)
2. [Optional](#org66e727c) 2. [Optional](#org2bb7a20)
3. [Build dependencies](#org818620a) 3. [Build dependencies](#orgbdbc04d)
2. [Installing with package Manager](#orgb41bd96) 2. [Installing with package Manager](#org3f3b4a9)
1. [Gentoo](#org135d2b8) 1. [Gentoo](#orgcfe6102)
2. [Arch Linux](#org1d65d77) 2. [Arch Linux](#org4adff79)
3. [Others](#org32866d5) 3. [Others](#orgdcb0d42)
3. [Installing with pip](#org59bd85f) 3. [Installing with pip](#org41ac4c9)
4. [Installing manually](#orgf93bb3e) 4. [Installing manually](#org88055b7)
3. [Configuration](#orgd8c9052) 3. [Configuration](#orgc0a8c31)
1. [TOML Dictionaries](#org059100a) 1. [TOML Dictionaries](#orgc09a1b5)
1. [general](#orge724ab7) 1. [general](#org8297129)
2. [changing<sub>times</sub>](#orgac9b284) 2. [changing<sub>times</sub>](#org5f9734c)
3. [The other dictionaries](#org2f91798) 3. [The other dictionaries](#org4d41b53)
4. [TODOs](#orgab8e139) 4. [TODOs](#org9f0b1f0)
1. [Structuring](#orga5d5528) 1. [Structuring](#org036190c)
2. [Technical Details](#org8559da1) 2. [Technical Details](#org35cda78)
3. [Features](#org5a7f88b) 3. [Features](#org8250c51)
<a id="org2f278b8"></a> <a id="org054ef0d"></a>
# Overwiev # Overwiev
<a id="org388817f"></a> <a id="orgbf4dad3"></a>
## What is this? ## What is this?
@ -41,7 +41,7 @@ This version is an early Alpha. As of now, it supports the most important featur
As such, please make absolutely sure you follow the instructions on how to write the config file very closely. I will implement better config handling with more meaningful error output in the future. For now, follow everything really closely and read the logs if needed. If you do that, it *should* work. As such, please make absolutely sure you follow the instructions on how to write the config file very closely. I will implement better config handling with more meaningful error output in the future. For now, follow everything really closely and read the logs if needed. If you do that, it *should* work.
<a id="org181b8b7"></a> <a id="orgdf86200"></a>
## What can it do? ## What can it do?
@ -52,17 +52,17 @@ Wallman currently has three main features:
- Settings Wallpapers at a specific time of the day - Settings Wallpapers at a specific time of the day
<a id="org9472446"></a> <a id="orge115851"></a>
# Installation # Installation
<a id="org5977b9f"></a> <a id="org1c920d8"></a>
## Depedencies ## Depedencies
<a id="org3f4fbec"></a> <a id="org5a03048"></a>
### Always Required ### Always Required
@ -71,14 +71,14 @@ Wallman currently has three main features:
- feh (Used for setting the wallpapers, hard dependency) - feh (Used for setting the wallpapers, hard dependency)
<a id="org66e727c"></a> <a id="org2bb7a20"></a>
### Optional ### Optional
- libnotify (for desktop notification support) - libnotify (for desktop notification support)
<a id="org818620a"></a> <a id="orgbdbc04d"></a>
### Build dependencies ### Build dependencies
@ -86,38 +86,40 @@ Wallman currently has three main features:
- build - build
<a id="orgb41bd96"></a> <a id="org3f3b4a9"></a>
## Installing with package Manager ## Installing with package Manager
<a id="org135d2b8"></a> <a id="orgcfe6102"></a>
### Gentoo ### Gentoo
This program, as of now, can be installed very easily on gentoo. Just follow these instructions This program, as of now, can be installed very easily on gentoo. Just follow these instructions:
git clone https://git.entheuer.de/emma/Wallman.git git clone https://git.entheuer.de/emma/Wallman.git
doas eselect repository create wallman doas eselect repository create wallman
doas cp -rf Wallman/distfiles/Gentoo/wallman /var/db/repos/ doas cp -rf Wallman/distfiles/Gentoo/wallman /var/db/repos/
doas emerge -av wallman doas emerge -av wallman
A proper portage overlay will be created soon so that updates can be handled automatically.
<a id="org1d65d77"></a>
<a id="org4adff79"></a>
### Arch Linux ### Arch Linux
Support for Arch Linux will be added soon. Support for Arch Linux will be added soon.
<a id="org32866d5"></a> <a id="orgdcb0d42"></a>
### Others ### Others
I will potentially write a version for nixpkgs and will also bundle wallman as a flatpak. I will potentially write a version for nixpkgs and will also bundle wallman as a flatpak.
<a id="org59bd85f"></a> <a id="org41ac4c9"></a>
## Installing with pip ## Installing with pip
@ -126,7 +128,7 @@ Wallman is available on PyPI. Simply run:
pip install wallman pip install wallman
<a id="orgf93bb3e"></a> <a id="org88055b7"></a>
## Installing manually ## Installing manually
@ -145,21 +147,21 @@ Wallman is available on PyPI. Simply run:
- Profit - Profit
<a id="orgd8c9052"></a> <a id="orgc0a8c31"></a>
# Configuration # Configuration
This is a short guide on how to correctly configure wallman. Look in the sample config for additional context. This is a short guide on how to correctly configure wallman. Look in the sample config for additional context.
<a id="org059100a"></a> <a id="orgc09a1b5"></a>
## TOML Dictionaries ## TOML Dictionaries
First of all, the config file is structured via different TOML dictionaries. There are two TOML dictionaries: general and changing<sub>times</sub> that must be present in every config. Aside from that, further dictionaries are needed depending on how wallman is configured. You need to create a dictionary with the name of each wallpaper set defined in the used<sub>sets</sub> list (more on that later). You should probably just configure wallman by editing the sample config as it is by far the easiest way to do it. First of all, the config file is structured via different TOML dictionaries. There are two TOML dictionaries: general and changing<sub>times</sub> that must be present in every config. Aside from that, further dictionaries are needed depending on how wallman is configured. You need to create a dictionary with the name of each wallpaper set defined in the used<sub>sets</sub> list (more on that later). You should probably just configure wallman by editing the sample config as it is by far the easiest way to do it.
<a id="orge724ab7"></a> <a id="org8297129"></a>
### general ### general
@ -177,14 +179,14 @@ In general, you need to always define 3 variables and you can optionally add two
Wallpaper to be set if an error is found in the config. Defaults to None. If none is set and the config is written incorrectly, a ConfigError is raised and the program is exited. If an error in the config occurs but the fallback wallpaper has been defined, it will be set and wallman will exit with Code 1. Wallpaper to be set if an error is found in the config. Defaults to None. If none is set and the config is written incorrectly, a ConfigError is raised and the program is exited. If an error in the config occurs but the fallback wallpaper has been defined, it will be set and wallman will exit with Code 1.
<a id="orgac9b284"></a> <a id="org5f9734c"></a>
### changing<sub>times</sub> ### changing<sub>times</sub>
The changing<sub>times</sub> dictionary is used to specify the times of the day when your wallpaper is switched. The names of the keys do not matter here, the values must always be strings in the &ldquo;XX:YY:ZZ&rdquo; 24 hour time system. use 00:00:00 for midnight. Note that XX should be in the range of 00-23 and YY and ZZ should be in the range of 00-59. The changing<sub>times</sub> dictionary is used to specify the times of the day when your wallpaper is switched. The names of the keys do not matter here, the values must always be strings in the &ldquo;XX:YY:ZZ&rdquo; 24 hour time system. use 00:00:00 for midnight. Note that XX should be in the range of 00-23 and YY and ZZ should be in the range of 00-59.
<a id="org2f91798"></a> <a id="org4d41b53"></a>
### The other dictionaries ### The other dictionaries
@ -192,12 +194,12 @@ The other dictionaries must always have the names of the wallpaper sets from use
The keys in the dictionary once again do not matter, the names of the keys in each dictionary must be strings and be absolute paths. They should not include spaces unless prefaced by a backslash. The keys in the dictionary once again do not matter, the names of the keys in each dictionary must be strings and be absolute paths. They should not include spaces unless prefaced by a backslash.
<a id="orgab8e139"></a> <a id="org9f0b1f0"></a>
# TODOs # TODOs
<a id="orga5d5528"></a> <a id="org036190c"></a>
## Structuring ## Structuring
@ -205,7 +207,7 @@ The keys in the dictionary once again do not matter, the names of the keys in ea
- Add documentation for developers - Add documentation for developers
<a id="org8559da1"></a> <a id="org35cda78"></a>
## Technical Details ## Technical Details
@ -215,7 +217,7 @@ The keys in the dictionary once again do not matter, the names of the keys in ea
- Drop the feh dependecy and set wallpapers using pywlroots or python-xlib - Drop the feh dependecy and set wallpapers using pywlroots or python-xlib
<a id="org5a7f88b"></a> <a id="org8250c51"></a>
## Features ## Features