Björn Bidar
79b2f386c8
Replace python based translation with gettext, remove wildcard import
...
Wildcard imports are forbidden or very frowned upon, it is easier for
user and developers to use a translation system such as gettext instead.
Signed-off-by: Björn Bidar <bjorn.bidar@thaodan.de>
2023-10-20 23:50:28 +03:00
Björn Bidar
1dff8bde0b
Skip generating a thumbnail of images that GdkPixbuf coudn't render
...
E.g. in case they use the wrong extension for their real mime type.
Signed-off-by: Björn Bidar <bjorn.bidar@thaodan.de>
2023-10-20 23:50:26 +03:00
Björn Bidar
0bb54963df
Skip zero byte images when generating thumbnails
...
Signed-off-by: Björn Bidar <bjorn.bidar@thaodan.de>
2023-10-20 23:45:57 +03:00
Björn Bidar
296c07491c
Rewrite main to use AboutData, drop arguments
...
Retrieve application meta data from AboutData,
instead of manually writing the version and application name.
Also initialize config class once.
Since the argument parser was only used here drop it,
move to main.
Signed-off-by: Björn Bidar <bjorn.bidar@thaodan.de>
2023-10-20 23:45:57 +03:00
Björn Bidar
fd588c5c34
Make use of platformdirs and AboutData in App
...
Signed-off-by: Björn Bidar <bjorn.bidar@thaodan.de>
2023-10-20 23:45:55 +03:00
Björn Bidar
eb5bfedb95
Rewrite Config class to use AboutData and platformdirs
...
Instead of hardcoding paths use platformdirs for configuration-,
pictures- and cache-directory.
Also instead of creating a global instance, initialize the class
in the constructor, including the creation of all directories we use.
Also it's not required to create the config file if it doesn't exist,
configparser will simply not an emtpy configuration object.
Change default value of wallpaper to be a string, the
config parser later uses a string, if the value is a list as it
was said it doesn't work a list doesn't have a .split() method.
Signed-off-by: Björn Bidar <bjorn.bidar@thaodan.de>
2023-10-20 23:41:13 +03:00
Björn Bidar
059b107445
Add class retrieve metadata from importlib
...
Signed-off-by: Björn Bidar <bjorn.bidar@thaodan.de>
2023-10-16 17:40:22 +03:00
Roman
bf55f79092
Correcting readme
2023-10-14 16:38:11 +09:00
Roman
c721d1c426
Merge pull request #14 from Thaodan/install_data_fixes
...
Install data files, install gui_script
2023-10-14 10:33:12 +03:00
Björn Bidar
f5a190187d
Install icons and desktop files in the correct directories
...
Fixes #10 .
Signed-off-by: Björn Bidar <bjorn.bidar@thaodan.de>
2023-10-13 16:15:07 +03:00
Björn Bidar
569138fe95
Install gui_script instead, Waypaper is a gui app
...
Read below for more:
https://setuptools.pypa.io/en/latest/userguide/entry_point.html#gui-scripts
2023-10-13 00:49:58 +03:00
Roman
9ff12ac07a
Adding translations
2023-10-09 21:05:10 +09:00
Roman
5937e0cd30
Adding ability to translate interface
2023-10-09 20:43:24 +09:00
Roman
a2848fd791
Merge pull request #11 from Rdeisenroth/main
...
Add german translation file
2023-10-09 13:50:59 +09:00
Rdeisenroth
d0000a3f73
add german translation file
2023-10-09 01:04:49 +02:00
Roman
45e10ba8aa
Adding icon and desktop entry
2023-10-02 19:53:19 +09:00
Roman
355f6a9a39
Improving error messages
2023-09-24 23:33:37 +09:00
Roman
ef598e031d
Fix for killall bug on NixOS
2023-09-24 13:25:30 +09:00
Roman
708201e6f5
Adding tooltips
2023-09-13 11:15:26 +09:00
Roman
c4888c91f4
Small adjustment
2023-09-12 11:52:08 +09:00
Roman
0e2e50d47c
Improved mouse scrolling
2023-09-08 10:55:16 +09:00
Roman
5a7b8b52f2
Improved keyboard scrolling
2023-09-08 10:48:25 +09:00
Roman
6950ae214f
Updating readme
2023-09-07 10:49:11 +09:00
Roman
c82c96543b
Implementing saving for multiple monitors
2023-09-05 21:16:43 +09:00
Roman
cded0e8a6e
Fixing feh backend
2023-09-03 22:47:53 +09:00
Roman
b117393242
Fixing Random button
2023-09-03 21:25:41 +09:00
Roman
35e09519de
Improvement of multimonitor support
2023-09-03 21:06:26 +09:00
Roman
afd3415b93
Initial implementation of monitor selection
2023-09-03 11:22:12 +09:00
Roman
e17022a42f
Improve swww transition step
2023-09-03 10:00:11 +09:00
Roman
4375ba86ec
Improving grid calculation
2023-09-01 17:39:06 +09:00
Roman
a01dab1d6b
Implementing Random button
2023-08-31 15:35:25 +09:00
Roman
a3b69a3dd0
Implementing --random argument
2023-08-31 10:44:25 +09:00
Roman
4bff309da4
Improving translation
2023-08-29 15:43:44 +09:00
Roman
b239f7729e
Correction of translations
2023-08-29 15:37:59 +09:00
Roman
362305f2e1
Introducing translations and help
2023-08-29 15:32:21 +09:00
Roman
6082c859dd
Fixing G key
2023-08-29 13:09:20 +09:00
Roman
67b78a12f7
Adding g and G keys
2023-08-29 10:06:59 +09:00
Roman
3ef794af88
Improving keyboard navigation
2023-08-28 21:54:21 +09:00
Roman
7106d6f89b
Implementing keyboard navigation 2
2023-08-28 13:41:19 +09:00
Roman
ef2a2e27d8
Implementing keyboard navigation
2023-08-28 12:24:15 +09:00
Roman
b5b383cef8
Implementing sorting
2023-08-27 12:52:55 +09:00
Roman
bd53bcf001
Improving imports
2023-08-26 12:27:14 +09:00
Roman
60ce8661e2
Adding wallutils backend
2023-08-25 15:36:13 +09:00
Roman
51ab4d9ea9
Updating readme
2023-08-21 00:37:02 +09:00
Roman
09bdfaabbe
Implementing caching
2023-08-20 23:45:49 +09:00
Anufriev Roman
5b886d4caa
Improving loading label
2023-08-20 13:39:12 +09:00
Anufriev Roman
1612537b26
Improving loading label
2023-08-20 02:01:33 +09:00
Anufriev Roman
f2939d87e5
Adding loading screen
2023-08-18 00:05:06 +09:00
Roman
09167893be
Minor fix
2023-08-12 12:56:58 +09:00
Roman
f1bfc14ed0
Minor changes
2023-08-12 12:50:51 +09:00