Nabos
a0dc360e37
Removed debug print
2022-12-23 09:10:58 +01:00
Nabos
6fe7ca7bc3
Check for screen number
2022-08-05 12:56:00 +02:00
Nabos
b39b51ad58
Added a rearrange workspaces feature
2022-08-03 16:05:38 +02:00
Nabos
90e1e46fb2
Reworked argument parsing
2022-08-03 16:04:56 +02:00
Skia
d57d98697b
Release 1.1.5
2022-05-23 01:22:42 +02:00
Skia
0d19f3f651
Merge branch '4-workaround-missing-focused-field' into 'master'
...
Fix #4 : Add workaround for missing `focused` property in outputs
If there is an inactive input, then the `focused` property may be missing in sway's response to a `get_output` message.
This fix uses a feature of serde where default values for missing fields can be defined.
Here, the `Default::default` for booleans is used, which is `false`.
Closes #4
See merge request hyask/swaysome!1
2022-05-22 23:20:56 +00:00
Daniel Albert
2497f0519f
Fix #4 : Add workaround for missing focused property in outputs
...
If there is an inactive input, then the `focused` property may be missing in sway's response to a `get_output` message.
This fix uses a feature of serde where default values for missing fields can be defined.
Here, the `Default::default` for booleans is used, which is `false`.
2022-05-22 21:15:00 +02:00
Skia
06eb9d29c2
Release 1.1.4
2022-04-12 23:54:44 +02:00
Skia
1e6986558d
Fix underflow in 'prev_output' calculation
2022-04-12 23:53:58 +02:00
Skia
465a4aff84
Fix all cargo clippy reports
2022-04-12 23:53:27 +02:00
Skia
9af265efbe
Use clap's 'crate_version' macro to avoid further mess
2022-04-12 23:33:17 +02:00
Skia
80b791fa2d
Bump dependencies and release 1.1.3
2022-04-11 10:25:33 +02:00
Skia
57272671ed
Always sort lists of objects returned by sway
...
Fixes #2
2021-11-07 00:54:32 +01:00
Skia
aa2a232320
Use more strongly typed JSON for Output and Workspace
2021-11-07 00:53:16 +01:00
Skia
ae9eb161fe
Release 1.1.2
...
New repository, homepage, install instruction, etc...
No code change.
2021-10-16 14:15:14 +02:00
Skia
8054542664
Update README with more up-to-date install instructions
2021-10-16 14:13:33 +02:00
Skia
3609786b7b
Cargo: add some missing metadata
2021-10-16 13:42:03 +02:00
Skia
7be68bd830
Add .gitlab-ci.yml
2021-10-16 13:35:14 +02:00
Skia
6f72380643
Release 1.1.1
...
Fix crash with disabled outputs
2021-10-15 10:21:02 +02:00
Skia
81fb306aec
init: ignore disabled outputs
2021-10-15 10:14:44 +02:00
Skia
780e54abd4
Release 1.1.0
...
Many code improvements, plus add compatibility with sworkstyle.
2021-09-07 17:13:40 +02:00
Skia
ee9750fc57
Use 'workspace number' feature of sway
...
This allows compatibility with e.g. `sworkstyle`, as we don't rely on
workspace names any more.
2021-09-07 17:13:40 +02:00
Skia
25c7a2cc62
cargo fmt
2021-09-07 17:13:40 +02:00
Skia
b9d67f5975
Clean build warnings and improve log output
2021-09-07 17:13:40 +02:00
Skia
21ea0166f7
Factorize to a 'send_command' function
2021-09-07 15:09:55 +02:00
Skia
dc5aff5bd8
Make use of stderr
2021-09-07 15:09:37 +02:00
Skia
7653a4cad2
Use 'clap' for better argument parsing
2021-09-07 14:14:54 +02:00
Skia
7a314d96e5
Add license: MIT
2021-09-06 10:48:00 +02:00
Skia
60fdf90d4d
Bump to release 1.0.0
2021-03-02 18:17:05 +01:00
Skia
f97d610297
README: add exhaustive command list
2021-03-02 18:17:05 +01:00
Skia
dcb5222ee2
Add argument to init, to avoir hardcoded default workspace
2021-03-02 18:08:36 +01:00
Skia
dfee3d9bbb
Add 'focus_all_outputs_to_workspace'
2021-03-02 18:06:10 +01:00
Skia
50ed528df7
Rename 'get_current_output_name' -> 'get_current_output_index'
2021-02-19 11:33:42 +01:00
Skia
6eef6a6a89
Update Cargo.lock
2021-02-19 11:04:56 +01:00
Skia
9200db526a
Don't use well-typed structs anymore
...
This can lead to maintainance problems if `sway` decides to change a
structure by only a field that we don't even use.
This seems to already happen if you have an output declared in your `sway`
configuration that is unplugged.
2021-02-11 11:59:34 +01:00
Skia
e2f59801d0
Allow moving focused container across outputs
2021-01-15 01:15:29 +01:00
Skia
776bf3aaf0
Remove unused 'get_current_workspace_name'
2021-01-15 01:12:26 +01:00
Skia
8a6a727b69
Move 'get_workspaces' to its own function
2021-01-15 01:11:32 +01:00
Skia
84820a07d0
Move 'get_outputs' to a separate function
2021-01-15 01:07:17 +01:00
Skia
38d685b252
Add debugging capabilities to the structs
2021-01-15 01:06:43 +01:00
nabos
c3adaa58ff
Added unbindsym and encourage modularity ( #1 )
...
Avoid repetition
Describing modularity
Added unbindsym to encourage modularity
Co-authored-by: Nabos <nabos@glargh.fr>
Reviewed-on: https://git.hya.sk/skia/swaysome/pulls/1
2021-01-06 16:55:04 +01:00
Skia
b0256ed023
Add README
2021-01-06 11:50:25 +01:00
Skia
efc0fe474f
Add 'init' command
2021-01-06 11:40:27 +01:00
Skia
81d3d6f2d4
Improve a bit error handling
2021-01-06 11:40:00 +01:00
Skia
9b8a86dbe3
Make some clean up
2021-01-06 11:39:44 +01:00
Skia
992800800b
First 'working' version
2020-12-26 04:28:06 +01:00
Skia
2a7a77b0ab
Add read_msg
2020-12-26 03:13:37 +01:00
Skia
7ef8a7ccc1
First
2020-12-23 18:29:31 +01:00