Commit Graph
32 Commits
Author SHA1 Message Date
Hugo MachetandIsaac Freund 859578873a mailmap: map Hugo's old emails to new one 2024-03-14 11:12:30 +01:00
Hugo MachetandIsaac Freund 81f5b970e6 completions: Add missing completions
Added:
  * close (bash)
  * focus-output args: up right down left (bash,fish,zsh)
  * send-to-output args: up right down left (bash,fish,zsh)
  * default-attach-mode (bash,fish)
  * output-attach-mode (bash,fish)
  Zsh only as I don't know how does it works in other shell and so
  it's still need to be done.
    * send-to-output flags: -current-tag
    * keyboard-layout flags: -rules -model -variant -options
    * [un]map-switch, lid -> close|open and tablet -> on|off

Fixed:
  * rule-add|list-rules actions, rename tag to tags (bash,fish,zsh)

Some descriptions probably need to be changed with new args like up,
right..
2024-03-14 11:12:29 +01:00
Hugo MachetandIsaac Freund f6cc4de884 example/init: Replace light with brightnessctl
Change screen backlight brightness command to brightnessctl(1) as
light(1) repo has been deleted.
2024-03-05 12:05:55 +01:00
Hugo MachetandIsaac Freund 1d40e5a9ab InputConfig: Implement disable while trackpointing 2024-02-20 00:21:15 +01:00
Hugo MachetandIsaac Freund 7f1f9152f2 river: add -no-xwayland cli flag
Add a cli flag to disable xwayland at runtime even if river has been
built with xwayland support.
2024-02-19 17:27:25 +01:00
Hugo Machet ad1e0aa752 completions/zsh: Fix incomplete input names
Input name with ':' in it were not suggested entirely.
2023-10-18 13:23:47 +02:00
Hugo MachetandIsaac Freund de5f21cbb4 completions: Rewrite zsh
- Fix some completions that never really worked correctly, e.g `riverctl
  input` didn't take the input name into account. Same with rule that
  didn't take into account glob.

- Add a lot of documentation to help people adding new commands.

- Add new rule-[add|del] order.

- `riverctl input` now autocomplete input name from `riverctl
  list-inputs`
2023-10-18 12:17:10 +02:00
Hugo MachetandIsaac Freund 8a3530b8a3 View: fix pointer comparison in notifyTitle()
Curently since the struct is semantically passed by value not reference,
there is no guarantee that the `seat_node.data.focused.view == &self`
comparison will work as intended. Since updating to Zig 0.10.0, it seems
this latent bug has now manifested and the focused view title is no
longer sent to the client when it changes.

Fix this by taking the view argument by constant pointer instead.
2023-01-13 14:03:17 +01:00
Hugo MachetandIsaac Freund 088622ec50 ci: Use meson setup command
Using `meson build` without `setup` have been deprecated, fix warning
message:
  'WARNING: Running the setup command as `meson [options]` instead of
  `meson setup [options]` is ambiguous and deprecated.
2023-01-06 15:51:14 +01:00
Hugo Machet aa684aa936 ci: Fix builds manifests
Remove `.git` suffix from river repo in `sources` section as the
suffix make the ci only clone the repo. Without the suffix the ci
checkout the correct commit to build river.

We don't need to remove the suffix from others sources as cloning
the repo and checkout the tag version we want is enough.
2022-03-06 12:01:27 +01:00
Hugo MachetandIsaac Freund d7d0c3cfb9 ci: Update to zig 0.9.1 2022-02-17 19:41:26 +02:00
Hugo MachetandIsaac Freund 89433073d6 command: Remove allocator arg 2022-02-08 13:53:52 +01:00
Hugo MachetandIsaac Freund da59632cea code: Cleanup use of std library for consistancy 2022-02-08 12:02:05 +01:00
Hugo MachetandIsaac Freund 995ae99be5 Mode: Use ArrayListUnmanaged to save memory 2022-02-08 11:56:24 +01:00
Hugo Machet eb8f10a494 ci: Add sourcehut builds
- alpine (musl)
- archlinux (glibc)
- freebsd
2022-02-05 22:34:07 +01:00
Hugo MachetandIsaac Freund a782c6a6f2 Xwayland: Handle minimize request
Fix X11 clients getting stuck minimized, and displaying a black screen
after they lose focus.
2022-01-18 16:14:33 +01:00
Hugo MachetandIsaac Freund 0116dfe96e command/map: Warn users on keybinding overwritten 2022-01-17 18:19:39 +01:00
Hugo MachetandIsaac Freund 0bdf348883 rivertile: Use saturating addition 2022-01-15 00:45:11 +01:00
Hugo MachetandGitHub 9c2e3b6738 docs: update zig version required in readme 2021-12-24 16:41:59 +00:00
novakaneandIsaac Freund e59c2a73d7 river: implement xdg-activation-v1
- add a new "urgent" border color
- add a new event to river-status-unstable-v1

Co-authored-by: Isaac Freund <ifreund@ifreund.xyz>
2021-08-19 12:58:52 +00:00
novakaneandIsaac Freund 879046ef83 completions: Remove strict in focus-follows-cursor 2021-07-29 17:19:06 +00:00
novakaneandIsaac Freund f56c892958 build: Use pkg-config to handle river protocols 2021-07-28 19:30:50 +00:00
novakaneandIsaac Freund 32d35cdf91 Add -version flag to river, riverctl and rivertile 2021-07-24 14:14:53 +00:00
novakaneandIsaac Freund 22251fa7ed completions: Update for river-layout-v3 2021-07-20 10:48:48 +02:00
novakaneandIsaac Freund 177b99c6e2 README: add a link to the wiki 2021-07-07 13:20:51 +00:00
novakaneandIsaac Freund db35f700a8 completions/zsh: add input commands 2021-06-16 09:54:07 -07:00
novakaneandIsaac Freund 2e7c1dbe6a config: make attach-mode global 2021-06-08 18:26:36 +00:00
novakaneandIsaac Freund 75814eb876 view_stack: update tests for zig 0.8.0 2021-06-08 18:25:43 +00:00
novakneandIsaac Freund 84f5283889 pixman: update and fix PointerConstraint 2021-04-22 10:33:28 +02:00
novakneandIsaac Freund df3e993013 river: fix to work with latest zig-pixman 2021-04-20 13:14:45 +02:00
novakneandIsaac Freund 6d36846cdf README: add repology badge 2021-04-16 14:57:57 +02:00
novakneandIsaac Freund c9a4dde331 completions: add zsh completion for riverctl 2021-03-14 17:31:59 +01:00