Commit Graph

88 Commits

Author SHA1 Message Date
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
Vaxry 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
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
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
Vaxry cdec32da63 config: do not require config file
fixes #109
2023-12-14 19:56:49 +00:00
Vaxry 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
vaxerski 654647f7b3 internal: gather monitor size in mode 2023-04-09 19:05:43 +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
2e0byo 61961973cf
feat: be case-insensitive about suffixes. (#44)
Unfortunately many cameras/mobiles still use ALL_CAPS.
2023-03-15 15:19:16 +00: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 0c2386861a add --no-fractional arg 2023-01-29 16:42:26 +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
vaxerski 1a147160cf fix crashes with removing outputs 2023-01-29 13:03:42 +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
Anton Samokhvalov e1b293aedf
Update ConfigManager.cpp (#30) 2023-01-04 22:50:01 +01:00
Seyfullah Gündoğdu 885212dedc
Trim support for wallpaper path. (#29)
* Trim support for wallpaper path.
2023-01-03 13:09:20 +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