Compare commits

..

No commits in common. "03596e04239fe4a687c44c2b11b828548df0ffbe" and "ce24b34eb176da4c5f8500555f5a5e818fe9f9be" have entirely different histories.

2 changed files with 48 additions and 51 deletions

View file

@ -28,14 +28,13 @@ 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](#org054ef0d) 1. [Overwiev](#org2f278b8)
1. [What is this?](#orgbf4dad3) 1. [What is this?](#org388817f)
2. [What can it do?](#orgdf86200) 2. [What can it do?](#org181b8b7)
2. [Installation](#orge115851) 2. [Installation](#org9472446)
1. [Depedencies](#org1c920d8) 1. [Depedencies](#org5977b9f)
1. [Always Required](#org5a03048) 1. [Always Required](#org3f4fbec)
2. [Optional](#org2bb7a20) 2. [Optional](#org66e727c)
3. [Build dependencies](#orgbdbc04d) 3. [Build dependencies](#org818620a)
2. [Installing with package Manager](#org3f3b4a9) 2. [Installing with package Manager](#orgb41bd96)
1. [Gentoo](#orgcfe6102) 1. [Gentoo](#org135d2b8)
2. [Arch Linux](#org4adff79) 2. [Arch Linux](#org1d65d77)
3. [Others](#orgdcb0d42) 3. [Others](#org32866d5)
3. [Installing with pip](#org41ac4c9) 3. [Installing with pip](#org59bd85f)
4. [Installing manually](#org88055b7) 4. [Installing manually](#orgf93bb3e)
3. [Configuration](#orgc0a8c31) 3. [Configuration](#orgd8c9052)
1. [TOML Dictionaries](#orgc09a1b5) 1. [TOML Dictionaries](#org059100a)
1. [general](#org8297129) 1. [general](#orge724ab7)
2. [changing<sub>times</sub>](#org5f9734c) 2. [changing<sub>times</sub>](#orgac9b284)
3. [The other dictionaries](#org4d41b53) 3. [The other dictionaries](#org2f91798)
4. [TODOs](#org9f0b1f0) 4. [TODOs](#orgab8e139)
1. [Structuring](#org036190c) 1. [Structuring](#orga5d5528)
2. [Technical Details](#org35cda78) 2. [Technical Details](#org8559da1)
3. [Features](#org8250c51) 3. [Features](#org5a7f88b)
<a id="org054ef0d"></a> <a id="org2f278b8"></a>
# Overwiev # Overwiev
<a id="orgbf4dad3"></a> <a id="org388817f"></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="orgdf86200"></a> <a id="org181b8b7"></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="orge115851"></a> <a id="org9472446"></a>
# Installation # Installation
<a id="org1c920d8"></a> <a id="org5977b9f"></a>
## Depedencies ## Depedencies
<a id="org5a03048"></a> <a id="org3f4fbec"></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="org2bb7a20"></a> <a id="org66e727c"></a>
### Optional ### Optional
- libnotify (for desktop notification support) - libnotify (for desktop notification support)
<a id="orgbdbc04d"></a> <a id="org818620a"></a>
### Build dependencies ### Build dependencies
@ -86,40 +86,38 @@ Wallman currently has three main features:
- build - build
<a id="org3f3b4a9"></a> <a id="orgb41bd96"></a>
## Installing with package Manager ## Installing with package Manager
<a id="orgcfe6102"></a> <a id="org135d2b8"></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="orgdcb0d42"></a> <a id="org32866d5"></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="org41ac4c9"></a> <a id="org59bd85f"></a>
## Installing with pip ## Installing with pip
@ -128,7 +126,7 @@ Wallman is available on PyPI. Simply run:
pip install wallman pip install wallman
<a id="org88055b7"></a> <a id="orgf93bb3e"></a>
## Installing manually ## Installing manually
@ -147,21 +145,21 @@ Wallman is available on PyPI. Simply run:
- Profit - Profit
<a id="orgc0a8c31"></a> <a id="orgd8c9052"></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="orgc09a1b5"></a> <a id="org059100a"></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="org8297129"></a> <a id="orge724ab7"></a>
### general ### general
@ -179,14 +177,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="org5f9734c"></a> <a id="orgac9b284"></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="org4d41b53"></a> <a id="org2f91798"></a>
### The other dictionaries ### The other dictionaries
@ -194,12 +192,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="org9f0b1f0"></a> <a id="orgab8e139"></a>
# TODOs # TODOs
<a id="org036190c"></a> <a id="orga5d5528"></a>
## Structuring ## Structuring
@ -207,7 +205,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="org35cda78"></a> <a id="org8559da1"></a>
## Technical Details ## Technical Details
@ -217,7 +215,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="org8250c51"></a> <a id="org5a7f88b"></a>
## Features ## Features