Commit Graph

38 Commits

Author SHA1 Message Date
Vaxry a1277add4b hyprbars: add an option to remove title
fixes #59
2023-12-15 15:46:37 +00:00
Vaxry af229e6aee hyprbars: decrease input drag height by 1 2023-12-14 13:09:12 +00:00
Vaxry d4350bfff7 hyprbars: fixup click position calculations for buttons 2023-12-13 01:35:16 +00:00
Vaxry 340ade398e hyprbars: add configurable padding 2023-12-13 01:29:13 +00:00
Vaxry 3a4b079658 hyprbars: add bar_buttons_alignment
also fixes ellipsize calcs. Fixes #49 fixes #56
2023-12-13 01:13:32 +00:00
Vaxry 8018a2f817 hyprbars: add precedence_over_border
fixes #39
2023-12-13 00:51:21 +00:00
Vaxry ed16998aad hyprbars: add align left 2023-12-13 00:46:12 +00:00
Vaxry 9099c480d8 hyprbars: exclude rounding from geometry calcs 2023-12-11 16:46:45 +00:00
Vaxry 4bb0bf04ed hyprbars: fix workspace offset calculation 2023-11-12 22:45:42 +00:00
Vaxry 69e596af68 hyprbars: make part_of_window configurable
closes #48
2023-11-12 12:46:32 +00:00
Vaxry 2cc193e6dc all: update for hyprland#3800 2023-11-11 14:39:46 +00:00
Vaxry 344e5a145e hyprbars: improve titleBarBox calculations 2023-11-06 16:49:50 +00:00
Vaxry 15cee0bec0 hyprbars: fix for hyprland@#3755 2023-11-04 17:22:55 +00:00
Vaxry 9b1adb6043 hyprbars: cosmetic improvements 2023-11-04 13:31:52 +00:00
Vaxry 69287a4dec hyprbars: update for hyprland@#3739 2023-11-04 13:15:42 +00:00
Vaxry da70bebdf1 hyprbars: don't allow move from clicking the border 2023-10-29 23:26:50 +00:00
Vaxry 69dd204c52 hyprbars: use unscaled size for font calcs 2023-10-29 23:22:29 +00:00
Vaxry f203d69f98 hyprbars: fix dynamic updates of height 2023-10-29 22:57:55 +00:00
Vaxry f46771dd4f hyprbars: add icon support + general improvements 2023-10-29 22:33:14 +00:00
Vaxry 8274e10d51 hyprbars: use window's border func instead of border_size 2023-10-29 18:20:47 +00:00
Vaxry 17defb17e9 hyprbars: use the new keyword infra 2023-10-29 17:33:32 +00:00
Vaxry e7caa01b4f all: fix for hyprland@a61eb769 2023-10-21 14:55:42 +01:00
Vaxry f9578d28d2 hyprbars: fix compile 2023-09-19 11:24:57 +01:00
HaydonBaddock 74a845f1c1
hyprbars: Fix button scaling (#38)
* fixes button scaling

* further scaling fixes
clang formatting
2023-08-17 10:10:33 +02:00
Vaxry 16dc2927bd hyprbars: fix damage region buf 2023-06-26 19:57:47 +02:00
vaxerski 63450e70f2 hyprbars: gen text tex if null 2023-05-14 13:39:43 +01:00
snehrbass e80bf4a44d
Hyprbars: Improve Title Rendering (#16)
* use pangocairo to draw title

* add padding and ellipsis

* add max and close colors to config

* remove snake case, better config variable names

* add pangocairo as a dependency to meson build

* add `buttons:button_size`, adjust for bordersize

* add button_size doc

---------

Co-authored-by: nehrbash <stephen.nehrbass@infinitetactics.com>
2023-05-01 20:02:05 +01:00
vaxerski 274b46c1f7 hyprbars: fix include paths 2023-05-01 02:57:48 +01:00
snehrbass 5c383dc5bc
unregister callback for mouse move (#15)
Co-authored-by: nehrbash <stephen.nehrbass@infinitetactics.com>
2023-04-28 15:27:39 +01:00
vaxerski daab9e07e5 hyprbars: end drag on out of bar 2023-04-18 19:50:09 +01:00
vaxerski 9851a55ae9 hyprbars: fix offset on multimon 2023-04-05 11:18:47 +01:00
vaxerski 3b44ce9725 hyprbars: minor drag fixes 2023-03-16 16:00:59 +00:00
vaxerski 21c277c2f2 hyprbars: minor drag fixes 2023-03-16 15:58:46 +00:00
vaxerski 376e3745b3 Minor fix to dragging 2023-02-28 23:14:49 +00:00
vaxerski 18ebaa7189 Add dragging support 2023-02-28 22:53:49 +00:00
vaxerski 92b6ef6572 Added buttons to hyprbars 2023-02-28 21:59:58 +00:00
vaxerski 39fea62bf4 Fixup for latest hl commits 2023-02-28 21:17:46 +00:00
vaxerski 67786537fa Added hyprbars 2023-02-28 20:30:51 +00:00