Commit graph

87 commits

Author SHA1 Message Date
Yash Karandikar 3fb65e5d89 Run rustfmt 2022-08-02 14:18:19 -05:00
Akshat Deshpande a3a4b21981 keybinds without input-only windows (#13)
Reviewed-on: InfoshockTech/xcrab#13
Co-authored-by: Akshat Deshpande <akshatd18@outlook.com>
Co-committed-by: Akshat Deshpande <akshatd18@outlook.com>
2022-08-01 22:56:09 -05:00
Yash Karandikar b54a52f64b Don't crash if keysym is not processed 2022-07-16 11:14:24 -04:00
Yash Karandikar fbc9058288 Don't crash the WM if there are no windows open 2022-07-11 20:52:40 +05:30
Yash Karandikar 1450af9fd7 Create custom error type 2022-07-11 13:03:45 +05:30
Yash Karandikar 81473de23e Return error if parts is empty 2022-07-11 12:54:44 +05:30
Yash Karandikar b6c76e4d27 Return an actual error instead of just printing 2022-07-11 12:45:18 +05:30
Yash Karandikar c18f76ce4d Send errors back over the stream to xcrab-msg 2022-07-10 20:17:13 +05:30
Yash Karandikar 8b106f6e29 Fix clippy warnings 2022-07-10 17:14:47 +05:30
Yash Karandikar e79a92b157 Use proper error type for FromStr impl 2022-07-10 17:14:32 +05:30
missing 9be02e89cc fix some stuff 2022-07-09 18:13:12 -07:00
Yash Karandikar 35a8078839 Print error message if config parsing fails 2022-07-06 22:09:38 +05:30
Yash Karandikar 296c807c72 Deserialize and eval Action 2022-07-06 21:47:37 +05:30
Yash Karandikar 1e00746636 Create Action type 2022-07-06 20:02:33 +05:30
Yash Karandikar 3836c1168d Fix clippy lints 2022-07-06 18:03:55 +05:30
Yash Karandikar f4836e542f Process keybinds from config 2022-07-06 18:01:43 +05:30
Yash Karandikar f3cb5d70b9 Create Keybind struct and custom Deserialize 2022-07-06 18:01:34 +05:30
Yash Karandikar 1662409c54 Fix clippy lint 2022-07-06 15:57:57 +05:30
Akshat Deshpande 51100f37f7 Merge branch 'master' of ssh://git.karx.xyz:1604/hungl/xcrab 2022-07-06 15:33:40 +05:30
Akshat Deshpande 225fe7fcaf an attempt at event forwarding (not working) 2022-07-06 15:32:36 +05:30
Akshat Deshpande 8c3accec43 slight changes to hopefully make everything work 2022-07-06 09:42:50 +05:30
Akshat Deshpande a0c77a3647 probably io windows done 2022-07-06 09:11:47 +05:30
Akshat Deshpande 92ee92e578 missing please tell me this will work 2022-07-05 23:26:46 +05:30
Yash Karandikar 0712c7c2c5 Merge pull request 'Listen to keyboard events' (#11) from hungl/xcrab:master into master
Reviewed-on: InfoshockTech/xcrab#11
2022-07-04 12:07:40 -05:00
Akshat Deshpande 26b0d88150 i think i did it
hooray (keybinds for close focused client)
2022-07-04 22:30:24 +05:30
missing 33c1cc80b6 make destroying focused client actually work 2022-07-03 11:24:30 -07:00
Yash Karandikar 32c7d7d36d Fall back to a default socket path 2022-07-03 23:23:35 +05:30
Yash Karandikar 0832dacd1b Fix clippy lints 2022-07-03 11:38:33 +05:30
Yash Karandikar 2aac4731dd Use expect() instead of try 2022-07-03 00:03:57 +05:30
missing 4a3b1c169d oops 2022-06-29 12:43:35 -05:00
missing abac766e92 hacky workaround to actually close focused client 2022-06-29 12:39:18 -05:00
missing f7855e4a52 focusing, almost 2022-06-28 21:55:46 -05:00
Yash Karandikar 1d988b7e38 Basic "command" parser 2022-06-28 18:15:37 +05:30
Yash Karandikar d1e153eac7 Refactor to use select! and channels 2022-06-28 18:04:50 +05:30
Yash Karandikar 1ef0d9d0de ok please stop 2022-06-28 12:30:12 +05:30
delta 959b9ccb94 Remove empty features table 2022-06-27 13:45:04 -05:00
missing 323efae4d2 a 2022-06-27 13:31:30 -05:00
gallant 895bb423f7 minor corrections 2022-06-27 13:14:39 -05:00
missing cc87ae4a32 remove_focused_client 2022-06-27 11:48:30 -05:00
missing 947a051b48 try to not crash when windows are deleted 2022-06-27 11:43:31 -05:00
missing b38087f2eb seperate outer and inner gap 2022-06-27 11:30:15 -05:00
missing fba9a6a5bd xsetroot -solid #555555 2022-06-27 11:11:12 -05:00
missing 9ad8296732 focused border color 2022-06-27 10:45:22 -05:00
missing 6407d4ec0e "immediate" tiling 2022-06-27 10:24:49 -05:00
Yash Karandikar b1c7104155 Add license text to source files 2022-06-27 13:13:22 +05:30
Yash Karandikar 63364617b0 Remove old sockets before attemting to bind 2022-06-27 12:08:44 +05:30
Yash Karandikar 597759ae9e Send message over command line 2022-06-27 12:03:06 +05:30
Yash Karandikar 400c1cf004 Now we can read messages from the socket 2022-06-27 11:50:10 +05:30
Yash Karandikar 020980faef Now we can write to the socket 2022-06-27 11:31:43 +05:30
Yash Karandikar 15812e17bf Create separate executable 2022-06-27 11:23:40 +05:30