Commit Graph

60 Commits

Author SHA1 Message Date
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
Vaxry f1f7fc60f5 core: bind to wl_seat v7
ref #187
2024-07-23 00:08:55 +02:00
Vaxry 3cbc90bf94 core: migrate to hyprwayland-scanner
Additionally:
 - format
 - yeet clang-tidy
 - fixup clang-format
2024-07-17 16:25:07 +02:00
LOSEARDES77 437ac0530b
core: splash_color configuration option (#160) 2024-04-04 20:52:48 +01:00
Vaxry c022069390 ipc: fix ipc with wildcards
fixes #122
2024-01-03 13:47:49 +01:00
Vaxry 122aaa2182 internal: update to hyprlang 0.2.0
fixes #87
2024-01-01 13:34:50 +01:00
Vaxry 75270a9b38 core: fix splash options parsing 2023-12-31 14:06:11 +01:00
Vaxry 39ad021c75 internal: move to libhyprlang for config handling 2023-12-31 01:41:32 +01:00
Vaxry f3837e9d59 surface: set fully opaque 2023-11-26 15:25:38 +00: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
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
GoatFoo 5d896893de
Support symlinks (#78) 2023-07-22 18:28:08 +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
vaxerski 9a8a5738c6 internal: fix crash on scale change 2023-04-09 18:52:43 +01:00
vaxerski e95b8d59f3 feat: add splash support 2023-04-09 18:47:49 +01:00
vaxerski 756fccfc53 internal: use an epsilon for scale calcs 2023-04-09 18:26:40 +01:00
Vaxry 2bc88dc8c2 fixup contain and wp-fs-v1 impl 2023-02-18 00:47:40 +00:00
cijo7 1d76f4db0d
Fix crashing when setting wallpaper (#41) 2023-02-14 20:27:04 +00:00
vaxerski 44a38bfedc fix wp-fs-v1 impl, adhere to the spec 2023-02-10 12:53:04 +00:00
Vaxry 3e7ba8500f conform to the wp-fs-v1 spec with buffer scale 2023-02-05 11:10:46 +00:00
vaxerski 577c9297c3 remove unused values and fixup log 2023-01-29 16:34:42 +00:00
Vaxry 12f73e1a84 fixup fractional scale impl 2023-01-29 15:30:01 +00:00
vaxerski b8d2b97e13 fractional scaling impl 2023-01-29 14:00:08 +00:00
Anton Samokhvalov f77a664e9d
Fix clang build, second version (#33) 2023-01-15 17:13:29 +01:00
Vaxry 50852e5319 Revert "Update Hyprpaper.cpp (#31)"
This reverts commit 1c19aa2b4f.
2023-01-05 14:39:29 +01:00
Anton Samokhvalov 1c19aa2b4f
Update Hyprpaper.cpp (#31) 2023-01-04 22:53:44 +01:00
Vaxry aefd63876d don't load cursor theme if already loaded 2022-12-28 23:26:58 +01:00
Vaxry 60013ee655
Merge pull request #24 from vilari-mickopf/main
fix crash when XCURSOR_SIZE environment variable is set incorrectly
2022-12-18 22:54:56 +00:00
Filip Markovic be66d710b3 Adjust to match modern c++ style 2022-12-18 22:27:13 +01:00
vaxerski 88d99f9954 fix compile 2022-12-13 14:27:19 +00:00
Filip Markovic 8e544370d9 fix crash when XCURSOR_SIZE environment variable is set incorrectly 2022-12-06 07:14:14 +01:00
vaxerski e5d64c0be9 Handle pointer events 2022-11-18 20:35:33 +00:00
vaxerski 6d3a15f33c allow wildcards for monitors 2022-11-06 22:56:42 +00:00
vaxerski 1f55dda5e2 stop polling in main thread 2022-11-02 21:41:32 +00:00
Enes Hecan 1df6080535 Various improvements considering the modern C++ practices 2022-09-30 18:14:31 +02:00
vaxerski 036bf93bf4 added contain: 2022-08-03 18:06:33 +02:00
vaxerski 9926c0f69e fix ticks not firing 2022-07-31 17:30:14 +02:00
vaxerski c3eba7ea3c performance fixes + disabling ipc 2022-07-31 17:28:37 +02:00
vaxerski f75fcf01d1 fix logic in buffer cleaning 2022-07-18 12:31:20 +02:00
vaxerski 88885b21a9 log more 2022-07-18 12:28:56 +02:00
vaxerski 7220ab216c dont use target ptrs 2022-07-18 12:26:13 +02:00
vaxerski 8a7df4675a added unload 2022-07-17 14:17:54 +02:00
vaxerski 59956ce32a oops 2022-07-17 14:12:03 +02:00
vaxerski 3de17d1636 clean old preloads 2022-07-17 13:59:43 +02:00
vaxerski 2c7927aa5a fix scaling image 2022-07-16 23:03:29 +02:00