Commit graph

111 commits

Author SHA1 Message Date
caffeine
f15e678507
core: conform to output transforms (#224) 2024-12-19 20:58:28 +01:00
0e38c982d7 core: fixup execAndGet not running correctly 2024-12-15 21:58:26 +00:00
4d5b68b7ad core: avoid the use of pop_back on empty string
fixes #222
2024-12-15 21:58:11 +00:00
b17d32fdd2 logging: fix some missed logs 2024-12-15 21:55:41 +00:00
Vaxry
85e850bca3
Core: modernize internals (#219)
* flake.nix: use gcc14Stdenv, update

---------

Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
2024-12-14 16:09:40 +01:00
Vaxry
b3ee62fe4a
Core: Move to hyprgraphics for image parsing (#216)
* move to hyprgraphics

* Nix: add hyprgraphics

---------

Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
2024-11-28 15:56:01 +00:00
Adrià
0b5e350011
core: use C++ streams to load Jpeg and Webp (#214) 2024-11-22 13:18:04 +00:00
Adrià
dbea6cdf0c
core: Add support for JPEG-XL (#212) 2024-11-22 13:17:50 +00:00
gkdwoe
e6e5c471e2
core: add tile as an image mode (#207)
---------

Co-authored-by: gkdwoe <gkdwoe>
2024-10-25 12:29:16 +01:00
Yury Shvedov
e32a2c8d24
config: Fix desc: wallpaper priority (#189)
There was misbehaviour from config. Say, we have next config:
```
...

wallpaper = , /path/to/generic.jpg
wallpaper = DP-1, /path/to/port.jpg
wallpaper = desc:My Monitor, /path/to/desc.jpg

```

Here the `DP-1` and `desc:My Monitor` are different monitors.

_EXPECTED_: The `desc:My Monitor` renders `/path/to/desc.jpg` wallpaper
_ACTUAL_: The `desc:My Monitor` renders `/path/to/generic.jpg` wallpaper

Change-Id: I02c9495524bd620d5a58b9d934b07aded051f6c2
2024-08-12 18:31:02 +01:00
f1f7fc60f5 core: bind to wl_seat v7
ref #187
2024-07-23 00:08:55 +02:00
3cbc90bf94 core: migrate to hyprwayland-scanner
Additionally:
 - format
 - yeet clang-tidy
 - fixup clang-format
2024-07-17 16:25:07 +02:00
f3a6e51d92
Config: use hyprutils helper (#183)
* config: use hyprutils helper

CMake: add version, add hyprutils

* Nix: add hyprutils dep

flake.lock: update

* Nix: add hyprwayland-scanner dep
2024-07-17 16:21:50 +02:00
13fcdd79ef fractional: reload monitor on new fs scale notifs
fixes #181
2024-07-02 18:54:11 +02:00
Mykola Perehudov
f4abf5902f
config: produce error instead fs::exists exceptions (#177) 2024-06-09 09:50:27 +02:00
Barguzin
374d6e2a9d
core: Bitmap image support (#175)
* Add handler "reload" to do a change of wallpaper by one hyprctl execution

* fixed contain parameter handling in "handleReload"

* added bitmap (.bmp) image support

* refactored

* reserve -> resize
2024-06-07 17:19:58 +02:00
Barguzin
2c57525de8
internal: Add handler "reload" to do a change of wallpaper by one hyprctl exec (#173)
* Add handler "reload" to do a change of wallpaper by one hyprctl execution

* fixed contain parameter handling in "handleReload"
2024-05-25 19:40:11 +02:00
03cd362f49 ipc: use XDG_RUNTIME_DIR if available
fixes #169
2024-05-04 22:01:40 +01:00
Vaxry
d50f0eda6c
core: move socket to runtime dir (#167) 2024-04-28 22:25:36 +01:00
XiaowenHu
02ee7ff3bb
core: remove comma from monitor description (#163) 2024-04-12 12:01:36 +01:00
LOSEARDES77
437ac0530b
core: splash_color configuration option (#160) 2024-04-04 20:52:48 +01:00
09c4062659 config: add unload unused 2024-02-27 21:45:28 +00:00
79765e1bdf core: make unload all do what it says 2024-02-27 21:44:11 +00:00
Stephen Toth
dfd3d090dc
core: fix being able to assign a wallpaper to a nonexistent monitor (#141)
clarified README to specifics of the handleWallpaper function
2024-02-25 23:05:58 +00:00
897cf0ae26 config: add explicit ctors for config variables
fixes #139
2024-02-21 16:28:39 +00:00
Stephen Toth
1013a80608
ipc: Added listloaded and listactive requests (#132) 2024-02-05 01:07:31 +00:00
Stephen Toth
ce829bd51d
config: Disable splash message by default (#123)
* Change default value of splash to false

* put splash and ipc options into example config in README
2024-01-04 16:20:47 +01:00
c022069390 ipc: fix ipc with wildcards
fixes #122
2024-01-03 13:47:49 +01:00
122aaa2182 internal: update to hyprlang 0.2.0
fixes #87
2024-01-01 13:34:50 +01:00
75270a9b38 core: fix splash options parsing 2023-12-31 14:06:11 +01:00
39ad021c75 internal: move to libhyprlang for config handling 2023-12-31 01:41:32 +01:00
tobiichi3227
ef0e051255
core: fix build failed in big-endian system (#117)
Close #40
2023-12-25 18:08:13 +01:00
tobiichi3227
f8cab3c370
fix: check if path is empty (#116) 2023-12-23 18:12:34 +01:00
tobiichi3227
ae4f498fda
feat: Add webp support (#113)
* feat: add webp support

* readme: add libwebp dependency

* refactor: move including webp to source file

* style: fix using tab

* style: make const value upper-case

* Nix: add libwebp

---------

Co-authored-by: Mihai Fufezan <fufexan@protonmail.com>
2023-12-21 22:15:05 +01:00
cdec32da63 config: do not require config file
fixes #109
2023-12-14 19:56:49 +00:00
f3837e9d59 surface: set fully opaque 2023-11-26 15:25:38 +00:00
Charbonnier Cylian
d6856adaff
ipc: Allow multiple read from IPC + some refactor (#102)
* Allow multiple read from IPC

* bring back old indentation

* format with clang-format

---------

Co-authored-by: cylian charbonnier <cylian.charbonnier1@gmail.com>
2023-10-23 22:39:38 +01:00
Michał Lewandowski
1c009491b5
render: Always draw a black background first (#100) 2023-10-13 21:23:24 +01:00
MightyPlaza
72735ae635
feat: add splash_offset (#98)
closes: #96
2023-10-08 01:29:15 +01:00
LamprosPitsillos
e5a18a171d
internal: fix dupliacate include of math (#95) 2023-09-13 11:18:29 +01:00
slowsage
5e73eb6055
fix: Read absolute path of symlinks (#90) 2023-08-19 23:28:55 +02:00
Karoline
e498c438b1
internal: Reset hasATarget when issuing wallpaper command (#81)
Fixes issue #74

Co-authored-by: Karoline <boothwhack@users.noreply.github.com>
2023-08-03 13:00:55 +02:00
Lukas Fleischer
9261356bd7
Clear wallpaper from monitor before destroying ouput (#79)
Fixes issue #54.
2023-07-26 10:45:00 +02:00
GoatFoo
5d896893de
Support symlinks (#78) 2023-07-22 18:28:08 +02:00
Ed Younis
ac5f7b038d
Added support for XDG_CONFIG_HOME (#62)
* Added support for XDG_CONFIG_HOME

* Style fixes and null check
2023-07-17 00:44:16 +02:00
XenHat
a1d9ab7584
[RFC] Filetype detection without extension (#77)
* first draft of filetype detection

* Nix: add file dependency

* Fix coding style mistake

* Manually format my code

---------

Co-authored-by: Mihai Fufezan <fufexan@protonmail.com>
2023-06-23 22:33:33 +02:00
vaxerski
cd86c196f3 core: disallow multiple instances of hyprpaper at once 2023-05-29 18:35:41 +02:00
vaxerski
3596630a20 internal: better mutex usage for ticks 2023-05-08 19:07:32 +01:00
vaxerski
66b3ba8d9f internal: allow desc: for monitors 2023-04-26 21:44:51 +01:00
vaxerski
3bfaac09f5 internal: destroy cursor theme on LS destroy 2023-04-16 14:07:37 +01:00